Skip to content

Commit

Permalink
Do not lint node_modules (#7689)
Browse files Browse the repository at this point in the history
Running npm ci with npm 8.x installs dependencies in plugins/eslint/node_modules, which chokes the linter.
  • Loading branch information
dgirardi authored Nov 10, 2021
1 parent bd6f395 commit 8163a23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ function lint(done) {
'modules/**/*.js',
'test/**/*.js',
'plugins/**/*.js',
'!plugins/**/node_modules/**',
'./*.js'
], { base: './' })
.pipe(gulpif(argv.nolintfix, eslint(), eslint({ fix: true })))
Expand Down

0 comments on commit 8163a23

Please sign in to comment.