mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
chore: lint spec-main (#20835)
This commit is contained in:
@@ -95,8 +95,8 @@ const LINTERS = [ {
|
||||
}
|
||||
}, {
|
||||
key: 'javascript',
|
||||
roots: ['lib', 'spec', 'script', 'default_app'],
|
||||
ignoreRoots: ['spec/node_modules'],
|
||||
roots: ['lib', 'spec', 'spec-main', 'script', 'default_app'],
|
||||
ignoreRoots: ['spec/node_modules', 'spec-main/node_modules'],
|
||||
test: filename => filename.endsWith('.js') || filename.endsWith('.ts'),
|
||||
run: (opts, filenames) => {
|
||||
const cmd = path.join(SOURCE_ROOT, 'node_modules', '.bin', 'eslint')
|
||||
|
||||
Reference in New Issue
Block a user