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
Johannes Feichtner
4dbfc7a53c
feat(manager/gradle): add support for implicit version catalog accessor syntax ( #42746 )
...
* feat(manager/gradle): add support for implicit version catalog accessor syntax
* fix coverage in else branches
2026-04-20 12:58:25 +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
Johannes Feichtner
5d4ae538d8
fix(gradle): include registryType and content during registry deduplication ( #36071 )
2025-05-22 03:24:42 +00:00
Johannes Feichtner
4137244b4e
feat(gradle): add support for exclusiveContent() repository definitions ( #35421 )
2025-04-17 13:44:30 +00:00
renovate[bot]
fffd986fa7
chore(deps): update linters (main) ( #35113 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2025-04-02 14:28:27 +00:00
Johannes Feichtner
aae045edf5
feat(gradle): add support for gradle repository content descriptors ( #33692 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2025-02-04 17:16:51 +00:00
Sergei Zharinov
b69416ce17
refactor(prettier): Force trailing commas ( #25631 )
2023-11-07 15:50:29 +00:00
Rhys Arkins
36e2b328bb
chore: update types reference
2023-08-15 11:31:15 +02: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
Johannes Feichtner
eec46d1880
feat(gradle/manager): add support for Kotlin objects in buildSrc files ( #21892 )
2023-05-10 19:36:05 +00:00
Johannes Feichtner
1fc7a05b08
refactor(manager/gradle): split extractAllPackageFiles into multiple sub-methods ( #21429 )
2023-04-12 06:12:55 +00:00
Rhys Arkins
cc33d34ca8
refactor: PackageFile types ( #20498 )
...
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com >
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2023-02-20 14:58:49 +00:00
Rhys Arkins
3cef2f2e4f
refactor: PackageFile -> PackageFileContent ( #20502 )
2023-02-19 12:43:48 +00:00
Johannes Feichtner
bfc38bf732
feat(manager/gradle): replace individual value matchers with placeholder ( #19996 )
2023-02-03 18:36:00 +00:00
Michael Kriese
e78048dfc1
fix: no cycles ( #19982 )
2023-01-23 21:20:54 +00:00
Johannes Feichtner
0fc1731eed
feat(manager/gradle): support separate registry URLs for plugins ( #19606 )
2022-12-29 18:41:43 +00:00
Johannes Feichtner
d9349b21b9
refactor(manager/gradle): group extraction tests + code hygiene ( #19586 )
2022-12-27 14:45:30 +01:00
Jan Høydahl
0d9aaed601
feat(gradle): Support for gradle consistent versions plugin ( #19182 )
...
Co-authored-by: Johannes Feichtner <Churro@users.noreply.github.com >
Closes https://github.com/renovatebot/renovate/issues/8017
2022-12-08 12:21:14 +00:00
Johannes Feichtner
07bb701ada
refactor(manager/gradle): ensure gradle parser is only invoked for gradle script files ( #19232 )
2022-12-03 20:05:28 +01:00
Johannes Feichtner
b14336b3af
feat(manager/gradle): reimplement parser using tree-based approach ( #18663 )
2022-11-15 19:23:06 +00:00
Gabriel-Ladzaretti
871b069d83
fix(logs): remove variable from a template literal for a warn message for gradle ( #16789 )
...
logs: tidy up warn message for grade file not found
2022-07-26 15:03:05 +00:00
Johannes Feichtner
1b36708c64
feat(gradle): always add depType to extracted dependencies ( #16725 )
2022-07-24 06:14:29 +00:00
Johannes Feichtner
19254ca0a4
fix(gradle): remove default maven central registry ( #16430 )
2022-07-06 20:33:56 +00:00
Johannes Feichtner
d19d645b6c
feat(manager/gradle): add support for apply from statements ( #16030 )
...
* add synchronous local file read
* add tests
* add support for apply from statements
* add safeguard to prevent breakout from localDir
* add safeguard to allow "apply from" only with official Gradle file types
* fix: use async io
* fix test coverage
* Update lib/modules/manager/gradle/extract.spec.ts
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com >
* Update lib/modules/manager/gradle/extract.spec.ts
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com >
* Update lib/modules/manager/gradle/extract.spec.ts
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com >
* re-add try/catch
* add istanbul ignore
* Update lib/modules/manager/gradle/parser.ts
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com >
* fs tests: remove obsolete block
* remove istanbul ignore next
* Update lib/modules/manager/gradle/extract.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
* tests: replace mockImplementationOnce() with mockRejectedValueOnce()
* scriptFile: explicitly set null for undefined values
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
Co-authored-by: Rhys Arkins <rhys@arkins.net >
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com >
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com >
2022-07-03 15:58:58 +02:00
Michael Kriese
0a582d31c7
refactor: fix nullable types ( #16156 )
...
* refactor: fix nullable types
* chore: revert changes
* chore: fix lint comments
* chore: revert changes
2022-06-20 16:15:40 +00:00
Michael Kriese
f5f06c73be
refactor(manager): more strict null checks ( #15168 )
2022-04-20 06:19:59 +02:00
Sergei Zharinov
f317458b95
fix(gradle): Don't skip files matched via custom pattern ( #15027 )
2022-04-08 16:25:48 +01:00
Sergei Zharinov
e0cbabe452
fix(gradle): Fix registry url parsing ( #14783 )
2022-03-24 10:02:10 +00:00
Rhys Arkins
8bd77f747b
feat(gradle): remove deepExtract ( #14497 )
...
Removes Gradle `deepExtract` option
BREAKING CHANGE: Option `deepExtract` is now removed and will be ignored
2022-03-04 09:04:02 +01:00