New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-consistent-imports

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-consistent-imports - npm Package Compare versions

Comparing version 1.16.0 to 1.17.0

2

lib/rules/default-match-source.js

@@ -37,2 +37,3 @@ /**

const singleImport = node.specifiers.length === 1;
if (!singleImport) return;

@@ -50,3 +51,2 @@ const importNode = node.specifiers[0];

sourceNode.type === 'Literal' &&
singleImport &&
importNode.type === 'ImportDefaultSpecifier'

@@ -53,0 +53,0 @@ ) {

{
"name": "eslint-plugin-consistent-imports",
"version": "1.16.0",
"version": "1.17.0",
"description": "ESLint rules to enforce consistent variable names for default imports.",

@@ -5,0 +5,0 @@ "keywords": [

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