From 67737d5426a765c466ed1c63747c881be7168122 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Tue, 2 Apr 2024 01:28:03 +0200 Subject: [PATCH] build: Run stylelint for less file Fix the watch command Change-Id: I4e3528c9c701b1f690a016d9b74e4950130b9e1c --- Gruntfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index a8441e88f..bc53e611e 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -12,13 +12,13 @@ module.exports = function ( grunt ) { banana: conf.MessagesDirs, stylelint: { all: [ - '**/*.css', + '**/*.{css,less}', '!{vendor,node_modules,modules/ve-math/tools/node_modules}/**' ] }, watch: { files: [ - '.{stylelintrc,.eslintrc}.json', + '.{stylelintrc,eslintrc}.json', '<%= eslint.all %>', '<%= stylelint.all %>' ],