Skip to content

Commit 298f241

Browse files
committed
fix: provide .gitignore to oxlint to avoid linting node_modules installed by npm
Fixes vuejs/create-vue#604
1 parent 2ff7d38 commit 298f241

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export default function createConfig({
6767
},
6868
],
6969
})
70-
pkg.scripts['lint:oxlint'] = 'oxlint . --fix -D correctness'
70+
pkg.scripts['lint:oxlint'] = 'oxlint . --fix -D correctness --ignore-path .gitignore'
7171
pkg.scripts['lint:eslint'] = 'eslint . --fix'
7272
pkg.scripts.lint = 'run-s lint:*'
7373
} else {

0 commit comments

Comments
 (0)