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:
parent
f86cfc6fc4
commit
211a54b568
|
@ -6,6 +6,7 @@
|
|||
"background-size"
|
||||
],
|
||||
"selector-list-comma-newline-after": null,
|
||||
"selector-no-id": null
|
||||
"selector-no-id": null,
|
||||
"value-keyword-case": null
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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' ] );
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -90,7 +90,7 @@
|
|||
|
||||
button {
|
||||
text-indent: inherit;
|
||||
outline: none;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue