Commit 5559b54
fix(lint): use Number.parseInt and Array.from per oxlint rules
Replace global `parseInt` with `Number.parseInt` and `new Array(n)` with
`Array.from({ length: n })` to pass the unicorn lint rules.
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>1 parent b6c8104 commit 5559b54
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
312 | | - | |
| 311 | + | |
| 312 | + | |
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| |||
0 commit comments