eslint-plugin-flowtype
Advanced tools
Comparing version 2.46.0 to 2.46.1
@@ -35,3 +35,9 @@ 'use strict'; | ||
var imports = node.specifiers.map(function (specifier) { | ||
return 'type ' + specifier.local.name; | ||
if (specifier.type === 'ImportDefaultSpecifier') { | ||
return 'type default as ' + specifier.local.name; | ||
} else if (specifier.imported.name === specifier.local.name) { | ||
return 'type ' + specifier.local.name; | ||
} else { | ||
return 'type ' + specifier.imported.name + ' as ' + specifier.local.name; | ||
} | ||
}); | ||
@@ -38,0 +44,0 @@ var source = node.source.value; |
@@ -56,3 +56,3 @@ { | ||
}, | ||
"version": "2.46.0" | ||
"version": "2.46.1" | ||
} |
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
200790
2592