mirror of
https://github.com/moodle/moodle.git
synced 2025-04-19 07:25:30 +02:00
MDL-55167 stylelint: disable some rules in grunt
These will be fixed in a later issue
This commit is contained in:
parent
3bd777652e
commit
b4fe4e25b2
17
Gruntfile.js
17
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/*'],
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user