Commit d2abc6a
committed
fix(_tools/lint/namespace-aliases): replace
The `lint_random_files` scheduled job (`Lint JavaScript files`) failed
at 2026-05-17 00:32 UTC when `resolve.js` was selected for linting.
Root cause: `out = new Array( len )` at line 53 violates the
`stdlib/no-new-array` ESLint rule. All indices 0..len-1 are set
explicitly in the synchronous for-loop before any async callback runs,
so replacing the constructor call with an empty array literal `[]` is
functionally equivalent. This commit makes that substitution.
Ref: https://github.com/stdlib-js/stdlib/actions/runs/25976689223new Array() with []
1 parent 253d30f commit d2abc6a
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
0 commit comments