feat(std/node) add CommonJS require (#3380)

This commit is contained in:
Kevin (Kun) "Kassimo" Qian 2019-11-18 22:54:20 -08:00 committed by Ry Dahl
parent e6fdb2628f
commit e73a82dc42
13 changed files with 1411 additions and 1 deletions

View file

@ -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