Lint entire atom folder
This commit is contained in:
Родитель
2869869a99
Коммит
da120d8874
|
@ -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')
|
||||||
|
|
Загрузка…
Ссылка в новой задаче