mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Lint entire atom folder
This commit is contained in:
@@ -19,7 +19,7 @@ def main():
|
||||
settings = ['--quiet', '--config']
|
||||
|
||||
sourceConfig = os.path.join('script', 'eslintrc-base.json')
|
||||
sourceFiles = glob.glob('atom/**/*.js')
|
||||
sourceFiles = ['atom']
|
||||
execute([eslint] + settings + [sourceConfig] + sourceFiles)
|
||||
|
||||
specConfig = os.path.join('script', 'eslintrc-spec.json')
|
||||
|
||||
Reference in New Issue
Block a user