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
Sergei Zharinov
e0c9bc1961
refactor(lint): move option-dependent rules from ESLint to oxlint ( #42215 )
...
Migrate rules that previously stayed in ESLint due to option parity
concerns. oxlint now supports all needed options:
- `no-restricted-imports` (paths: nock, parse-link-header, path)
- `consistent-type-assertions` (objectLiteralTypeAssertions: allow)
- `explicit-function-return-type` (allowExpressions, allowTypedFunctionExpressions)
- `no-unused-vars` (args: none, ignoreRestSiblings)
- `no-empty-object-type` (allowInterfaces: with-single-extends)
Convert eslint-disable comments to oxlint-disable for the allowed
import sites (url.ts wrapper, http-mock.ts test helper).
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2026-03-30 16:45:02 +00:00
Sergei Zharinov
9d857c1f68
refactor(lint): Organize imports with biome ( #40966 )
2026-02-06 13:40:01 +00:00
Sergei Zharinov
930cf6633c
refactor: Rewrite imports with .ts extensions ( #40700 )
...
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00
Michael Kriese
593a92655e
feat: refactor http ( #34550 )
2025-02-28 14:40:04 +00:00
renovate[bot]
0299455412
chore(deps): update dependency nock to v14 (main) ( #34557 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2025-02-28 14:20:08 +00:00
Michael Kriese
997c23502e
test: migrate to vitest ( #34475 )
...
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com >
2025-02-26 09:35:54 +00:00
renovate[bot]
55845508b6
chore(deps): update eslint monorepo to v9 (major) ( #33573 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2025-02-20 11:31:13 +00:00
Sergei Zharinov
2a1a9fb06a
test: Fix test file content load for mocked fs-extra ( #31687 )
2024-09-30 09:17:39 +00:00
Sergei Zharinov
4b97cefb7e
test: Improve errors for missing/unused HTTP mocks ( #31678 )
2024-09-30 05:26:53 +00:00
renovate[bot]
eb8c08079e
chore(deps): update typescript-eslint monorepo to v8 (major) ( #30750 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2024-08-14 10:33:02 +00:00
Sergei Zharinov
b69416ce17
refactor(prettier): Force trailing commas ( #25631 )
2023-11-07 15:50:29 +00:00
Jamie Magee
176282e65f
chore: use node: protocol imports ( #21181 )
2023-03-28 21:05:36 +00:00
Michael Kriese
fd00fd53ef
fix(datasource:docker): wrong scope for ghcr.io ( #15686 )
2022-05-23 10:45:22 +02:00
Tobias Bieniek
65b6697a7b
feat(datasource/crate): fetch crate metadata from crates.io ( #15214 )
...
* feat(datasource/crate): fetch crate metadata from crates.io
* refactor(datasource/crate): simplify `mockCratesApiCallFor()` function
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2022-04-21 09:12:16 +00:00
Michael Kriese
5cf9123017
refactor: more strict null checks ( #15140 )
2022-04-16 06:32:17 +00:00
Jamie Magee
3b7e9a17cb
refactor: set importsNotUsedAsValues to error ( #14052 )
2022-02-07 06:37:17 +00:00
Michael Kriese
394f0bb741
test: fix http mocks ( #11191 )
2021-08-09 19:37:28 +02:00
Sergei Zharinov
e1aa548a07
refactor: Use JSON request snapshots when possible ( #10925 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2021-08-06 12:02:37 +00:00
Sergei Zharinov
5c0e293d73
refactor: Precise GraphQL test snapshots ( #10916 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2021-07-21 21:50:13 +02:00
Michael Kriese
5546d60e18
test: fix nock usage ( #10451 )
2021-06-16 09:13:33 +02:00
Michael Kriese
3c7546f7cd
test: simplify nock handling ( #10170 )
2021-05-27 14:13:31 +02:00
Rhys Arkins
eb8f895f2e
refactor: eslint no-negated-condition ( #8973 )
2021-03-04 06:21:55 +01:00
Rhys Arkins
00a08225b9
refactor: use ls-lint ( #7956 )
2020-12-11 13:29:43 +01:00