Skip to content

Commit

Permalink
Documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
simmo committed Jan 18, 2023
1 parent defcf08 commit bcfe58e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/rules/no-duplicates.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ Config:

<!--tabs-->

❌ Invalid `["error", "prefer-inline"]`
❌ Invalid `["error", {"prefer-inline": true}]`

```js
import { AValue, type AType } from './mama-mia'
import type { BType } from './mama-mia'
```

✅ Valid with `["error", "prefer-inline"]`
✅ Valid with `["error", {"prefer-inline": true}]`

```js
import { AValue, type AType, type BType } from './mama-mia'
Expand Down

0 comments on commit bcfe58e

Please sign in to comment.