Skip to content

Commit

Permalink
Do not lint node_modules (prebid#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 and Chris Pabst committed Jan 10, 2022
1 parent b10139c commit ca6a9c3
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 ca6a9c3

Please sign in to comment.