-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Offers some temporary fixes to make `main` green and provide a migration guide until we have a long-term story for #735. Also includes a node fix with [executing `.bat` files](https://github.com/trunk-io/plugins/actions/runs/8702103641/job/23865448625) related to prebuild/prebuildify#83
- Loading branch information
1 parent
a283a66
commit 0cd81d3
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# eslint | ||
|
||
## Migration Guide | ||
|
||
Trunk does not yet support `eslint@9.x`, which includes substantial config format changes (see their | ||
[migration guide](https://eslint.org/docs/latest/use/migrate-to-9.0.0#flat-config)). If you'd like | ||
to opt-in to `eslint@9.x` with Trunk before we release official support, you can add the following | ||
override to your `.trunk/trunk.yaml`: | ||
|
||
```yaml | ||
version: 0.1 | ||
--- | ||
lint: | ||
enabled: | ||
- eslint@9.0.0 | ||
definitions: | ||
- name: eslint | ||
direct_configs: | ||
- eslint.config.js | ||
- eslint.config.mjs | ||
- eslint.config.cjs | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters