mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-23 23:25:02 +00:00
Remove separate stylelint config for VE
Change-Id: I2698ef817a27a783f19b73c2780ba7410640a2b8
This commit is contained in:
parent
9e1986131c
commit
3189409b7c
22
Gruntfile.js
22
Gruntfile.js
|
@ -17,28 +17,16 @@ module.exports = function ( grunt ) {
|
|||
]
|
||||
},
|
||||
stylelint: {
|
||||
core: {
|
||||
src: [
|
||||
'**/*.css',
|
||||
'!modules/ve-math/**',
|
||||
'!node_modules/**'
|
||||
]
|
||||
},
|
||||
've-math': {
|
||||
options: {
|
||||
configFile: 'modules/ve-math/.stylelintrc'
|
||||
},
|
||||
src: [
|
||||
'modules/ve-math/**/*.css'
|
||||
]
|
||||
}
|
||||
all: [
|
||||
'**/*.css',
|
||||
'!node_modules/**'
|
||||
]
|
||||
},
|
||||
watch: {
|
||||
files: [
|
||||
'.{stylelintrc,.eslintrc.json}',
|
||||
'<%= eslint.all %>',
|
||||
'<%= stylelint.core.src %>',
|
||||
'<%= stylelint[ "ve-math" ].src %>'
|
||||
'<%= stylelint.all %>'
|
||||
],
|
||||
tasks: 'test'
|
||||
},
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"extends": "stylelint-config-wikimedia"
|
||||
}
|
Loading…
Reference in a new issue