Remove separate stylelint config for VE
Change-Id: I2698ef817a27a783f19b73c2780ba7410640a2b8
This commit is contained in:
parent
9e1986131c
commit
3189409b7c
16
Gruntfile.js
16
Gruntfile.js
|
@ -17,28 +17,16 @@ module.exports = function ( grunt ) {
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
stylelint: {
|
stylelint: {
|
||||||
core: {
|
all: [
|
||||||
src: [
|
|
||||||
'**/*.css',
|
'**/*.css',
|
||||||
'!modules/ve-math/**',
|
|
||||||
'!node_modules/**'
|
'!node_modules/**'
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
've-math': {
|
|
||||||
options: {
|
|
||||||
configFile: 'modules/ve-math/.stylelintrc'
|
|
||||||
},
|
|
||||||
src: [
|
|
||||||
'modules/ve-math/**/*.css'
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
watch: {
|
watch: {
|
||||||
files: [
|
files: [
|
||||||
'.{stylelintrc,.eslintrc.json}',
|
'.{stylelintrc,.eslintrc.json}',
|
||||||
'<%= eslint.all %>',
|
'<%= eslint.all %>',
|
||||||
'<%= stylelint.core.src %>',
|
'<%= stylelint.all %>'
|
||||||
'<%= stylelint[ "ve-math" ].src %>'
|
|
||||||
],
|
],
|
||||||
tasks: 'test'
|
tasks: 'test'
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"extends": "stylelint-config-wikimedia"
|
|
||||||
}
|
|
Loading…
Reference in New Issue