summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-01-04 12:53:05 +0100
committerArmand Philippot <git@armandphilippot.com>2022-01-04 12:53:05 +0100
commit1856796cef0989b10030906c9b1383d44800fb00 (patch)
treeb790ea4edcf512302529e7a58b674d78e5730a51
parent223e164ce8639ac2079d39bb04d7d03f9634ffed (diff)
build(stylelint): allow use of css modules selectors like global/local
-rw-r--r--.stylelintrc.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/.stylelintrc.json b/.stylelintrc.json
index 56d27b3..4263e95 100644
--- a/.stylelintrc.json
+++ b/.stylelintrc.json
@@ -36,6 +36,10 @@
"message": "Selector should use lowercase and separate words with hyphens or use BEM (selector-class-pattern)"
}
],
+ "selector-pseudo-class-no-unknown": [
+ true,
+ { "ignorePseudoClasses": ["global", "local"] }
+ ],
"scss/dollar-variable-empty-line-before": null,
"scss/dollar-variable-pattern": null,
"scss/double-slash-comment-whitespace-inside": null,