diff options
| author | Armand Philippot <git@armandphilippot.com> | 2021-12-16 15:50:16 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2021-12-16 15:50:16 +0100 |
| commit | e1678d1116aa462ddd2bc70d10496e37b053433e (patch) | |
| tree | 6204f0582f70062ba196feb96f5e1a23be521f04 | |
| parent | 4b3b71a7e44a01550fe4d7c0be67b72aae109e73 (diff) | |
build(linter): add rules to allow CSS modules composes property
| -rw-r--r-- | .stylelintrc.json | 6 | ||||
| -rw-r--r-- | .vscode/settings.json | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/.stylelintrc.json b/.stylelintrc.json index 4754334..56d27b3 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -23,6 +23,12 @@ "ignorePattern": ["/https?://[0-9,a-z]*.*/"] } ], + "property-no-unknown": [ + true, + { + "ignoreProperties": ["composes"] + } + ], "selector-id-pattern": null, "selector-class-pattern": [ "^([a-z][a-z0-9]*)((-|--|__)[a-z0-9]+)*$", diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..feac877 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,4 @@ +{ + "css.lint.validProperties": ["composes"], + "scss.lint.validProperties": ["composes"] +} |
