Skip to content

Commit 73e8af5

Browse files
committed
Add .jshintrc and adjust code to pass
1 parent 63d4b3f commit 73e8af5

File tree

5 files changed

+131
-121
lines changed

5 files changed

+131
-121
lines changed

.jshintrc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"boss": true,
3+
"curly": true,
4+
"eqeqeq": true,
5+
"eqnull": true,
6+
"expr": true,
7+
"immed": true,
8+
"noarg": true,
9+
"onevar": true,
10+
"quotmark": "single",
11+
"smarttabs": true,
12+
"trailing": true,
13+
"unused": true,
14+
"node": true,
15+
"multistr": true,
16+
"onevar": false
17+
}

Gruntfile.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ module.exports = function(grunt) {
1515
// config for jshint
1616
jshint: {
1717
options: {
18-
eqeqeq: true,
19-
trailing: true
18+
jshintrc: true
2019
},
2120
target: {
2221
src: ['src/**/*.js']

0 commit comments

Comments
 (0)