diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2020-02-26 05:29:52 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2020-02-26 05:29:52 -0500 |
| commit | 6a58672e6f01d3db7d1b43f4d9548dd2c23cdebe (patch) | |
| tree | 79a7c931ea8ba916ed5838321219f4be24c6f00e | |
| parent | a536db4641424c6a4ce4a9740693e00ecff9442d (diff) | |
add stylelint to validation
| -rw-r--r-- | .stylelintrc.json | 9 | ||||
| -rwxr-xr-x | validate_static | 1 |
2 files changed, 10 insertions, 0 deletions
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 |
