Skip to content

Commit

Permalink
docs: flat config instructions (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
mantoni authored Oct 31, 2024
1 parent 31b1a49 commit 25f62cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ Or if you're using ESLint flat configs, add this to your `eslint.config.js`:
import {configs} from 'eslint-plugin-wc';

export default [
configs.recommended,
configs['flat/recommended'],

// or if you want to specify `files`, or other options
{
...configs.recommended,
...configs['flat/recommended'],
files: ['test/**/*.js']
}
];
Expand Down

0 comments on commit 25f62cc

Please sign in to comment.