Skip to content

Commit e73484d

Browse files
committed
Remove "Example configuration" section in readme
It provides nothing in addition to the previous sections and is a bad example. Fixes #157.
1 parent 37a6290 commit e73484d

File tree

1 file changed

+0
-44
lines changed

1 file changed

+0
-44
lines changed

README.md

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ Note that this config _only_ turns rules _off,_ so it only makes sense using it
1414
- [Installation](#installation)
1515
- [Excluding deprecated rules](#excluding-deprecated-rules)
1616
- [CLI helper tool](#cli-helper-tool)
17-
- [Example configuration](#example-configuration)
1817
- [Special rules](#special-rules)
1918
- [arrow-body-style and prefer-arrow-callback](#arrow-body-style-and-prefer-arrow-callback)
2019
- [curly](#curly)
@@ -135,49 +134,6 @@ Exit codes:
135134
- 1: Unexpected error.
136135
- 2: Conflicting rules found.
137136

138-
## Example configuration
139-
140-
<!-- prettier-ignore -->
141-
```json
142-
{
143-
"extends": [
144-
"standard",
145-
"plugin:@typescript-eslint/recommended",
146-
"plugin:flowtype/recommended",
147-
"plugin:react/recommended",
148-
"plugin:unicorn/recommended",
149-
"plugin:vue/recommended",
150-
"prettier",
151-
"prettier/@typescript-eslint",
152-
"prettier/babel",
153-
"prettier/flowtype",
154-
"prettier/react",
155-
"prettier/standard",
156-
"prettier/unicorn",
157-
"prettier/vue"
158-
],
159-
"plugins": [
160-
"@typescript-eslint",
161-
"babel",
162-
"flowtype",
163-
"react",
164-
"standard",
165-
"unicorn",
166-
"vue"
167-
],
168-
"parserOptions": {
169-
"sourceType": "module",
170-
"ecmaFeatures": {
171-
"jsx": true
172-
}
173-
},
174-
"env": {
175-
"es6": true,
176-
"node": true
177-
}
178-
}
179-
```
180-
181137
## Special rules
182138

183139
There a few rules that eslint-config-prettier disables that actually can be enabled in some cases.

0 commit comments

Comments
 (0)