Lint entire atom folder
This commit is contained in:
parent
2869869a99
commit
da120d8874
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ def main():
|
||||||
settings = ['--quiet', '--config']
|
settings = ['--quiet', '--config']
|
||||||
|
|
||||||
sourceConfig = os.path.join('script', 'eslintrc-base.json')
|
sourceConfig = os.path.join('script', 'eslintrc-base.json')
|
||||||
sourceFiles = glob.glob('atom/**/*.js')
|
sourceFiles = ['atom']
|
||||||
execute([eslint] + settings + [sourceConfig] + sourceFiles)
|
execute([eslint] + settings + [sourceConfig] + sourceFiles)
|
||||||
|
|
||||||
specConfig = os.path.join('script', 'eslintrc-spec.json')
|
specConfig = os.path.join('script', 'eslintrc-spec.json')
|
||||||
|
|
Loading…
Reference in a new issue