eslint-plugin-factorial
Advanced tools
Comparing version 2.0.5 to 2.0.6
{ | ||
"name": "eslint-plugin-factorial", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -13,4 +13,4 @@ /** @type {import('eslint').Rule.RuleModule} */ | ||
return { | ||
JSXIdentifier: function (node) { | ||
if (node.name.match(/^[a-z]/)) { | ||
JSXOpeningElement: function (node) { | ||
if (node.name.type === 'JSXIdentifier' && node.name.name.match(/^[a-z]/)) { | ||
reportWarning(node) | ||
@@ -17,0 +17,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
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
12618