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