Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions packages/eslint-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Add `@typescript-eslint/eslint-plugin/parser` to the `parser` field and `typescr
```json
{
"parser": "@typescript-eslint/eslint-plugin/parser",
"plugins": ["typescript"]
"plugins": ["@typescript-eslint"]
}
```

Expand All @@ -45,9 +45,9 @@ Then configure the rules you want to use under the rules section.
```json
{
"parser": "@typescript-eslint/eslint-plugin/parser",
"plugins": ["typescript"],
"plugins": ["@typescript-eslint"],
"rules": {
"typescript/rule-name": "error"
"@typescript-eslint/rule-name": "error"
}
}
```
Expand All @@ -56,7 +56,7 @@ You can also enable all the recommended rules at once. Add `plugin:typescript/re

```json
{
"extends": ["plugin:typescript/recommended"]
"extends": ["plugin:@typescript-eslint/recommended"]
}
```

Expand Down