Run ESLint at the top level once (#1202)

This significantly speeds up `yarn lint` for me. It also ensures we’re
listing all source files in the project, including the `.eslintrc` files
and any other files that may be present.
This commit is contained in:
Jed Fox
2023-06-26 15:32:56 -04:00
committed by GitHub
parent ea4a68e06c
commit ed50e2b392
20 changed files with 52 additions and 54 deletions

View File

@@ -33,7 +33,7 @@
"e2e": "yarn workspaces foreach --parallel --verbose run e2e",
"rebuild-electron": "./node_modules/.bin/electron-rebuild -f -m ./packages/loot-core",
"rebuild-node": "yarn workspace loot-core rebuild",
"lint": "cross-env NODE_ENV=development yarn workspaces foreach --verbose run lint --max-warnings 0",
"lint": "eslint . --max-warnings 0",
"typecheck": "yarn tsc",
"postinstall": "patch-package"
},