phaser/v2/tasks/options/jshint.js
2016-11-23 00:17:46 +00:00

34 lines
821 B
JavaScript
Executable file

module.exports = {
src: {
src: [
'src/**/*.js',
'!src/Intro.js',
'!src/Outro.js',
'!src/pixi/**/*',
'!src/plugins/path/**/*.js',
'!src/physics/p2/p2.js',
'!src/animation/creature/gl-matrix.js',
'!src/animation/creature/CreatureMeshBone.js',
'!src/gameobjects/Creature.js',
'!src/stubs/*.js'
],
options: { jshintrc: '.jshintrc' }
},
filters: {
src: ['filters/**/*.js'],
options: { jshintrc: 'filters/.jshintrc', }
},
tooling: {
src: [
'Gruntfile.js',
'tasks/**/*.js'
],
options: { jshintrc: 'tasks/.jshintrc' }
},
options: {
force: (process.env.NODE_ENV !== 'test')
}
};