🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

import-sort-style-eslint

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
i

import-sort-style-eslint

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

6.0.0
latest
92

Supply Chain Security

100

Vulnerability

70

Quality

76

Maintenance

100

License

Version published
Weekly downloads
15K
-8.03%
Maintainers
1
Weekly downloads
 
Created
Issues
69

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

FAQs

Package last updated on 16 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts