phaser/tasks/options/jshint.js

35 lines
811 B
JavaScript
Raw Normal View History

module.exports = {
src: {
src: [
'plugins/**/*.js',
'src/**/*.js',
'!src/Intro.js',
'!src/Outro.js',
'!src/pixi/**/*',
2015-04-13 22:19:05 +00:00
'!src/physics/p2/p2.js',
'!src/animation/creature/gl-matrix.js',
'!src/animation/creature/CreatureMeshBone.js',
2015-09-29 16:00:40 +00:00
'!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')
}
};