summaryrefslogtreecommitdiff
path: root/tools/lint.js
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-03-13 22:37:56 -0400
committerGitHub <noreply@github.com>2024-03-13 22:37:56 -0400
commitbc782cee98096d2562d87c7a0b15051b6d0d6628 (patch)
tree34895fe5b4006d894bfd0d61d9d5bb91e3ededc4 /tools/lint.js
parent6f5a86ce5166440980a9100db5051452e9734fa6 (diff)
fix(node): resolve types via package.json for directory import (#22878)
Does a package resolve when resolving types for a directory (copying the behaviour that typescript does).
Diffstat (limited to 'tools/lint.js')
-rwxr-xr-xtools/lint.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/lint.js b/tools/lint.js
index 6cda0cef0..f48f3e850 100755
--- a/tools/lint.js
+++ b/tools/lint.js
@@ -50,6 +50,8 @@ async function dlint() {
":!:cli/bench/testdata/react-dom.js",
":!:cli/compilers/wasm_wrap.js",
":!:cli/tsc/dts/**",
+ ":!:target/**",
+ ":!:tests/specs/**",
":!:tests/testdata/encoding/**",
":!:tests/testdata/error_syntax.js",
":!:tests/testdata/file_extensions/ts_with_js_extension.js",