diff options
author | Kenta Moriuchi <moriken@kimamass.com> | 2023-04-03 02:41:41 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-02 19:41:41 +0200 |
commit | 03edd48edd004cec091541e6b71095cfbc4b4c87 (patch) | |
tree | 72aed1dae803334b73479ffebc7ca8c83d10addf /tools/lint.js | |
parent | ad8d0c90d1887beb8a5f2c6d30f9dc71cc63e4fe (diff) |
chore: Turn back on dlintPreferPrimordials (#17715)
Closes #17709
Diffstat (limited to 'tools/lint.js')
-rwxr-xr-x | tools/lint.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/lint.js b/tools/lint.js index f77ddbaf7..bdaa01562 100755 --- a/tools/lint.js +++ b/tools/lint.js @@ -25,8 +25,7 @@ if (Deno.args.includes("--rs")) { if (!didLint) { await Promise.all([ dlint(), - // todo(dsherret): re-enable - // dlintPreferPrimordials(), + dlintPreferPrimordials(), checkCopyright(), clippy(), ]); @@ -96,6 +95,10 @@ async function dlintPreferPrimordials() { const sourceFiles = await getSources(ROOT_PATH, [ "runtime/**/*.js", "ext/**/*.js", + // TODO(petamoriken): enable for node polyfills + // "ext/node/polyfills/*.mjs", + // "ext/node/polyfills/*.ts", + // ":!:ext/node/polyfills/*.d.ts", "core/*.js", ":!:core/*_test.js", ":!:core/examples/**", |