Skip to content

Commit

Permalink
Remove "Example configuration" section in readme
Browse files Browse the repository at this point in the history
It provides nothing in addition to the previous sections and is a bad
example. Fixes #157.
  • Loading branch information
lydell committed Sep 25, 2020
1 parent 37a6290 commit e73484d
Showing 1 changed file with 0 additions and 44 deletions.
44 changes: 0 additions & 44 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ Note that this config _only_ turns rules _off,_ so it only makes sense using it
- [Installation](#installation)
- [Excluding deprecated rules](#excluding-deprecated-rules)
- [CLI helper tool](#cli-helper-tool)
- [Example configuration](#example-configuration)
- [Special rules](#special-rules)
- [arrow-body-style and prefer-arrow-callback](#arrow-body-style-and-prefer-arrow-callback)
- [curly](#curly)
Expand Down Expand Up @@ -135,49 +134,6 @@ Exit codes:
- 1: Unexpected error.
- 2: Conflicting rules found.

## Example configuration

<!-- prettier-ignore -->
```json
{
"extends": [
"standard",
"plugin:@typescript-eslint/recommended",
"plugin:flowtype/recommended",
"plugin:react/recommended",
"plugin:unicorn/recommended",
"plugin:vue/recommended",
"prettier",
"prettier/@typescript-eslint",
"prettier/babel",
"prettier/flowtype",
"prettier/react",
"prettier/standard",
"prettier/unicorn",
"prettier/vue"
],
"plugins": [
"@typescript-eslint",
"babel",
"flowtype",
"react",
"standard",
"unicorn",
"vue"
],
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"es6": true,
"node": true
}
}
```

## Special rules

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

0 comments on commit e73484d

Please sign in to comment.