Skip to content

Commit

Permalink
Revert "docs: sort-imports add single named import example (eslint#15675
Browse files Browse the repository at this point in the history
)"

This reverts commit 46f2a67.
  • Loading branch information
srijan-deepsource committed May 30, 2022
1 parent 121dcb8 commit 59997e5
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions docs/rules/sort-imports.md
Expand Up @@ -7,7 +7,6 @@ The import statement is used to import members (functions, objects or primitives
```js
// single - Import single member.
import myMember from "my-module.js";
import {myOtherMember} from "my-other-module.js";

// multiple - Import multiple members.
import {foo, bar} from "my-module.js";
Expand Down Expand Up @@ -73,7 +72,7 @@ import * as foo from 'foo.js';
import {alpha, beta} from 'alpha.js';
import {delta, gamma} from 'delta.js';
import a from 'baz.js';
import {b} from 'qux.js';
import b from 'qux.js';

/*eslint sort-imports: "error"*/
import a from 'foo.js';
Expand All @@ -85,7 +84,6 @@ import 'foo.js'
import * as bar from 'bar.js';
import {a, b} from 'baz.js';
import c from 'qux.js';
import {d} from 'quux.js';

/*eslint sort-imports: "error"*/
import {a, b, c} from 'foo.js'
Expand All @@ -110,10 +108,6 @@ import {a, b} from 'bar.js';
import a from 'foo.js';
import {b, c} from 'bar.js';

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

/*eslint sort-imports: "error"*/
import a from 'foo.js';
import * as b from 'bar.js';
Expand Down

0 comments on commit 59997e5

Please sign in to comment.