forked from go-gitea/gitea
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace lesshint with stylelint (go-gitea#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.
- Loading branch information
1 parent
da23041
commit c37ec66
Showing
12 changed files
with
1,446 additions
and
236 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.