Skip to content

Commit 8163a23

Browse files
authored
Do not lint node_modules (#7689)
Running npm ci with npm 8.x installs dependencies in plugins/eslint/node_modules, which chokes the linter.
1 parent bd6f395 commit 8163a23

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gulpfile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ function lint(done) {
7676
'modules/**/*.js',
7777
'test/**/*.js',
7878
'plugins/**/*.js',
79+
'!plugins/**/node_modules/**',
7980
'./*.js'
8081
], { base: './' })
8182
.pipe(gulpif(argv.nolintfix, eslint(), eslint({ fix: true })))

0 commit comments

Comments
 (0)