eslint-plugin-simple-import-sort
Advanced tools
Comparing version 9.0.0 to 10.0.0-beta.1
{ | ||
"name": "eslint-plugin-simple-import-sort", | ||
"version": "9.0.0", | ||
"version": "10.0.0-beta.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": "Simon Lydell", |
@@ -733,8 +733,3 @@ "use strict"; | ||
(itemA, itemB) => | ||
// Put type imports/exports before regular ones. | ||
compare( | ||
getImportExportKind(itemA.node), | ||
getImportExportKind(itemB.node) | ||
) || | ||
// Then compare by imported or exported name (external interface name). | ||
// Compare by imported or exported name (external interface name). | ||
// import { a as b } from "a" | ||
@@ -754,2 +749,7 @@ // ^ | ||
compare(itemA.node.local.name, itemB.node.local.name) || | ||
// Then put type specifiers before regular ones. | ||
compare( | ||
getImportExportKind(itemA.node), | ||
getImportExportKind(itemB.node) | ||
) || | ||
// Keep the original order if the names are the same. It’s not worth | ||
@@ -756,0 +756,0 @@ // trying to compare anything else, `import {a, a} from "mod"` is a syntax |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
37292
2