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
Sebastian Poxhofer
ef557aca81
fix(datasource): replace getJsonUnchecked in Java, Gradle, Dart, and Flutter ( #43697 )
...
* fix(datasource): replace getJsonUnchecked with validated getJson in Java, Gradle, Dart, and Flutter datasources
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
* refactor: remove .nullable()
* fix linter errors
* chore removed some unused types
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-03 10:02:09 +00:00
Sergei Zharinov
9d857c1f68
refactor(lint): Organize imports with biome ( #40966 )
2026-02-06 13:40:01 +00:00
Sergei Zharinov
c07814ca4d
refactor: Remove decorators for ESM compatibility ( #40736 )
...
* refactor: Migrate to decorator alternatives
* refactor: Remove decorators
* Fixes
* build: Remove decorator support from build pipeline
* fix: Remove extra brace in cdnjs getDigest cache key
2026-01-28 13:22:53 +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
871d9db367
feat(datasource/java-version): support os and architecture filter ( #37254 )
2025-08-01 12:11:16 +00:00
Michael Kriese
19c115c813
test: cleanup ( #34785 )
2025-03-13 17:52:09 +00:00
Michael Kriese
b5ff90f2bd
fix: improve coverage ( #34667 )
2025-03-06 17:05:19 +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
Sergei Zharinov
9b4e515024
refactor(http): Separate getJson and getJsonUnchecked ( #33651 )
2025-01-17 14:18:00 +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
Rhys Arkins
b17bcf2789
refactor(datasource): use packageName and not depName for datasource lookups ( #20474 )
2023-03-10 09:34:40 +01:00
RahulGautamSingh
09402a32e6
fix(datasource): rename adoptium-java to java-version ( #20245 )
2023-02-13 07:54:20 +00:00