Skip to content

Commit

Permalink
Change CSSLint to modern Stylelint
Browse files Browse the repository at this point in the history
  • Loading branch information
undergroundwires committed Dec 28, 2024
1 parent 25edd66 commit 3d0b483
Show file tree
Hide file tree
Showing 5 changed files with 1,521 additions and 93 deletions.
11 changes: 11 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": "stylelint-config-standard",
"rules": {
"selector-class-pattern": [
"^[a-z]([-]?[a-z0-9]+)*(__[a-z0-9]([-]?[a-z0-9]+)*)?(--[a-z0-9]([-]?[a-z0-9]+)*)?$",
{
"message": "Expected class selector to match BEM CSS pattern: https://en.bem.info/methodology/css"
}
]
}
}
Loading

0 comments on commit 3d0b483

Please sign in to comment.