add stylelint to validation
This commit is contained in:
parent
a536db4641
commit
6a58672e6f
9
.stylelintrc.json
Normal file
9
.stylelintrc.json
Normal 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
|
||||||
|
}
|
||||||
|
}
|
@ -4,6 +4,7 @@ set -o errexit
|
|||||||
shopt -s globstar
|
shopt -s globstar
|
||||||
|
|
||||||
jshint --verbose static/**/*.js
|
jshint --verbose static/**/*.js
|
||||||
|
stylelint static/**/*.css
|
||||||
validatornu --Werror --skip-non-html static
|
validatornu --Werror --skip-non-html static
|
||||||
validatornu --Werror --skip-non-css static
|
validatornu --Werror --skip-non-css static
|
||||||
validatornu --Werror --skip-non-svg --no-langdetect static
|
validatornu --Werror --skip-non-svg --no-langdetect static
|
||||||
|
Loading…
x
Reference in New Issue
Block a user