aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2018-05-10 13:29:47 +0200
committerArthurHoaro <arthur@hoa.ro>2018-05-10 13:29:47 +0200
commit03b483aa45ca994c0d75010e2008a8f0bfcf7ed3 (patch)
treec4ab060db6f6991025d743cf8084c28b8bfafd31 /Makefile
parent9d0fc862507e1933e447b3c3e92a438400aad263 (diff)
downloadShaarli-03b483aa45ca994c0d75010e2008a8f0bfcf7ed3.tar.gz
Shaarli-03b483aa45ca994c0d75010e2008a8f0bfcf7ed3.tar.zst
Shaarli-03b483aa45ca994c0d75010e2008a8f0bfcf7ed3.zip
Add SASSLint makefile target, and run it in CI
Also move ESLint and SASSLint config files to a dedicated .dev folder
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d1216569..4adbdd68 100644
--- a/Makefile
+++ b/Makefile
@@ -218,5 +218,9 @@ translate:
218 218
219### Run ESLint check against Shaarli's JS files 219### Run ESLint check against Shaarli's JS files
220eslint: 220eslint:
221 @yarn run eslint assets/vintage/js/ 221 @yarn run eslint -c .dev/.eslintrc.js assets/vintage/js/
222 @yarn run eslint assets/default/js/ 222 @yarn run eslint -c .dev/.eslintrc.js assets/default/js/
223
224### Run CSSLint check against Shaarli's SCSS files
225sasslint:
226 @yarn run sass-lint -c .dev/.sasslintrc 'assets/default/scss/*.scss' -v -q