From e73a82dc42b3d80bea42482e227c31e5ef01e273 Mon Sep 17 00:00:00 2001 From: "Kevin (Kun) \"Kassimo\" Qian" Date: Mon, 18 Nov 2019 22:54:20 -0800 Subject: feat(std/node) add CommonJS require (#3380) --- tools/lint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/lint.py') 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 -- cgit v1.2.3