import-sort-style-eslint

renke
js
import-sort-style-eslint JS library on GitHub import-sort-style-eslint JS library on npm Download import-sort-style-eslint JS library

An import-sort style that is compatible with ESLint's sort-imports rule

Version 6.0.0 License ISC
import-sort-style-eslint has no homepage
import-sort-style-eslint JS library on GitHub
import-sort-style-eslint JS library on npm
Download import-sort-style-eslint JS library

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";