forked from reactoroverflow/reactoroverflow.com
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathgruntfile.js
More file actions
35 lines (30 loc) · 735 Bytes
/
Copy pathgruntfile.js
File metadata and controls
35 lines (30 loc) · 735 Bytes
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
'use strict';
module.exports = function(grunt) {
grunt.initConfig({
jshint: {
files: ['gruntfile.js', 'index.js', 'server/**/*.js', 'lib/**/*.js', 'client/**/*.js'],
options: {
curly: true,
eqeqeq: true,
eqnull: true,
browser: true,
node: true,
strict: true,
smarttabs: false,
indent: 2,
globals: {
angular: true,
jQuery: true,
marked: true,
SimpleMDE: true,
_: true,
socket: true,
user: true,
$: true
},
}
}
});
require('load-grunt-tasks')(grunt); // npm install --save-dev load-grunt-tasks
grunt.registerTask('test', ['jshint']);
};