summaryrefslogtreecommitdiff
path: root/tools/lint.py
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-01-30 03:16:48 +0100
committerGitHub <noreply@github.com>2020-01-29 21:16:48 -0500
commit73a3cc21d0e7ceec1275078db125f57ce97725fb (patch)
tree17d845d5d125d3ba8ecefa49e57e02e9c088c68b /tools/lint.py
parentf0a6062012c4e09553877c9feedb3fbc3d4625b9 (diff)
feat: dprint formatter (#3820)
* rewrite fmt_test in Rust, remove tools/fmt_test.py * remove //std/prettier
Diffstat (limited to 'tools/lint.py')
-rwxr-xr-xtools/lint.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lint.py b/tools/lint.py
index 8d2eaed1e..3ce4d7b02 100755
--- a/tools/lint.py
+++ b/tools/lint.py
@@ -22,8 +22,8 @@ def eslint():
"eslint")
# Find all *directories* in the main repo that contain .ts/.js files.
source_files = git_ls_files(root_path, [
- "*.js", "*.ts", ":!:std/prettier/vendor/*", ":!:std/**/testdata/*",
- ":!:std/**/node_modules/*", ":!:cli/compilers/*"
+ "*.js", "*.ts", ":!:std/**/testdata/*", ":!:std/**/node_modules/*",
+ ":!:cli/compilers/*"
])
source_dirs = set([os.path.dirname(f) for f in source_files])
# Within the source dirs, eslint does its own globbing, taking into account