mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTree
synced 2024-11-16 04:33:11 +00:00
400a3ad210
Fixed the following rules: color-hex-case declaration-colon-space-after indentation Change-Id: I417137916607a25bab6a3c85a95b4c489fb8a8a5
35 lines
587 B
JavaScript
35 lines
587 B
JavaScript
/*!
|
|
* Grunt file
|
|
*
|
|
* @package CategoryTree
|
|
*/
|
|
|
|
/*jshint node:true */
|
|
module.exports = function ( grunt ) {
|
|
grunt.loadNpmTasks( 'grunt-jsonlint' );
|
|
grunt.loadNpmTasks( 'grunt-banana-checker' );
|
|
grunt.loadNpmTasks( 'grunt-stylelint' );
|
|
|
|
grunt.initConfig( {
|
|
banana: {
|
|
all: ['i18n/']
|
|
},
|
|
jsonlint: {
|
|
all: [
|
|
'**/*.json',
|
|
'.stylelintrc',
|
|
'!node_modules/**'
|
|
]
|
|
},
|
|
stylelint: {
|
|
all: [
|
|
'**/*.css',
|
|
'!node_modules/**'
|
|
]
|
|
}
|
|
} );
|
|
|
|
grunt.registerTask( 'test', [ 'jsonlint', 'banana', 'stylelint' ] );
|
|
grunt.registerTask( 'default', 'test' );
|
|
};
|