mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
build: run the JS linter on the build folder (#24513)
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user