diff options
author | moisseev <moiseev@mezonplus.ru> | 2021-11-14 20:39:52 +0300 |
---|---|---|
committer | moisseev <moiseev@mezonplus.ru> | 2021-11-14 20:39:52 +0300 |
commit | 8d33c6634f3bd79c4bf42c869cd0d284a2fb3312 (patch) | |
tree | e8fa2f19c7c3e504b378e80b7aa90861e53eb4ce /.stylelintrc.json | |
parent | c055b7192fcdfc88cc7616fb1c16624071e6362c (diff) | |
download | rspamd-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.json | 10 |
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", |