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-07 17:47:04 +00:00
2026-07-14 12:11:21 +00:00
2026-07-07 17:47:04 +00:00
2026-07-14 12:11:21 +00:00
2026-07-14 12:57:23 +00:00
2026-07-14 12:33:42 +00:00
2026-05-15 17:10:38 +00:00
2026-06-03 15:58:20 +00:00
2026-06-19 10:34:03 +00:00
2026-07-07 17:47:04 +00:00
2026-07-07 17:47:04 +00:00
2026-05-14 06:05:17 +00:00
2026-01-26 22:48:17 +00:00
2025-11-10 12:00:35 +00:00
2026-01-26 22:48:17 +00:00
2025-11-10 12:00:35 +00:00
2026-04-27 12:33:07 +00:00
2026-01-26 22:48:17 +00:00
2026-07-14 12:28:52 +00:00
2026-01-26 22:48:17 +00:00
2026-01-26 22:48:17 +00:00
2023-11-07 15:50:29 +00:00
2026-07-07 17:47:04 +00:00
2026-07-14 12:11:21 +00:00
2026-06-15 06:50:29 +00:00
2026-06-15 06:50:29 +00:00
2026-01-26 22:48:17 +00:00
2026-01-23 07:49:14 +00:00
2026-01-26 22:48:17 +00:00
2026-06-02 12:07:35 +00:00
2026-01-26 22:48:17 +00:00
2026-01-26 22:48:17 +00:00
2026-01-26 22:48:17 +00:00
2025-11-10 12:00:35 +00:00
2026-06-01 09:03:25 +00:00
2026-06-01 09:03:25 +00:00
2026-05-29 06:55:58 +00:00
2026-05-29 06:55:58 +00:00
2026-07-07 17:47:04 +00:00
2026-01-26 22:48:17 +00:00
2026-01-26 22:48:17 +00:00
2026-01-26 22:48:17 +00:00
2026-01-26 22:48:17 +00:00
2026-05-19 13:31:27 +00:00
2026-01-26 22:48:17 +00:00
2026-01-26 22:48:17 +00:00
2026-03-11 10:38:51 +00:00
2026-03-11 10:38:51 +00:00
2026-07-07 17:47:04 +00:00
2026-01-27 11:16:26 +00:00
2026-05-19 09:52:28 +00:00
2026-01-26 22:48:17 +00:00
2026-01-26 22:48:17 +00:00
2026-05-29 06:55:58 +00:00
2026-01-26 22:48:17 +00:00
2022-05-01 06:00:55 +02:00
2026-01-26 22:48:17 +00:00
2024-08-19 13:15:27 +00:00
2026-01-26 22:48:17 +00:00
2026-04-07 15:36:16 +00:00
2026-02-17 20:27:11 +00:00
2026-01-26 22:48:17 +00:00
2026-02-28 11:23:25 +00:00
2026-01-26 22:48:17 +00:00
2023-11-07 15:50:29 +00:00
2026-01-26 22:48:17 +00:00
2026-01-26 22:48:17 +00:00
2026-01-26 22:48:17 +00:00
2026-01-26 22:48:17 +00:00
2026-01-26 22:48:17 +00:00
2023-11-07 15:50:29 +00:00
2026-01-29 14:21:41 +00:00
2026-05-19 13:31:27 +00:00
2026-05-30 16:01:58 +00:00
2026-07-14 12:33:42 +00:00
2026-05-13 16:23:10 +00:00
2026-01-26 22:48:17 +00:00
2026-01-26 22:48:17 +00:00
2023-06-27 08:27:19 +00:00
2026-01-26 22:48:17 +00:00
2026-01-26 22:48:17 +00:00
2026-01-26 22:48:17 +00:00
2026-01-26 22:48:17 +00:00
2026-07-11 15:08:11 +00:00
2026-07-11 15:08:11 +00:00
2026-01-26 22:48:17 +00:00
2023-11-07 15:50:29 +00:00
2026-01-26 22:48:17 +00:00
2026-01-26 22:48:17 +00:00
2026-07-14 12:28:52 +00:00
2025-04-14 06:33:33 +00:00
2022-09-04 10:53:20 +00:00
2026-07-14 12:28:52 +00:00
2026-05-30 16:01:58 +00:00
2026-01-26 22:48:17 +00:00
2026-02-18 07:41:32 +00:00
2026-02-25 08:36:16 +00:00
2026-02-25 08:36:16 +00:00
2026-01-26 22:48:17 +00:00
2023-11-07 15:50:29 +00:00
2026-05-13 16:23:10 +00:00
2026-07-14 12:11:21 +00:00
2026-07-07 17:47:04 +00:00
2026-05-30 16:01:58 +00:00