Skip to content

Commit

Permalink
remove tagName when reporting since it's not used in the error message
Browse files Browse the repository at this point in the history
  • Loading branch information
beaesguerra committed Dec 13, 2024
1 parent 2ccd64c commit fa7a720
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ export default createRule<Options, MessageIds>({
messageId: "errorString",
data: {
variableName,
tagName,
expectedName,
},
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ ruleTester.run(ruleName, rule, {
messageId: "errorString",
data: {
variableName: "foo",
tagName: "div",
expectedName: "StyledDiv",
},
},
Expand All @@ -93,7 +92,6 @@ ruleTester.run(ruleName, rule, {
messageId: "errorString",
data: {
variableName: "div",
tagName: "div",
expectedName: "StyledDiv",
},
},
Expand All @@ -106,7 +104,6 @@ ruleTester.run(ruleName, rule, {
messageId: "errorString",
data: {
variableName: "span",
tagName: "span",
expectedName: "StyledSpan",
},
},
Expand All @@ -119,7 +116,6 @@ ruleTester.run(ruleName, rule, {
messageId: "errorString",
data: {
variableName: "p",
tagName: "p",
expectedName: "StyledP",
},
},
Expand All @@ -132,7 +128,6 @@ ruleTester.run(ruleName, rule, {
messageId: "errorString",
data: {
variableName: "styledDiv",
tagName: "div",
expectedName: "StyledDiv",
},
},
Expand All @@ -145,7 +140,6 @@ ruleTester.run(ruleName, rule, {
messageId: "errorString",
data: {
variableName: "FooBar",
tagName: "foo-bar",
expectedName: "StyledFooBar",
},
},
Expand All @@ -158,7 +152,6 @@ ruleTester.run(ruleName, rule, {
messageId: "errorString",
data: {
variableName: "FooBar",
tagName: "foo_bar",
expectedName: "StyledFooBar",
},
},
Expand All @@ -171,7 +164,6 @@ ruleTester.run(ruleName, rule, {
messageId: "errorString",
data: {
variableName: "FooBar",
tagName: "FooBar",
expectedName: "StyledFooBar",
},
},
Expand Down

0 comments on commit fa7a720

Please sign in to comment.