From b4fe4e25b296cae0e2a95c8ca5aa8ebb2d59dbd5 Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Fri, 8 Jul 2016 17:26:11 +0100 Subject: [PATCH] MDL-55167 stylelint: disable some rules in grunt These will be fixed in a later issue --- Gruntfile.js | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index e26a294f7c1..4d9a81dc9cc 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -172,7 +172,22 @@ module.exports = function(grunt) { }, stylelint: { less: { - options: {syntax: 'less'}, + options: { + syntax: 'less', + configOverrides: { + rules: { + // TODO: MDL-55165 -Enable these rules once we make output-changing changes to less. + "declaration-block-no-ignored-properties": null, + "value-keyword-case": null, + "declaration-block-no-duplicate-properties": null, + "declaration-block-no-shorthand-property-overrides": null, + "selector-type-no-unknown": null, + "length-zero-no-unit": null, + "color-hex-case": null, + "color-hex-length": null + } + } + }, src: ['theme/**/*.less', '!theme/bootstrapbase/less/bootstrap/*'], } }