build: run the JS linter on the build folder (#24513)

This commit is contained in:
Samuel Attard 2020-07-10 14:48:50 -07:00 committed by GitHub
parent e18f508e66
commit cbb47570bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 60 additions and 60 deletions

View file

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