Skip to content

Commit 989beae

Browse files
Merge pull request #11 from chrisblossom/master
add missing "settings" object to eslint example configuration
2 parents 75cfb50 + 8c24040 commit 989beae

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Diff for: .gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
node_modules
22
yarn-error.log
33
yarn.lock
4+
.idea
5+
.vscode

Diff for: README.md

+6-8
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,13 @@ Add the following to your `.eslintrc` config:
1919

2020
```CJSON
2121
{
22+
"parser": "typescript-eslint-parser",
23+
"plugins": ["import"],
24+
"rules": {
25+
// turn on errors for missing imports
26+
"import/no-unresolved": "error"
27+
},
2228
"settings": {
23-
"parser": "typescript-eslint-parser",
24-
"plugins": [
25-
"import"
26-
],
27-
"rules": {
28-
// turn on errors for missing imports
29-
"import/no-unresolved": "error"
30-
},
3129
"import/resolver": {
3230
// use <root>/tsconfig.json
3331
"typescript": {},

0 commit comments

Comments
 (0)