mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-27 17:20:40 +00:00
build: Remove grunt-contrib-csslint
This is no longer needed and useless since we switched all css files to less. Change-Id: I6c0ea55c236be94f3b612de2470585616d831dd8
This commit is contained in:
parent
96f1c4f2f4
commit
7e0a51b37f
|
@ -1,6 +1,5 @@
|
||||||
/*jshint node:true */
|
/*jshint node:true */
|
||||||
module.exports = function ( grunt ) {
|
module.exports = function ( grunt ) {
|
||||||
grunt.loadNpmTasks( 'grunt-contrib-csslint' );
|
|
||||||
grunt.loadNpmTasks( 'grunt-contrib-jshint' );
|
grunt.loadNpmTasks( 'grunt-contrib-jshint' );
|
||||||
grunt.loadNpmTasks( 'grunt-contrib-watch' );
|
grunt.loadNpmTasks( 'grunt-contrib-watch' );
|
||||||
grunt.loadNpmTasks( 'grunt-jsonlint' );
|
grunt.loadNpmTasks( 'grunt-jsonlint' );
|
||||||
|
@ -26,12 +25,6 @@ module.exports = function ( grunt ) {
|
||||||
'!tests/externals/**'
|
'!tests/externals/**'
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
csslint: {
|
|
||||||
options: {
|
|
||||||
csslintrc: '.csslintrc'
|
|
||||||
},
|
|
||||||
all: 'modules/**/*.css'
|
|
||||||
},
|
|
||||||
banana: {
|
banana: {
|
||||||
all: 'i18n/'
|
all: 'i18n/'
|
||||||
},
|
},
|
||||||
|
@ -51,7 +44,7 @@ module.exports = function ( grunt ) {
|
||||||
}
|
}
|
||||||
} );
|
} );
|
||||||
|
|
||||||
grunt.registerTask( 'lint', [ 'jshint', 'jscs', 'csslint', 'jsonlint', 'banana' ] );
|
grunt.registerTask( 'lint', [ 'jshint', 'jscs', 'jsonlint', 'banana' ] );
|
||||||
grunt.registerTask( 'test', 'lint' );
|
grunt.registerTask( 'test', 'lint' );
|
||||||
grunt.registerTask( 'default', 'test' );
|
grunt.registerTask( 'default', 'test' );
|
||||||
};
|
};
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"grunt": "0.4.5",
|
"grunt": "0.4.5",
|
||||||
"grunt-cli": "0.1.13",
|
"grunt-cli": "0.1.13",
|
||||||
"grunt-contrib-csslint": "0.4.0",
|
|
||||||
"grunt-contrib-jshint": "0.12.0",
|
"grunt-contrib-jshint": "0.12.0",
|
||||||
"grunt-contrib-watch": "0.6.1",
|
"grunt-contrib-watch": "0.6.1",
|
||||||
"grunt-banana-checker": "0.4.0",
|
"grunt-banana-checker": "0.4.0",
|
||||||
|
|
Loading…
Reference in a new issue