aboutsummaryrefslogtreecommitdiffstats
path: root/.stylelintrc.json
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2019-04-06 20:47:52 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2019-04-06 20:59:31 +0300
commitfbffe544a6775f14d682847833b88eb3680e2dfd (patch)
tree8c2b7e5ae68fe1175a7fa0828b0b36e1adddb89b /.stylelintrc.json
parentc61885aa0477f4243bd5206d397d506148d481d5 (diff)
downloadrspamd-fbffe544a6775f14d682847833b88eb3680e2dfd.tar.gz
rspamd-fbffe544a6775f14d682847833b88eb3680e2dfd.zip
[Test] Add stylelint checks for CSS
and embedded styles
Diffstat (limited to '.stylelintrc.json')
-rw-r--r--.stylelintrc.json17
1 files changed, 17 insertions, 0 deletions
diff --git a/.stylelintrc.json b/.stylelintrc.json
new file mode 100644
index 000000000..b25642b8f
--- /dev/null
+++ b/.stylelintrc.json
@@ -0,0 +1,17 @@
+{
+ "extends": "stylelint-config-standard",
+ "ignoreFiles": [
+ "**/*.min.css",
+ "**/*.min.js",
+ "interface/css/d3evolution.css",
+ "interface/css/nprogress.css"
+ ],
+ "rules": {
+ "at-rule-empty-line-before": null,
+ "color-hex-length": null,
+ "comment-empty-line-before": null,
+ "indentation": 4,
+ "number-leading-zero": null,
+ "rule-empty-line-before": null
+ }
+}