Skip to content

Commit

Permalink
Docs: fix sort-imports rule block language (#9805)
Browse files Browse the repository at this point in the history
one of the blocks in rule `sort-imports`
was missing language highlighting so
added that as in two previous blocks.
  • Loading branch information
ferhatelmas authored and platinumazure committed Jan 4, 2018
1 parent 65f0176 commit fc44da9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/rules/sort-imports.md
Expand Up @@ -186,13 +186,12 @@ import * as b from 'bar.js';

Examples of **correct** code for this rule with the `{ "memberSyntaxSortOrder": ['all', 'single', 'multiple', 'none'] }` option:

```
```js
/*eslint sort-imports: ["error", { "memberSyntaxSortOrder": ['all', 'single', 'multiple', 'none'] }]*/

import * as foo from 'foo.js';
import z from 'zoo.js';
import {a, b} from 'foo.js';
```

Default is `["none", "all", "multiple", "single"]`.
Expand Down

0 comments on commit fc44da9

Please sign in to comment.