Skip to content

Commit 70866c7

Browse files
More fixes to README.
1 parent cddd838 commit 70866c7

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,15 @@ As of `1.0.0` release `eslint-config-ezhome` requires,
2222
npm install --save-dev eslint-config-ezhome
2323
```
2424

25-
2. Add `"extends": "ezhome"` to your `.eslintrc`
25+
2. Add next snippet,
26+
27+
```
28+
"eslintConfig": {
29+
"extends": "ezhome"
30+
}
31+
```
32+
33+
to your `package.json`
2634

2735
### Note on preferred ESLint versions
2836

@@ -47,4 +55,4 @@ config.
4755
### ezhome/alternate
4856

4957
Alternate config which provides comma-dangling and uses 2 spaces for indent in
50-
JS and JSX files. Good config to new projects.
58+
JS and JSX code. Good config for new projects.

0 commit comments

Comments
 (0)