Skip to content

Commit b9b83cf

Browse files
committed
Update linter configurations to ignore dist directory
- Add dist directory to oxlint ignore patterns in .oxlintrc.json - Add dist directory to biome ignore patterns in biome.json - Add explicit dist directory ignore rule to eslint.config.mjs - Remove obsolete .oxlintignore file (patterns moved to .oxlintrc.json)
1 parent 3309d8d commit b9b83cf

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.oxlintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"$schema": "./node_modules/oxlint/configuration_schema.json",
33
"plugins": ["import", "promise", "typescript", "unicorn"],
4+
"ignorePatterns": ["**/dist/**"],
45
"categories": {
56
"correctness": "warn",
67
"perf": "warn",

biome.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"!**/.husky",
1313
"!**/.vscode",
1414
"!**/coverage",
15+
"!**/dist",
1516
"!**/package.json",
1617
"!**/pnpm-lock.yaml"
1718
]

eslint.config.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ export default [
4545
includeIgnoreFile(gitignorePath),
4646
biomeIgnores,
4747
gitIgnores,
48+
{
49+
name: 'Ignore dist directory',
50+
ignores: ['**/dist/**'],
51+
},
4852
{
4953
...js.configs.recommended,
5054
...importXFlatConfigs.recommended,

0 commit comments

Comments
 (0)