fix(eslint): move fixture ignore from package.json flag to eslint.config.js ignores array
Replace the --ignore-pattern CLI flag with an entry in the ignores array in eslint.config.js where ESLint's flat config manages all ignore rules. Add inline comment explaining that $lib/paraglide and $lib/generated are intentionally omitted from the boundaries/elements list and treated as external. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
||||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
||||
"format": "prettier --write .",
|
||||
"lint": "prettier --check . && eslint . --ignore-pattern 'src/lib/**/__fixtures__/**'",
|
||||
"lint": "prettier --check . && eslint .",
|
||||
"lint:boundary-demo": "eslint src/lib/tag/__fixtures__/",
|
||||
"test:unit": "vitest",
|
||||
"test": "npm run test:unit -- --run",
|
||||
|
||||
Reference in New Issue
Block a user