Skip to content

Commit

Permalink
ci: improve SCSS linting for variable names and class names
Browse files Browse the repository at this point in the history
BEM class names with _ are now allowed (somehow were not)
  • Loading branch information
Robbert committed Oct 21, 2021
1 parent 6eb2deb commit 26dae74
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
"order/properties-alphabetical-order": true,
"scss/at-rule-no-unknown": true,
"scss/dollar-variable-default": true,
"scss/dollar-variable-first-in-block": true,
"scss/dollar-variable-pattern": "/(example|utrecht)-[a-z0-9-]+/",
"scss/percent-placeholder-pattern": "/(example|utrecht)-[a-z0-9-]+/",
"custom-property-pattern": "(example|utrecht)-[a-z0-9-]+",
"selector-class-pattern": "(example|utrecht)-[a-z0-9-]+",
"keyframes-name-pattern": "(example|utrecht)-[a-z0-9-]+",
"scss/dollar-variable-first-in-block": [true, { "ignore": ["comments", "imports"] }],
"scss/dollar-variable-pattern": "^(example|utrecht)-[a-z0-9-]+$",
"scss/percent-placeholder-pattern": "^(example|utrecht)-[a-z0-9-]+$",
"custom-property-pattern": "^(example|utrecht)-[a-z0-9-]+$",
"selector-class-pattern": "^(example|utrecht)-[a-z0-9_-]+$",
"keyframes-name-pattern": "^(example|utrecht)-[a-z0-9-]+$",
"at-rule-no-unknown": null,
"block-no-empty": [true],
"color-no-invalid-hex": [true],
Expand Down

0 comments on commit 26dae74

Please sign in to comment.