]> source.dussan.org Git - gitea.git/commit
replace lesshint with stylelint (#7305)
authorsilverwind <me@silverwind.io>
Thu, 27 Jun 2019 06:36:37 +0000 (08:36 +0200)
committerJonas Franz <info@jonasfranz.software>
Thu, 27 Jun 2019 06:36:36 +0000 (08:36 +0200)
commitc37ec66ee25b95525b9c8dfddd5a6f9a798150fe
tree4d941d3fa70d4a296157c90be075730af40f8158
parentda230412574daa9697b4cef24c7be6209b8884dc
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.
12 files changed:
.lesshintrc.json [deleted file]
.stylelintrc [new file with mode: 0644]
Makefile
package-lock.json
package.json
public/css/index.css
public/css/theme-arc-green.css
public/less/_form.less
public/less/_markdown.less
public/less/_repository.less
public/less/_user.less
public/less/themes/arc-green.less