From 3189409b7cd64b52739a918c61c2aafede13995b Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Fri, 28 Apr 2017 17:33:25 +0100 Subject: [PATCH] Remove separate stylelint config for VE Change-Id: I2698ef817a27a783f19b73c2780ba7410640a2b8 --- Gruntfile.js | 22 +++++----------------- modules/ve-math/.stylelintrc | 3 --- 2 files changed, 5 insertions(+), 20 deletions(-) delete mode 100644 modules/ve-math/.stylelintrc 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" -}