Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-simple-import-sort

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-simple-import-sort - npm Package Compare versions

Comparing version 5.0.3 to 6.0.0

exports.js

6

index.js
"use strict";
const sort = require("./sort");
const importsRule = require("./imports");
const exportsRule = require("./exports");
module.exports = {
rules: {
sort,
imports: importsRule,
exports: exportsRule,
},
};
{
"name": "eslint-plugin-simple-import-sort",
"version": "5.0.3",
"version": "6.0.0",
"license": "MIT",

@@ -5,0 +5,0 @@ "author": "Simon Lydell",

@@ -5,10 +5,11 @@ # eslint-plugin-simple-import-sort

- ✔️ Runs via `eslint --fix` – no new tooling
- ✔️ Handles comments
- ✔️ Handles [Flow type imports] \(via [babel-eslint])
- ✔️ [TypeScript] friendly \(via [@typescript-eslint/parser])
- ✔️ [Prettier] friendly
- ✔️ [eslint-plugin-import] friendly
- ✔️ `git diff` friendly
- ✔️ 100% code coverage
- ✅️ Runs via `eslint --fix` – no new tooling
- ✅️ Also sorts exports where possible
- ✅️ Handles comments
- ✅️ Handles [Flow type imports] \(via [babel-eslint])
- ✅️ [TypeScript] friendly \(via [@typescript-eslint/parser])
- ✅️ [Prettier] friendly
- ✅️ [eslint-plugin-import] friendly
- ✅️ `git diff` friendly
- ✅️ 100% code coverage
- ❌ [Does not support `require`][no-require]

@@ -21,2 +22,3 @@

[eslint-plugin-import]: https://github.com/benmosher/eslint-plugin-import/
[flow type imports]: https://flow.org/en/docs/types/modules/
[no-require]: https://github.com/lydell/eslint-plugin-simple-import-sort/#does-it-support-require

@@ -23,0 +25,0 @@ [prettier]: https://prettier.io/

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc