Huge News!Announcing our $40M Series B led by Abstract Ventures.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.3.0 to 1.4.0

2

package.json
{
"name": "eslint-plugin-consistent-imports",
"version": "1.3.0",
"version": "1.4.0",
"description": "ESLint rules to enforce consistent variable names for default imports.",

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

@@ -16,9 +16,9 @@ # eslint-plugin-consistent-imports

`import bar from './path/to/foo.js';`,
// ✅ import foo from './path/to/foo.js';
// import foo from './path/to/foo.js';
`import bar from 'my-awesome-package';`
// ✅ import myAwesomePackage from 'my-awesome-package';
// import myAwesomePackage from 'my-awesome-package';
`import bar from './path/to/an-awesome-file.js';`
// ✅ import anAwesomeFile from './path/to/an-awesome-file.js';
// import anAwesomeFile from './path/to/an-awesome-file.js';
]

@@ -25,0 +25,0 @@ ```

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