mediawiki-extensions-Editcount/Gruntfile.js
Umherirrender 0295fa556a build: Replace jsonlint with eslint
Bug: T220036
Change-Id: Icce53006c311bf7201d4b69665b9edca81f173c5
2021-02-16 08:42:10 +01:00

25 lines
443 B
JavaScript

/* eslint-env node, es6 */
module.exports = function ( grunt ) {
grunt.loadNpmTasks( 'grunt-eslint' );
grunt.loadNpmTasks( 'grunt-banana-checker' );
grunt.initConfig( {
banana: {
all: 'i18n/'
},
eslint: {
options: {
cache: true
},
all: [
'**/*.{js,json}',
'!node_modules/**',
'!vendor/**'
]
}
} );
grunt.registerTask( 'test', [ 'eslint', 'banana' ] );
grunt.registerTask( 'default', 'test' );
};