| 123456789101112131415161718192021222324252627282930 |
- /* global module */
- 'use strict';
- module.exports = function( grunt ) {
- grunt.initConfig( {
- pkg: grunt.file.readJSON( 'package.json' ),
- jshint: {
- options: {
- 'ignores': lintIgnores
- }
- },
- jscs: {
- options: {
- 'excludeFiles': lintIgnores
- }
- }
- } );
- grunt.loadTasks( 'dev/tasks' );
- grunt.registerTask( 'default', [ 'jshint:git', 'jscs' ] );
- };
- var lintIgnores = [
- 'node_modules/**',
- 'build/**'
- ];
|