forked-import-sort-style-eslint
TypeScript icon, indicating that this package has built-in type declarations

7.0.3 • Public • Published

import-sort-style-eslint

A style for import-sort that conforms to the ESLint rule sort-imports.

// Modules with side effects (not sorted because order may matter)
import "a";
import "c";
import "b";

// Modules with only namespace member sorted by member
import * as aa from "aa";
import * as bb from "bb";

// Modules with multiple members sorted by first member
import aaa, {bbb} from "aaa";
import {ccc, ddd} from "ccc";
import eee, * as fff from "eee";

// Modules with single member sorted by member
import aaaa from "aaaa";
import {bbbb} from "bbbb";

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 7.0.3
    129
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 7.0.3
    129

Package Sidebar

Install

npm i forked-import-sort-style-eslint

Weekly Downloads

129

Version

7.0.3

License

ISC

Unpacked Size

5 kB

Total Files

5

Last publish

Collaborators

  • secondfry