summaryrefslogtreecommitdiff
path: root/tools/lint.py
diff options
context:
space:
mode:
authorKevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com>2019-11-18 22:54:20 -0800
committerRy Dahl <ry@tinyclouds.org>2019-11-19 01:54:20 -0500
commite73a82dc42b3d80bea42482e227c31e5ef01e273 (patch)
tree5c3f26bc19d4ce6b3e42b2fe48f47e1cccbb29fd /tools/lint.py
parente6fdb2628fdeeae0c7b06c25214b2edba96364dd (diff)
feat(std/node) add CommonJS require (#3380)
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