@telefonica/eslint-plugin-import
Advanced tools
Comparing version 1.0.1 to 1.0.2-beta0
{ | ||
"name": "@telefonica/eslint-plugin-import", | ||
"version": "1.0.1", | ||
"version": "1.0.2-beta0", | ||
"description": "eslint plugin with some rules regarding imports", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "jest" | ||
}, | ||
"keywords": [ | ||
@@ -22,3 +25,7 @@ "eslint", | ||
"eslint": ">=7" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^8.43.0", | ||
"jest": "^29.5.0" | ||
} | ||
} |
@@ -24,6 +24,3 @@ module.exports = { | ||
) { | ||
return fixer.replaceTextRange( | ||
[node.loc.start.column, node.loc.end.column], | ||
"import * as React from 'react';" | ||
); | ||
return fixer.replaceText(node.specifiers[0], '* as React'); | ||
} | ||
@@ -30,0 +27,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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
15164
7
406
2
2