eslint-plugin-react-refresh
Advanced tools
Comparing version 0.4.7 to 0.4.8
@@ -87,3 +87,6 @@ "use strict"; | ||
return; | ||
if (allowConstantExport && init && (init.type === "Literal" || init.type === "TemplateLiteral" || init.type === "BinaryExpression")) { | ||
if (allowConstantExport && init && (init.type === "Literal" || // 1, "foo" | ||
init.type === "UnaryExpression" || // -1 | ||
init.type === "TemplateLiteral" || // `Some ${template}` | ||
init.type === "BinaryExpression")) { | ||
return; | ||
@@ -90,0 +93,0 @@ } |
{ | ||
"name": "eslint-plugin-react-refresh", | ||
"description": "Validate that your components can safely be updated with fast refresh", | ||
"version": "0.4.7", | ||
"version": "0.4.8", | ||
"author": "Arnaud Barré (https://github.com/ArnaudBarre)", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
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
13771
226