add stylelint to validation

This commit is contained in:
Daniel Micay 2020-02-26 05:29:52 -05:00
parent a536db4641
commit 6a58672e6f
2 changed files with 10 additions and 0 deletions

9
.stylelintrc.json Normal file
View File

@ -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
}
}

View File

@ -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