diff options
author | ArthurHoaro <arthur@hoa.ro> | 2018-05-10 13:29:47 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2018-05-10 13:29:47 +0200 |
commit | 03b483aa45ca994c0d75010e2008a8f0bfcf7ed3 (patch) | |
tree | c4ab060db6f6991025d743cf8084c28b8bfafd31 /Makefile | |
parent | 9d0fc862507e1933e447b3c3e92a438400aad263 (diff) | |
download | Shaarli-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-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 |
220 | eslint: | 220 | eslint: |
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 | ||
225 | sasslint: | ||
226 | @yarn run sass-lint -c .dev/.sasslintrc 'assets/default/scss/*.scss' -v -q | ||