eslint-plugin-react-refresh
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -44,4 +44,6 @@ "use strict"; | ||
create: (context) => { | ||
if (!context.getFilename().endsWith("x")) | ||
const filename = context.getFilename(); | ||
if (!filename.endsWith("x") || filename.includes(".test.") || filename.includes(".spec.")) { | ||
return {}; | ||
} | ||
return { | ||
@@ -48,0 +50,0 @@ Program(program) { |
{ | ||
"name": "eslint-plugin-react-refresh", | ||
"description": "Validate that your components can safely be updated with fast refresh", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"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
9285
140