mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 02:31:07 +08:00
Merge pull request #17545 from storybookjs/17542-turn-on-eslint
Build: Give linting sub-commands a directory to run against
This commit is contained in:
commit
7c87145792
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user