summaryrefslogtreecommitdiff
path: root/tools/lint.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lint.py')
-rwxr-xr-xtools/lint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lint.py b/tools/lint.py
index f387bc96e..cbef32ad5 100755
--- a/tools/lint.py
+++ b/tools/lint.py
@@ -41,7 +41,7 @@ def 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/*",
- ":!:cli/compilers/*"
+ ":!: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