diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-04 12:53:05 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-04 12:53:05 +0100 |
| commit | 1856796cef0989b10030906c9b1383d44800fb00 (patch) | |
| tree | b790ea4edcf512302529e7a58b674d78e5730a51 /.stylelintrc.json | |
| parent | 223e164ce8639ac2079d39bb04d7d03f9634ffed (diff) | |
build(stylelint): allow use of css modules selectors like global/local
Diffstat (limited to '.stylelintrc.json')
| -rw-r--r-- | .stylelintrc.json | 4 |
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, |
