From 6a58672e6f01d3db7d1b43f4d9548dd2c23cdebe Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 26 Feb 2020 05:29:52 -0500 Subject: [PATCH] add stylelint to validation --- .stylelintrc.json | 9 +++++++++ validate_static | 1 + 2 files changed, 10 insertions(+) create mode 100644 .stylelintrc.json diff --git a/.stylelintrc.json b/.stylelintrc.json new file mode 100644 index 00000000..6033bdb8 --- /dev/null +++ b/.stylelintrc.json @@ -0,0 +1,9 @@ +{ + "extends": "stylelint-config-standard", + "rules": { + "comment-empty-line-before": null, + "indentation": 4, + "no-descending-specificity": null, + "selector-list-comma-newline-after": null + } +} diff --git a/validate_static b/validate_static index 1079ad5e..645579d8 100755 --- a/validate_static +++ b/validate_static @@ -4,6 +4,7 @@ set -o errexit shopt -s globstar jshint --verbose static/**/*.js +stylelint static/**/*.css validatornu --Werror --skip-non-html static validatornu --Werror --skip-non-css static validatornu --Werror --skip-non-svg --no-langdetect static