Commit Graph

20 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
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 b69416ce17 refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
Zak Cutner da7fbc0223 feat(manager/bazel): recognize Bazel rules that begin with an underscore (#24496)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-09-20 07:03:58 +00:00
Malte Poll 480cff54ff feat(bazel): Support for rules_oci / oci_pull (#21216)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-03-30 20:37:52 +00:00
Rhys Arkins 3cef2f2e4f refactor: PackageFile -> PackageFileContent (#20502) 2023-02-19 12:43:48 +00:00
Sergei Zharinov ee525a7d18 fix(bazel): Provide replaceString selectively (#20360) 2023-02-12 19:00:28 +02:00
Sergei Zharinov f003347301 refactor(bazel): Allow for parsing multiple deps from single rule (#20349) 2023-02-11 13:28:52 +01:00
Sergei Zharinov d89e3271ab feat(bazel): Use auto-replace when possible (#20318) 2023-02-11 12:34:13 +01:00
Sergei Zharinov 9439abe4fc refactor(bazel): Leverage new parser in update function (#18285)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-10-19 09:20:22 +00:00
Sergei Zharinov f2d85c16cd refactor(bazel): Simplify parser output structure (#18270) 2022-10-12 07:55:13 +03:00
Sergei Zharinov baf62ec6ac refactor(bazel): Move all supported rules to the separate directory (#18225) 2022-10-10 10:27:45 +00:00
Sergei Zharinov d47ec5fb26 refactor(bazel): Update-friendly structure for parsed data (#18212) 2022-10-09 11:58:19 +00:00
Sergei Zharinov 89e9d31935 feat(bazel): Parser reimplementation (#16931)
* feat(bazel): Parser reimplementation

* Fixes

* Update comments

* Fixes

* Fix

* More fixes

* Fix

* Simplify

* Refactor context

* Fixes

* One more warning log

* Fix lint

* Fix depth limit

* Add more tests

* Rename `extract-new.ts` to `extract.ts`

* Fixes

* Remove async

* Update lib/modules/manager/bazel/parser.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Fix

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-07 08:12:32 +03:00
Michael Kriese 99b16becaf refactor: remove unused properties (#16328) 2022-06-29 13:18:12 +02:00
Jason Bedard 8901e724f3 feat(bazel): add "maybe" macro support (#16003) 2022-06-22 06:16:43 +00:00
Michael Kriese 10302eba68 refactor: fix prefer-nullish-coalescing (#16171) 2022-06-21 12:02:49 +00:00
Michael Kriese da6ba6435f refactor(manager): strict null checks (#15151)
* refactor: strict null checks for util

* chore: fix type

* Update tsconfig.strict.json

* Update lib/util/package-rules.ts

* Update lib/util/package-rules.ts

* chore: fix test and coverage

* chore: fix package rules

* refactor(manager): strict null checks

* chore: revert config changes
2022-04-17 14:34:26 +02: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