Skip to content

Commit

Permalink
[Docs] Add import/recommended ruleset to README
Browse files Browse the repository at this point in the history
Fixes #2032
  • Loading branch information
edemaine committed Apr 25, 2021
1 parent e871a9a commit 747772e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Expand Up @@ -138,6 +138,8 @@ in your `.eslintrc.(yml|json|js)`, or extend one of the canned configs:
---
extends:
- eslint:recommended
- plugin:import/recommended
# alternatively, 'recommended' is the combination of these two rule sets:
- plugin:import/errors
- plugin:import/warnings

Expand All @@ -163,8 +165,7 @@ Make sure you have installed [`@typescript-eslint/parser`] which is used in the
```yaml
extends:
- eslint:recommended
- plugin:import/errors
- plugin:import/warnings
- plugin:import/recommended
- plugin:import/typescript # this line does the trick
```

Expand Down

0 comments on commit 747772e

Please sign in to comment.