Update and run existing stylelint

stylelint is part of config, but not run by default
Also update to 0.4.1, it is the current default in many wmf extensions

Change-Id: I55f81489182628c088e362e081417514e252e6d6
This commit is contained in:
Umherirrender 2017-07-18 20:56:21 +02:00
parent f86cfc6fc4
commit 211a54b568
5 changed files with 8 additions and 6 deletions

View File

@ -6,6 +6,7 @@
"background-size"
],
"selector-list-comma-newline-after": null,
"selector-no-id": null
"selector-no-id": null,
"value-keyword-case": null
}
}

View File

@ -49,12 +49,13 @@ module.exports = function ( grunt ) {
all: [
'*.json',
'**/*.json',
'.stylelintrc',
'!node_modules/**'
]
}
} );
grunt.registerTask( 'lint', [ 'eslint', 'jsonlint', 'banana' ] );
grunt.registerTask( 'lint', [ 'eslint', 'jsonlint', 'banana', 'stylelint' ] );
grunt.registerTask( 'test', [ 'lint' ] );
grunt.registerTask( 'default', [ 'test' ] );

View File

@ -14,7 +14,7 @@
"grunt-eslint": "19.0.0",
"grunt-jsonlint": "^1.1.0",
"grunt-notify": "^0.4.5",
"grunt-stylelint": "^0.6.0",
"stylelint-config-wikimedia": "^0.3.0"
"grunt-stylelint": "0.7.0",
"stylelint-config-wikimedia": "0.4.1"
}
}

View File

@ -90,7 +90,7 @@
button {
text-indent: inherit;
outline: none;
outline: 0;
}
&:first-child {

View File

@ -423,7 +423,7 @@ input.search {
.overlay .panel,
.page-list.side-list .list-thumb,
.overlay .cleanup li .issue-notice,
.editor-overlay .wikitext-editor
.editor-overlay .wikitext-editor,
.page-list li,
.topic-title-list li,
.site-link-list li,