We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ecf271 commit e0d59d1Copy full SHA for e0d59d1
README.md
@@ -10,26 +10,15 @@ npm i -D @hypernym/eslint-config
10
11
## Setup
12
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:
+Add `lint` commands for manual linting (optionally):
26
27
```js
28
// package.json
+
29
{
30
"scripts": {
31
- "lint": "ESLINT_USE_FLAT_CONFIG=true eslint .",
32
- "lint:fix": "ESLINT_USE_FLAT_CONFIG=true eslint --fix ."
+ "lint": "eslint .",
+ "lint:fix": "eslint --fix ."
33
}
34
35
```
0 commit comments