Skip to content

Commit e0d59d1

Browse files
committed
docs: update info
1 parent 3ecf271 commit e0d59d1

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

README.md

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,15 @@ npm i -D @hypernym/eslint-config
1010

1111
## Setup
1212

13-
1. Enable `useFlatConfig` option in `vscode` settings:
14-
15-
> [!NOTE]\
16-
> This step won't be necessary in the future releases.
17-
18-
```js
19-
// .vscode/settings.json
20-
{
21-
"eslint.experimental.useFlatConfig": true
22-
}
23-
```
24-
25-
2. Optionally, add `lint` commands for manual linting:
13+
Add `lint` commands for manual linting (optionally):
2614

2715
```js
2816
// package.json
17+
2918
{
3019
"scripts": {
31-
"lint": "ESLINT_USE_FLAT_CONFIG=true eslint .",
32-
"lint:fix": "ESLINT_USE_FLAT_CONFIG=true eslint --fix ."
20+
"lint": "eslint .",
21+
"lint:fix": "eslint --fix ."
3322
}
3423
}
3524
```

0 commit comments

Comments
 (0)