Commit Graph

8 Commits

Author SHA1 Message Date
Jamie Tanna 11239db5f8 ci(lint-staged): format JSON on changes (#43597)
ci(lint-staged): format JSON on changes

To simplify contributions that change JSON files, we can also make sure
they're formatted as expected.
2026-05-26 14:40:54 +00:00
Jamie Tanna a1495c8682 chore: allow oxlint to run in child worktrees (#42153)
As noted in [0], adding the `typeAware` config into `oxlint` leads to
usage of Git worktrees (nested under the root repo) failing to run
`oxlint`:

    > renovate@0.0.0-semantic-release oxlint
    > oxlint

    Failed to parse oxlint configuration file.

      × The `options.typeAware` option is only supported in the root config, but it was found in /Users/jamietanna/workspaces/renovatebot/renovate/.worktrees/reviews/.oxlintrc.json.
      help: Move `options.typeAware` to the root configuration file.

This not only breaks pre-commit checks, but regular linting checks.

As noted in [0] we can explicitly specify the config file, which avoids
this.

[0]: https://github.com/oxc-project/oxc/issues/19937
2026-03-26 11:32:44 +00:00
Michael Kriese 570c989065 fix(presets/eslint): add missing packages (#41653) 2026-03-04 13:34:50 +00:00
Michael Kriese 235cc20955 chore: run more linter on pre-commit (#41482)
* chore: run more linter on pre-commit

* chore: enable prettier experimental cli

* chore: run oxlint

* chore: simplify

* ci: fix prettier
2026-02-25 14:08:18 +00:00
Sergei Zharinov 9d857c1f68 refactor(lint): Organize imports with biome (#40966) 2026-02-06 13:40:01 +00:00
Michael Kriese 9bbb138594 chore: add prettier to pre-commit (#34344) 2025-02-20 12:27:34 +00:00
Rhys Arkins fc5ddaad89 refactor: drop lint-staged (#22294) 2023-05-18 07:45:45 +00:00
Shubham 339acee24e build(deps): replace pretty-quick with lint-staged (#19388)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-01-06 09:05:28 +00:00