aboutsummaryrefslogtreecommitdiffstats
path: root/.stylelintrc.json
diff options
context:
space:
mode:
authormoisseev <moiseev@mezonplus.ru>2021-11-14 20:39:52 +0300
committermoisseev <moiseev@mezonplus.ru>2021-11-14 20:39:52 +0300
commit8d33c6634f3bd79c4bf42c869cd0d284a2fb3312 (patch)
treee8fa2f19c7c3e504b378e80b7aa90861e53eb4ce /.stylelintrc.json
parentc055b7192fcdfc88cc7616fb1c16624071e6362c (diff)
downloadrspamd-8d33c6634f3bd79c4bf42c869cd0d284a2fb3312.tar.gz
rspamd-8d33c6634f3bd79c4bf42c869cd0d284a2fb3312.zip
[Test] Add PostCSS syntaxes for embedded styles
(required since Stylelint 14.0.0)
Diffstat (limited to '.stylelintrc.json')
-rw-r--r--.stylelintrc.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/.stylelintrc.json b/.stylelintrc.json
index be1ea613f..ad79b181a 100644
--- a/.stylelintrc.json
+++ b/.stylelintrc.json
@@ -1,5 +1,15 @@
{
"extends": "stylelint-config-standard",
+ "overrides": [
+ {
+ "files": ["**/*.html"],
+ "customSyntax": "postcss-html"
+ },
+ {
+ "files": ["**/*.js"],
+ "customSyntax": "@stylelint/postcss-css-in-js"
+ }
+ ],
"ignoreFiles": [
"**/*.min.css",
"**/*.min.js",