diff options
author | Kenta Moriuchi <moriken@kimamass.com> | 2024-01-08 07:20:02 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-07 23:20:02 +0100 |
commit | c2c115ebd8e29122ea0a1aaf041871189917e196 (patch) | |
tree | 0dfa8f71a6a9568bf52b56a4a3b55b667daecf44 /tools/lint.js | |
parent | a731647a5198905d439021737eaa8207ca9f7498 (diff) |
fix(ext): enable prefer-primordials for internal TypeScript (#21813)
Enabled prefer-primordials lint for ext/cron and ext/kv.
Diffstat (limited to 'tools/lint.js')
-rwxr-xr-x | tools/lint.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/lint.js b/tools/lint.js index 735da872e..ed2a04eee 100755 --- a/tools/lint.js +++ b/tools/lint.js @@ -96,13 +96,11 @@ async function dlintPreferPrimordials() { const execPath = await getPrebuilt("dlint"); const sourceFiles = await getSources(ROOT_PATH, [ "runtime/**/*.js", + "runtime/**/*.ts", "ext/**/*.js", + "ext/**/*.ts", + ":!:ext/**/*.d.ts", "ext/node/polyfills/*.mjs", - "ext/node/polyfills/*.ts", - ":!:ext/node/polyfills/*.d.ts", - "core/*.js", - ":!:core/*_test.js", - ":!:core/examples/**", ]); if (!sourceFiles.length) { |