mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-11 16:58:38 +00:00
build: Run stylelint for less file
Fix the watch command Change-Id: I4e3528c9c701b1f690a016d9b74e4950130b9e1c
This commit is contained in:
parent
aee227f53d
commit
67737d5426
|
@ -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 %>'
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue