Commit Graph

31 Commits

Author SHA1 Message Date
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
Thomas Papillon ef3c9645e9 feat(sbt): support anonymous objects and dotted symbols for version declaration (#40699)
* sbt: support anonymous objects and dotted symbols

* sbt: use string template syntax
2026-04-13 17:24:56 +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
Sergei Zharinov ae49b7af38 chore(deps): switch to @renovatebot/good-enough-parser (#40623)
* chore(deps): switch to @jrnv/good-enough-parser

* chore(deps): switch to @renovatebot/good-enough-parser

* chore(deps): update @renovatebot/good-enough-parser to 1.2.0
2026-01-26 12:44:11 +00:00
Rhys Arkins 0c2eaaf8bb feat: sharedVariableName (#33111)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-01-16 15:05:07 +00:00
george-wilson-rea 0208d76027 fix(sbt-plugin): add new default registry URL (#29648)
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-07-01 09:54:33 +00:00
george-wilson-rea 7178da3074 refactor: Tidy Scala version normalization code (#29642) 2024-06-13 10:04:11 +00:00
Artyom Gabeev 5c472e44d3 feat(manager/sbt): Improve scala 3 dependencies handling and meta-build classes (#29155) 2024-06-01 07:25:45 +00:00
george-wilson-rea 9c11e43b8e feat(sbt): Support Scala 3 dependency resolution (#29291)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-05-28 05:58:39 +00:00
Lakshmipriya Sivakumar d329c8a259 fix(sbt): url resolution failures for sbt (#27856) 2024-03-12 10:58:52 +00:00
Lakshmipriya Sivakumar 6da8fdc208 fix(sbt): initialize registry urls for sbt version (#27667) 2024-03-01 16:14:44 +00:00
Rhys Arkins 12773c6670 chore(sbt): fix types 2024-03-01 08:19:05 +01:00
Rhys Arkins 4bc12952d1 fix(sbt): init registryUrls during extract 2024-03-01 07:16:58 +01:00
Lakshmipriya Sivakumar 5de12e7f09 feat(manager/sbt): support proxy registries (#27276)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2024-02-27 20:28:20 +00:00
Sergei Zharinov b69416ce17 refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +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
Gaël Jourdan-Weil a8ec421a7d feat(manager/sbt): Extract sbt version from build.properties (#20587)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-27 06:06:14 +00:00
Rhys Arkins 3cef2f2e4f refactor: PackageFile -> PackageFileContent (#20502) 2023-02-19 12:43:48 +00:00
Rhys Arkins c7d4c39ac9 refactor(sbt): extract variableName (#19540) 2023-01-28 07:49:39 +01:00
Ashley Towns 9eef71a72a fix(manager/sbt): Support for updating Scala 3 (#19911) 2023-01-23 07:27:33 +00:00
Moritz Hedtke 54b5f6de43 feat(manager/sbt): Implement %%% dependency specifiers (#19656) 2023-01-07 21:28:12 +00:00
Sergei Zharinov 4c92341bc2 feat(sbt): Extract values from typed variables (#19477)
Closes undefined
2022-12-19 15:50:23 +01:00
Johannes Feichtner dee3452a19 refactor(manager/gradle): cleanup old parser (#18931) 2022-11-16 04:32:41 +00:00
Sergei Zharinov 577cd4c38a build(deps): update dependency good-enough-parser to v1.1.19 (#17735) 2022-09-10 09:32:14 +00:00
Sergei Zharinov 42d4de6507 refactor(sbt): Reimplement the parser (#17054) 2022-08-10 07:56:27 +02:00
cjtim f61342d068 fix(manager/sbt): allow addCompilerPlugin (#17006)
* fix(sbt/manager): allow addCompilerPlugin

* add test case

* fix: toMatchObject

* yarn run jest:14 -u

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-07 05:38:17 +00:00
cjtim b367f4db99 fix(manager/sbt): allow star comment (#17005)
* fix: sbt manager allow star comment

* Update lib/modules/manager/sbt/extract.ts

Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>

* add test case

* prettier-fix

Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-06 13:34:08 +00:00
Hasan Awad e183d4c064 fix(manager/sbt): handle new line after equalities in the file (#15613) 2022-05-20 09:50:46 +02:00
Michael Kriese 6c7e79fbe3 refactor(manager): more strict null checks (#15166) 2022-04-19 17:46:07 +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