Skip to content

Commit

Permalink
Add stylelint rule: selector-class-pattern to allow camelcase.
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeMeongSu authored and LeeMeongSu committed Jun 25, 2023
1 parent c2e3c0e commit 28fd1d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
"value-no-vendor-prefix": null,
"alpha-value-notation": null,
"color-function-notation": null,
"selector-class-pattern":"^[a-z][a-zA-Z0-9]+$|^[A-Z][a-zA-Z0-9]+$"
"selector-class-pattern":"^([a-zA-Z]*)(-[a-zA-Z0-9]+)*$|^([a-z][a-z0-9]*)(-[a-z0-9]+)*$"
}
}
}

0 comments on commit 28fd1d6

Please sign in to comment.