Run eslint with caching
This reduces the time for subsequent lints significantly. e.g. for `package/frontend`, the first run takes ~10min. With the cache, every subsequent run takes only a few seconds.
This commit is contained in:
parent
3f37db1a13
commit
0a8cb21e9b
9 changed files with 11 additions and 8 deletions
|
|
@ -20,7 +20,7 @@
|
|||
"restart": "pnpm build && pnpm start",
|
||||
"dev": "node ./scripts/dev.mjs",
|
||||
"typecheck": "pnpm --filter megalodon build && tsc --noEmit && tsc -p test --noEmit",
|
||||
"eslint": "eslint --quiet \"src/**/*.ts\"",
|
||||
"eslint": "eslint --quiet \"src/**/*.ts\" --cache",
|
||||
"lint": "pnpm typecheck && pnpm eslint",
|
||||
"jest": "cross-env NODE_ENV=test node --experimental-vm-modules --experimental-import-meta-resolve node_modules/jest/bin/jest.js --forceExit --config jest.config.unit.cjs",
|
||||
"jest:e2e": "cross-env NODE_ENV=test node --experimental-vm-modules --experimental-import-meta-resolve node_modules/jest/bin/jest.js --forceExit --config jest.config.e2e.cjs",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue