build: Run stylelint for less file

Fix the watch command

Change-Id: I4e3528c9c701b1f690a016d9b74e4950130b9e1c
This commit is contained in:
Umherirrender 2024-04-02 01:28:03 +02:00
parent aee227f53d
commit 67737d5426

View file

@ -12,13 +12,13 @@ module.exports = function ( grunt ) {
banana: conf.MessagesDirs, banana: conf.MessagesDirs,
stylelint: { stylelint: {
all: [ all: [
'**/*.css', '**/*.{css,less}',
'!{vendor,node_modules,modules/ve-math/tools/node_modules}/**' '!{vendor,node_modules,modules/ve-math/tools/node_modules}/**'
] ]
}, },
watch: { watch: {
files: [ files: [
'.{stylelintrc,.eslintrc}.json', '.{stylelintrc,eslintrc}.json',
'<%= eslint.all %>', '<%= eslint.all %>',
'<%= stylelint.all %>' '<%= stylelint.all %>'
], ],