eslint-plugin-consistent-imports
Advanced tools
Comparing version 1.3.0 to 1.4.0
{ | ||
"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 @@ ``` |
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
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
9283