diff --git a/Gruntfile.js b/Gruntfile.js index fdb7833..3200e47 100644 --- a/Gruntfile.js +++ b/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' }, diff --git a/modules/ve-math/.stylelintrc b/modules/ve-math/.stylelintrc deleted file mode 100644 index 2c90730..0000000 --- a/modules/ve-math/.stylelintrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "stylelint-config-wikimedia" -}