eslint-plugin-smarthr
Advanced tools
Comparing version 0.3.25 to 0.3.26
@@ -5,2 +5,9 @@ # Changelog | ||
### [0.3.26](https://github.com/kufu/eslint-plugin-smarthr/compare/v0.3.25...v0.3.26) (2024-01-24) | ||
### Bug Fixes | ||
* a11y-prohibit-useless-sectioning-fragmentの属性チェックのバグを修正 ([#107](https://github.com/kufu/eslint-plugin-smarthr/issues/107)) ([b42bdd9](https://github.com/kufu/eslint-plugin-smarthr/commit/b42bdd9e11258a6a32e13647c0c764065b5bac64)) | ||
### [0.3.25](https://github.com/kufu/eslint-plugin-smarthr/compare/v0.3.24...v0.3.25) (2024-01-23) | ||
@@ -7,0 +14,0 @@ |
{ | ||
"name": "eslint-plugin-smarthr", | ||
"version": "0.3.25", | ||
"version": "0.3.26", | ||
"author": "SmartHR", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -22,3 +22,3 @@ const { generateTagFormatter } = require('../../libs/format_styled_components') | ||
const includeSectioningAsAttr = (a) => a.name?.name.match(AS_REGEX) && a.value.value.match(BARE_SECTIONING_TAG_REGEX) | ||
const includeSectioningAsAttr = (a) => a.name?.name?.match(AS_REGEX) && a.value.value?.match(BARE_SECTIONING_TAG_REGEX) | ||
@@ -28,3 +28,3 @@ const searchSectioningFragment = (node) => { | ||
case 'JSXElement': | ||
return node.openingElement.name?.name.match(SECTIONING_FRAGMENT_REGEX) ? node.openingElement : null | ||
return node.openingElement.name?.name?.match(SECTIONING_FRAGMENT_REGEX) ? node.openingElement : null | ||
case 'Program': | ||
@@ -31,0 +31,0 @@ return null |
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
330474