build: lint the npm folder (#26085)

This commit is contained in:
David Sanders 2020-10-21 15:43:52 -07:00 committed by GitHub
parent 22cb3cd18b
commit 2aa5a1f494
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 51 additions and 51 deletions

View file

@ -93,7 +93,7 @@ const LINTERS = [{
}
}, {
key: 'javascript',
roots: ['lib', 'spec', 'spec-main', 'script', 'default_app', 'build'],
roots: ['build', 'default_app', 'lib', 'npm', 'script', 'spec', 'spec-main'],
ignoreRoots: ['spec/node_modules', 'spec-main/node_modules'],
test: filename => filename.endsWith('.js') || filename.endsWith('.ts'),
run: (opts, filenames) => {