Skip to content

Commit

Permalink
[docs] Fix newline-after-import example
Browse files Browse the repository at this point in the history
Fix missing error level in “Example options usage” and add JS highlighting.
  • Loading branch information
daltones authored May 25, 2017
1 parent b79e083 commit 5dc9ff7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/rules/newline-after-import.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ const FOO = 'BAR'


## Example options usage
```
```js
{
...
// ...
"rules": {
"import/newline-after-import": [{ "count": 2 }]
"import/newline-after-import": ["error", { "count": 2 }]
}
}
```
Expand Down

0 comments on commit 5dc9ff7

Please sign in to comment.