Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 729f2a2

Browse files
authored
docs(eslint-plugin): remove mention of eslint-recommended (typescript-eslint#2053)
1 parent 23b4b66 commit 729f2a2

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

packages/eslint-plugin/README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,11 @@ You can also enable all the recommended rules for our plugin. Add `plugin:@types
5555

5656
### Recommended Configs
5757

58-
You can also use [`eslint:recommended`](https://eslint.org/docs/rules/) (the set of rules which are recommended for all projects by the ESLint Team) with this plugin. As noted in the root README, not all ESLint core rules are compatible with TypeScript, so you need to add both `eslint:recommended` and `plugin:@typescript-eslint/eslint-recommended` (which will adjust the one from ESLint appropriately for TypeScript) to your config:
58+
You can also use [`eslint:recommended`](https://eslint.org/docs/rules/) (the set of rules which are recommended for all projects by the ESLint Team) with this plugin:
5959

6060
```json
6161
{
62-
"extends": [
63-
"eslint:recommended",
64-
"plugin:@typescript-eslint/eslint-recommended",
65-
"plugin:@typescript-eslint/recommended"
66-
]
62+
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"]
6763
}
6864
```
6965

@@ -75,7 +71,6 @@ Some highly valuable rules simply require type-checking in order to be implement
7571
{
7672
"extends": [
7773
"eslint:recommended",
78-
"plugin:@typescript-eslint/eslint-recommended",
7974
"plugin:@typescript-eslint/recommended",
8075
"plugin:@typescript-eslint/recommended-requiring-type-checking"
8176
]

0 commit comments

Comments
 (0)