summaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2019-06-27 08:36:37 +0200
committerJonas Franz <info@jonasfranz.software>2019-06-27 08:36:36 +0200
commitc37ec66ee25b95525b9c8dfddd5a6f9a798150fe (patch)
tree4d941d3fa70d4a296157c90be075730af40f8158 /package.json
parentda230412574daa9697b4cef24c7be6209b8884dc (diff)
downloadgitea-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 'package.json')
-rw-r--r--package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json
index 5d352c5ca2..b046430e41 100644
--- a/package.json
+++ b/package.json
@@ -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": [