Skip to content

Commit

Permalink
Add missing commas to no-restricted-attr-values.md (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
fbasmaison-lucca authored Jan 3, 2025
1 parent 6c6756d commit 0096eeb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/rules/no-restricted-attr-values.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = {
rules: {
'@html-eslint/no-restricted-attr-values': ["error", {
attrPatterns: ["class"],
attrValuePatterns: ["data-.*"]
attrValuePatterns: ["data-.*"],
message: "\'data-x\' is restricted."
}]
}
Expand All @@ -35,12 +35,12 @@ module.exports = {
"error",
{
attrPatterns: ["class", "alt"],
attrValuePatterns: ["data-.*"]
attrValuePatterns: ["data-.*"],
message: "\'data-x\' is restricted."
},
{
attrPatterns: [".*"],
attrValuePatterns: ["^foo$"]
attrValuePatterns: ["^foo$"],
message: "\'foo\' is restricted."
}
],
Expand Down

0 comments on commit 0096eeb

Please sign in to comment.