Skip to content

Commit fde167e

Browse files
feat: add ESlint rule no-sparse-arrays for config check
1 parent b09a27a commit fde167e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ planned for 2026-01-01
1919

2020
### Fixed
2121

22+
- feat: add ESlint rule `no-sparse-arrays` for config check to fix #3910 (#3911)
23+
2224
### Updated
2325

2426
- [core] Update dependencies (#3909)

js/check_config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,10 @@ function checkConfigFile () {
5858
...globals.node
5959
}
6060
},
61-
rules: { "no-undef": "error" }
61+
rules: {
62+
"no-sparse-arrays": "error",
63+
"no-undef": "error"
64+
}
6265
},
6366
configFileName
6467
);

0 commit comments

Comments
 (0)