Skip to content

Commit

Permalink
Use a bulleted list instead of a numbered one
Browse files Browse the repository at this point in the history
It makes it more clear that this is a list of alternatives, not a list of steps.
  • Loading branch information
jwbth authored Mar 28, 2024
1 parent 457bac9 commit be546a2
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ npm install eslint-plugin-import --save-dev

All rules are off by default. You may extend one of the canned configs, or configure them manually in your `.eslintrc.(yml|json|js)`.

1. Extending a canned config:
* Extending a canned config:

```yaml
extends:
Expand All @@ -123,20 +123,19 @@ All rules are off by default. You may extend one of the canned configs, or confi
- plugin:import/warnings
```

2. Configuring manually:

```yaml
plugins:
- import
rules:
import/no-unresolved: [2, {commonjs: true, amd: true}]
import/named: 2
import/namespace: 2
import/default: 2
import/export: 2
# etc...
```
* Configuring manually:
```yaml
plugins:
- import
rules:
import/no-unresolved: [2, {commonjs: true, amd: true}]
import/named: 2
import/namespace: 2
import/default: 2
import/export: 2
# etc...
```

## TypeScript

Expand Down

0 comments on commit be546a2

Please sign in to comment.