-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGruntfile.js
42 lines (39 loc) · 961 Bytes
/
Gruntfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
module.exports = function(grunt) {
// Jshint options - http://jshint.com/docs/options/
grunt.initConfig({
jshint: {
files: ['Gruntfile.js',
'app.js',
'bin/*.js',
'config/*.js',
'email/*.js',
'log/*.js',
'migrations/*.js',
'models/*.js',
'public/javascript/*.js',
'routes/*.js',
'seeders/*.js',
'util/*.js',
'test/*.js',
],
options: {
node: true,
curly: true,
immed: true,
newcap: false,
noarg: true,
sub: true,
boss: true,
eqnull: true,
laxbreak: true,
esversion: 6,
globals: {
jQuery: true
}
}
}
});
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('default', ['jshint']);
};