/*jshint node:true */
module.exports = function ( grunt ) {
grunt.loadNpmTasks( 'grunt-contrib-jshint' );
+ grunt.loadNpmTasks( 'grunt-banana-checker' );
grunt.loadNpmTasks( 'grunt-contrib-watch' );
grunt.loadNpmTasks( 'grunt-jscs-checker' );
return patterns;
}, [] ) )
},
+ banana: {
+ core: 'languages/i18n/',
+ installer: 'includes/installer/i18n/'
+ },
watch: {
files: [
'.{jshintrc,jscs.json,jshintignore,csslintrc}',
}
} );
- grunt.registerTask( 'lint', ['jshint', 'jscs'] );
+ grunt.registerTask( 'lint', ['jshint', 'jscs', 'banana'] );
grunt.registerTask( 'test', ['lint'] );
grunt.registerTask( 'default', ['test'] );
};
"grunt": "0.4.2",
"grunt-contrib-jshint": "0.9.2",
"grunt-contrib-watch": "0.6.1",
+ "grunt-banana-checker": "0.1.0",
"grunt-jscs-checker": "0.4.1"
}
}