eslint-plugin-simple-import-sort
Advanced tools
Comparing version 5.0.3 to 6.0.0
"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/ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
36455
7
975
26