diff options
Diffstat (limited to 'tools/lint.py')
-rwxr-xr-x | tools/lint.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/lint.py b/tools/lint.py index 0e71fa946..0ff0b16d7 100755 --- a/tools/lint.py +++ b/tools/lint.py @@ -61,9 +61,14 @@ def eslint(): "eslint") # Find all *directories* in the main repo that contain .ts/.js files. source_files = get_sources(root_path, [ - "*.js", "*.ts", ":!:cli/tests/swc_syntax_error.ts", - ":!:std/**/testdata/*", ":!:std/**/node_modules/*", - ":!:cli/compilers/wasm_wrap.js", ":!:cli/tests/error_syntax.js" + "*.js", + "*.ts", + ":!:cli/tests/swc_syntax_error.ts", + ":!:std/**/testdata/*", + ":!:std/**/node_modules/*", + ":!:cli/compilers/wasm_wrap.js", + ":!:cli/tests/error_syntax.js", + ":!:cli/tests/lint/**", ]) if source_files: print_command("eslint", source_files) |