fix(core): Add lint check for core (#17223)

The prefer-primordials lint was skipped for `core/*.js`.
This commit is contained in:
Kenta Moriuchi 2023-01-26 20:26:42 +09:00 committed by GitHub
parent 87c2493855
commit 7b6339da6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 27 additions and 12 deletions

View file

@ -89,7 +89,8 @@ async function dlintPreferPrimordials() {
const sourceFiles = await getSources(ROOT_PATH, [
"runtime/**/*.js",
"ext/**/*.js",
"core/**/*.js",
"core/*.js",
":!:core/*_test.js",
":!:core/examples/**",
]);