Skip to content

Commit

Permalink
Merge pull request #17545 from storybookjs/17542-turn-on-eslint
Browse files Browse the repository at this point in the history
Build: Give linting sub-commands a directory to run against
  • Loading branch information
shilman committed Mar 7, 2022
2 parents aaeaa69 + 7b03831 commit 7c87145
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -62,9 +62,9 @@
"generate-repros": "zx scripts/repros-generator/index.mjs",
"github-release": "github-release-from-changelog",
"linear-export": "ts-node --project=./scripts/tsconfig.json ./scripts/linear-export.ts",
"lint": "yarn lint:js . && yarn lint:md .",
"lint:js": "cross-env NODE_ENV=production eslint --cache --cache-location=.cache/eslint --ext .js,.jsx,.json,.html,.ts,.tsx,.mjs --report-unused-disable-directives",
"lint:md": "remark -q",
"lint": "yarn lint:js && yarn lint:md",
"lint:js": "cross-env NODE_ENV=production eslint . --cache --cache-location=.cache/eslint --ext .js,.jsx,.json,.html,.ts,.tsx,.mjs --report-unused-disable-directives",
"lint:md": "remark -q .",
"lint:package": "sort-package-json",
"local-registry": "ts-node --project=./scripts/tsconfig.json ./scripts/run-registry.ts ",
"publish:debug": "npm run publish:latest -- --npm-tag=debug --no-push",
Expand Down

0 comments on commit 7c87145

Please sign in to comment.