1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-01 23:28:36 +00:00

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.
This commit is contained in:
silverwind
2019-06-27 08:36:37 +02:00
committed by Jonas Franz
parent da23041257
commit c37ec66ee2
12 changed files with 1441 additions and 231 deletions

View File

@@ -5,8 +5,9 @@
"eslint": "5.16.0",
"less": "3.9.0",
"less-plugin-clean-css": "1.5.1",
"lesshint": "6.3.6",
"postcss-cli": "6.1.2",
"stylelint": "10.1.0",
"stylelint-config-standard": "18.3.0",
"updates": "8.1.0"
},
"browserslist": [