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 9.0.0 to 10.0.0-beta.1

2

package.json
{
"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

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