Skip to content

Commit

Permalink
Docs: Fix error in example code for sort-imports (fixes #8734) (#9245)
Browse files Browse the repository at this point in the history
  • Loading branch information
i-ron-y authored and not-an-aardvark committed Sep 6, 2017
1 parent a32ec36 commit 82d8b73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/rules/sort-imports.md
Expand Up @@ -62,8 +62,8 @@ Examples of **correct** code for this rule when using default options:
```js
/*eslint sort-imports: "error"*/
import 'module-without-export.js';
import * as foo from 'foo.js';
import * as bar from 'bar.js';
import * as foo from 'foo.js';
import {alpha, beta} from 'alpha.js';
import {delta, gamma} from 'delta.js';
import a from 'baz.js';
Expand All @@ -76,7 +76,7 @@ import c from 'baz.js';

/*eslint sort-imports: "error"*/
import 'foo.js'
import * from 'bar.js';
import * as bar from 'bar.js';
import {a, b} from 'baz.js';
import c from 'qux.js';

Expand Down

0 comments on commit 82d8b73

Please sign in to comment.