aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-05-23 15:54:21 +0200
committerGitHub <noreply@github.com>2023-05-23 13:54:21 +0000
commita9d417341c2e27df3fec2946dddbf30384734d64 (patch)
tree2cbd48aaab84685e1d9eb6c4c64877da3525cf54 /Makefile
parent116066ecfa6ff3c3f14f68172adbd8798b633c3c (diff)
downloadgitea-a9d417341c2e27df3fec2946dddbf30384734d64.tar.gz
gitea-a9d417341c2e27df3fec2946dddbf30384734d64.zip
Run stylelint on .vue files (#24865)
- Run stylelint on .vue files - Fix discovered issues - Suppress warning spam from `declaration-strict-value` rule Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3d777505a5..fde7e990c5 100644
--- a/Makefile
+++ b/Makefile
@@ -372,11 +372,11 @@ lint-js-fix: node_modules
.PHONY: lint-css
lint-css: node_modules
- npx stylelint --color --max-warnings=0 web_src/css
+ npx stylelint --color --max-warnings=0 web_src/css web_src/js/components/*.vue
.PHONY: lint-css-fix
lint-css-fix: node_modules
- npx stylelint --color --max-warnings=0 web_src/css --fix
+ npx stylelint --color --max-warnings=0 web_src/css web_src/js/components/*.vue --fix
.PHONY: lint-swagger
lint-swagger: node_modules