chore(ext/node): disable prefer-primordials on a per-file basis (#19553)

This commit is contained in:
Kenta Moriuchi 2023-06-27 15:18:22 +09:00 committed by GitHub
parent 814edcdd57
commit e16b74d792
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
162 changed files with 539 additions and 12 deletions

View file

@ -96,11 +96,9 @@ 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",
":!:ext/node/polyfills/_brotli.js",
"ext/node/polyfills/*.mjs",
"ext/node/polyfills/*.ts",
":!:ext/node/polyfills/*.d.ts",
"core/*.js",
":!:core/*_test.js",
":!:core/examples/**",