MDL-55167 stylelint: disable some rules in grunt

These will be fixed in a later issue
This commit is contained in:
Dan Poltawski 2016-07-08 17:26:11 +01:00
parent 3bd777652e
commit b4fe4e25b2

View File

@ -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/*'],
}
}