Skip to content

Commit

Permalink
43081j#202: state is not considered for attribute-names
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Voges committed May 26, 2024
1 parent 87109a9 commit 233f4b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/attribute-names.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const rule: Rule.RuleModule = {
const propertyMap = getPropertyMap(node);

for (const [prop, propConfig] of propertyMap.entries()) {
if (!propConfig.attribute) {
if (!propConfig.attribute || propConfig.state) {
continue;
}

Expand Down

0 comments on commit 233f4b4

Please sign in to comment.