diff options
author | silverwind <me@silverwind.io> | 2019-06-27 08:36:37 +0200 |
---|---|---|
committer | Jonas Franz <info@jonasfranz.software> | 2019-06-27 08:36:36 +0200 |
commit | c37ec66ee25b95525b9c8dfddd5a6f9a798150fe (patch) | |
tree | 4d941d3fa70d4a296157c90be075730af40f8158 /.stylelintrc | |
parent | da230412574daa9697b4cef24c7be6209b8884dc (diff) | |
download | gitea-c37ec66ee25b95525b9c8dfddd5a6f9a798150fe.tar.gz gitea-c37ec66ee25b95525b9c8dfddd5a6f9a798150fe.zip |
replace lesshint with stylelint (#7305)
New CSS linter which is much more powerfull than the previous one.
Configuration is default but I had to remove a few rules that were
throwing too many or weird errors.
More importantly, the linter will exit with code 1 on errors so now our
build will fail if the CSS linter fails which should eliminate linter
errors being introduced without notice.
Diffstat (limited to '.stylelintrc')
-rw-r--r-- | .stylelintrc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.stylelintrc b/.stylelintrc new file mode 100644 index 0000000000..a3eb6c3fb5 --- /dev/null +++ b/.stylelintrc @@ -0,0 +1,11 @@ +extends: stylelint-config-standard + +rules: + block-closing-brace-empty-line-before: null + color-hex-length: null + comment-empty-line-before: null + declaration-empty-line-before: null + indentation: 4 + no-descending-specificity: null + rule-empty-line-before: null + selector-pseudo-element-colon-notation: null |