Sebastian Poxhofer
64e6a4c71f
refactor(oxlint): enable unicorn/prefer-at ( #44556 )
...
Enable the unicorn/prefer-at rule as error in .oxlintrc.json and fix all
43 pre-existing violations (arr[arr.length - 1] -> arr.at(-1)) via oxlint
autofix. Where .at() widened the type to T | undefined, non-null
assertions were added at sites where surrounding logic guarantees the
element exists (length guards, split results), preserving the original
runtime behavior and typing.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com >
2026-07-14 12:57:23 +00:00
..
2026-07-14 12:11:21 +00:00
2026-01-26 22:48:17 +00:00
2026-01-26 22:48:17 +00:00
2026-06-15 06:30:54 +00:00
2026-07-07 17:47:04 +00:00
2026-06-15 06:30:54 +00:00
2026-07-14 12:57:23 +00:00
2026-07-14 12:57:23 +00:00
2026-07-14 12:57:23 +00:00
2026-06-15 06:30:54 +00:00
2026-07-03 06:28:13 +00:00
2026-06-15 06:30:54 +00:00
2026-01-26 22:48:17 +00:00
2026-06-15 06:30:54 +00:00
2026-06-15 06:30:54 +00:00
2026-01-26 22:48:17 +00:00
2026-06-15 06:30:54 +00:00
2026-07-13 00:32:05 +00:00
2026-02-28 11:23:25 +00:00
2026-06-15 06:30:54 +00:00
2026-07-14 12:11:21 +00:00
2026-07-14 12:28:52 +00:00
2026-06-15 06:30:54 +00:00
2026-07-14 12:11:21 +00:00
2026-06-15 06:30:54 +00:00
2026-07-14 12:57:23 +00:00
2026-06-15 06:30:54 +00:00
2026-01-26 22:48:17 +00:00
2026-01-26 22:48:17 +00:00
2026-07-14 12:57:23 +00:00
2026-06-15 06:30:54 +00:00
2026-06-29 08:15:30 +00:00
2026-07-14 12:57:23 +00:00
2026-07-14 12:28:52 +00:00
2026-07-07 10:28:20 +00:00
2026-07-14 12:57:23 +00:00
2026-06-15 06:30:54 +00:00
2026-07-14 12:57:23 +00:00
2026-07-14 12:11:21 +00:00
2026-01-26 22:48:17 +00:00
2026-02-28 11:23:25 +00:00
2026-07-07 17:47:04 +00:00
2026-06-15 06:30:54 +00:00
2026-07-14 12:28:52 +00:00
2026-07-14 12:57:23 +00:00
2026-07-14 12:57:23 +00:00
2026-06-02 13:29:48 +00:00
2026-06-18 08:50:43 +00:00
2026-06-15 06:30:54 +00:00
2026-06-15 06:30:54 +00:00
2026-06-15 06:30:54 +00:00
2026-06-15 06:30:54 +00:00
2026-06-15 06:30:54 +00:00
2026-06-15 06:30:54 +00:00
2026-07-07 10:28:20 +00:00
2026-06-15 06:30:54 +00:00
2026-01-26 22:48:17 +00:00
2026-01-26 22:48:17 +00:00
2026-02-28 11:23:25 +00:00
2026-02-18 08:41:34 +00:00
2026-06-02 12:07:35 +00:00
2026-03-09 12:51:12 +00:00
2026-01-26 22:48:17 +00:00
2026-05-30 16:01:58 +00:00
2026-04-21 08:55:41 +00:00
2026-06-15 06:30:54 +00:00