eslint-plugin-consistent-imports
Advanced tools
Comparing version 1.16.0 to 1.17.0
@@ -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": [ |
8601