Skip to content

Commit

Permalink
V5 (#272)
Browse files Browse the repository at this point in the history
* chore: update deps

* chore: remove ts-ignore

* feat!: use flat config by default

* chore!: minimum supported Node.js version is 18.12.0
  • Loading branch information
ricardogobbosouza authored Feb 26, 2025
1 parent e6196eb commit ff9e9e6
Show file tree
Hide file tree
Showing 12 changed files with 3,404 additions and 5,040 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,9 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [14.x, 16.x, 18.x, 20.x, 22.x, 23.x]
node-version: [18.x, 20.x, 22.x, 23.x]
eslint-version: [8.x, 9.x]
webpack-version: [latest]
exclude:
- node-version: 14.x
os: macos-latest
- node-version: 14.x
eslint-version: 9.x
- node-version: 16.x
eslint-version: 9.x

runs-on: ${{ matrix.os }}

Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Specify the path to the cache location. Can be a file or a directory.
type configType = 'flat' | 'eslintrc';
```

- Default: `eslintrc`
- Default: `flat`

Specify the type of configuration to use with ESLint.

Expand All @@ -123,9 +123,6 @@ Specify the type of configuration to use with ESLint.

The new configuration format is explained in its [own documentation](https://eslint.org/docs/latest/use/configure/configuration-files-new).

> This configuration format being considered as experimental, it is not exported in the main ESLint module in ESLint 8.
> You need to set your `eslintPath` to `eslint/use-at-your-own-risk` for this config format to work.
### `context`

- Type:
Expand Down
Loading

0 comments on commit ff9e9e6

Please sign in to comment.