Commit a1495c8
authored
chore: allow oxlint to run in child worktrees (renovatebot#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]: oxc-project/oxc#199371 parent 41eba99 commit a1495c8
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
| 25 | + | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments