Update eslint and restore `.eslintrc.cli.json` being used for CLI/CI-based linting (#81553)
This will allow us (again) to selectively use type-checked rules internally, as stipulated in #67689. In a follow-up, we'll likely add https://typescript-eslint.io/rules/switch-exhaustiveness-check/ as a first type-checked rule.
Showing
| ... | ... | @@ -41,7 +41,7 @@ |
| "git-clean": "git clean -d -x -e node_modules -e packages -f", | ||
| "typescript": "tsc --noEmit", | ||
| "lint-typescript": "turbo run typescript", | ||
| "lint-eslint": "cross-env ESLINT_USE_FLAT_CONFIG=false eslint . --ext js,jsx,mjs,ts,tsx,mts,mdx --config .eslintrc.json --no-eslintrc", | ||
| "lint-eslint": "cross-env ESLINT_USE_FLAT_CONFIG=false eslint . --ext js,jsx,mjs,ts,tsx,mts,mdx --config .eslintrc.cli.json --no-eslintrc", | ||
| "lint-ast-grep": "ast-grep scan", | ||
| "lint-no-typescript": "run-p prettier-check lint-eslint lint-language", | ||
| "types-and-precompiled": "run-p lint-typescript check-compiler-fixtures types:test-lib && pnpm check-precompiled", | ||
| ... | ... | @@ -142,8 +142,8 @@ |
| "@types/relay-runtime": "14.1.13", | ||
| "@types/string-hash": "1.1.1", | ||
| "@types/trusted-types": "2.0.3", | ||
| "@typescript-eslint/eslint-plugin": "8.0.0", | ||
| "@typescript-eslint/parser": "8.0.0", | ||
| "@typescript-eslint/eslint-plugin": "^8.36.0", | ||
| "@typescript-eslint/parser": "^8.36.0", | ||
| "@vercel/devlow-bench": "workspace:*", | ||
| "@vercel/fetch": "6.1.1", | ||
| "@vercel/og": "0.7.2", | ||
| ... | ... |
Please
register
or
sign in
to comment