summaryrefslogtreecommitdiff
path: root/tools/lint.py
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-06-09 18:40:08 +0200
committerGitHub <noreply@github.com>2020-06-09 18:40:08 +0200
commit8366f36873bb7311f533e5e49d9ad13581b0b5c1 (patch)
treeee7beb3895d7ec1e3e1bc237627ecfff7c265438 /tools/lint.py
parent1e0808d501cf9adea65e7cacd123ea4fea06a13a (diff)
upgrade: deno_lint v0.1.8 (#6208)
Diffstat (limited to 'tools/lint.py')
-rwxr-xr-xtools/lint.py11
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)