MDL-56423 stylelint: ignore custom.css files

The files have non-standard css syntax and with stylelint 7.4.1
it can no longer cope with it.
This commit is contained in:
Dan Poltawski
2016-10-13 10:01:31 +01:00
parent 5c8445b5cd
commit 36650f11d3
4 changed files with 10 additions and 3 deletions
+2
View File
@@ -1,5 +1,7 @@
# Generated by "grunt ignorefiles"
theme/bootstrapbase/style/
theme/clean/style/custom.css
theme/more/style/custom.css
node_modules/
vendor/
auth/cas/CAS/
+6 -1
View File
@@ -221,7 +221,12 @@ module.exports = function(grunt) {
var eslintIgnores = ['# Generated by "grunt ignorefiles"', '*/**/yui/src/*/meta/', '*/**/build/'].concat(thirdPartyPaths);
grunt.file.write('.eslintignore', eslintIgnores.join('\n'));
// Generate .stylelintignore.
var stylelintIgnores = ['# Generated by "grunt ignorefiles"', 'theme/bootstrapbase/style/'].concat(thirdPartyPaths);
var stylelintIgnores = [
'# Generated by "grunt ignorefiles"',
'theme/bootstrapbase/style/',
'theme/clean/style/custom.css',
'theme/more/style/custom.css'
].concat(thirdPartyPaths);
grunt.file.write('.stylelintignore', stylelintIgnores.join('\n'));
};
+1 -1
View File
@@ -37,4 +37,4 @@ img.small-logo {
/* Custom CSS Settings
-------------------------*/
[[setting:customcss]] /* stylelint-disable-line */
[[setting:customcss]]
+1 -1
View File
@@ -37,4 +37,4 @@ img.small-logo {
/* Custom CSS Settings
-------------------------*/
[[setting:customcss]] /* stylelint-disable-line */
[[setting:customcss]]