Sebastian Poxhofer
c32e2391a0
refactor(linters): add prefer-coerce-object rule ( #45493 )
...
Refs #45216
The object counterpart to `prefer-coerce-array`: `x ?? {}` becomes
`coerceObject(x)`. The rule flags a `??` whose default is a bare `{}`
literal, so a populated default or an asserted `({} as Foo)` still
passes; a `x ?? y ?? {}` chain maps onto `coerceObject(x, y)`.
Every hit across `lib/` converted cleanly, so no disable comments were
needed.
2026-08-28 09:27:59 +00:00
Sebastian Poxhofer
9717259ffc
refactor(oxlint): enable no-else-return and unicorn/no-lonely-if ( #44553 )
...
Enable no-else-return (with allowElseIf: false) and unicorn/no-lonely-if
as errors in .oxlintrc.json and fix all 131 pre-existing violations
(91 no-else-return, 40 unicorn/no-lonely-if) across 98 files.
The no-else-return violations were fixed with the oxlint autofix
(iterated to a fixpoint, plus two else-if chains that required
--fix-dangerously) followed by Prettier formatting. One comment dropped
by the autofix in lib/modules/manager/pub/artifacts.ts was restored
manually. The unicorn/no-lonely-if violations were merged by hand,
preserving comments and coverage-ignore hints.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com >
2026-07-14 12:11:21 +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
RahulGautamSingh
76f911041a
refactor: use named exports ( #39196 )
...
* use named exports
* fix test
* add missing imnport
* fix prettier
2025-11-10 12:00:35 +00:00
Ole Kristian Sandum
6fee0a148b
feat(manager/cargo): support git dependencies ( #36444 )
...
Co-authored-by: Mathieu Kniewallner <mathieu.kniewallner@gmail.com >
Co-authored-by: Michael Kriese <michael.kriese@gmx.de >
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com >
2025-09-12 12:50:35 +00:00
Michael Kriese
3211d56e21
refactor(zod): rename schema to match our best practices guide ( #37499 )
2025-08-14 10:35:03 +00:00
RahulGautamSingh
49fa1be464
feat(util): getEnv ( #35161 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2025-05-06 18:37:28 +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
RahulGautamSingh
0d23707604
refactor(logger): remove templating from WARN log messages ( #33488 )
2025-01-14 13:03:05 +00:00
Michael Kriese
6de13229b5
feat(manager/cargo): support reading package version from workspace (local only) ( #32533 )
2024-11-14 09:54:13 +00:00
Mathieu Kniewallner
fc697a36d9
refactor(manager/cargo): use zod to parse manifest/config ( #31260 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2024-10-29 06:19:33 +00:00
thian002
3374bd1ce1
feat(manager/cargo): Changes to support cargo repository source replacement ( #28759 )
2024-05-01 04:39:16 +00:00
cyanic-selkie
775b018409
feat(manager/cargo): add support for bumpVersion option ( #26884 )
...
Signed-off-by: cyanic-selkie <cyanic-selkie@protonmail.com >
2024-01-29 09:00:54 +00:00
rami3l
40721cd0a8
feat(cargo): support range=update-lockfile ( #25983 )
...
Co-authored-by: Simon Žlender <pub.git@zlender.si >
Co-authored-by: Simon Žlender <szlend@users.noreply.github.com >
Co-authored-by: Rhys Arkins <rhys@arkins.net >
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2023-12-05 16:25:31 +00:00
Sergei Zharinov
b69416ce17
refactor(prettier): Force trailing commas ( #25631 )
2023-11-07 15:50:29 +00:00
Sergei Zharinov
d82ff3659f
fix: Use toml-eslint-parser instead of @iarna/toml ( #25594 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2023-11-06 15:34:52 +00:00
Dylan Owen
151435acfd
feat(manager/cargo): support for cargo repository source replacement ( #23956 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2023-08-25 09:41:15 +00:00
Michael Kriese
497d4c131f
fix(manager): unify logging ( #22398 )
...
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com >
2023-05-25 16:53:05 +00:00
Tom Fay
2a72f85cc2
feat(manager/cargo): support private registry index env var ( #20379 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net >
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com >
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com >
2023-04-18 08:49:24 +00:00
Rhys Arkins
3cef2f2e4f
refactor: PackageFile -> PackageFileContent ( #20502 )
2023-02-19 12:43:48 +00:00
Kasper Juul Hermansen
eecccfa485
feat: handle workspace.dependencies in cargo ( #18831 )
2022-12-09 06:11:32 +01:00
RahulGautamSingh
0151b6a4a9
refactor: reduce debug metadata ( #18466 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2022-10-29 12:11:09 +00:00
Rhys Arkins
143c9a6751
refactor: rename lookupName -> packageName ( #14494 )
...
Renames `lookupName` to be `packageName`.
BREAKING CHANGE: Use `packageName` instead of `lookupName` if interacting with Renovate datasources directly.
2022-03-04 09:04:02 +01:00
Rhys Arkins
dca3418bbd
refactor: lib/modules ( #14488 )
...
Moves datasource, manager, platform and versioning code from lib/ into new lib/modules/
BREAKING CHANGE: External tools must update paths to datasource, manager, platform and versioning
2022-03-04 09:04:02 +01:00