Skip to content

Commit 327503b

Browse files
committed
jslintrc file for tests was added
1 parent f751569 commit 327503b

File tree

2 files changed

+33
-17
lines changed

2 files changed

+33
-17
lines changed

.jshintrc

+17-17
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"node": true,
3-
"freeze": true,
4-
"maxlen": 100,
5-
"smarttabs": true,
6-
"indent": 1,
7-
"quotmark": "single",
8-
"strict": true,
9-
"globalstrict": true,
10-
// use es3 to get 'extra comma' at object literal error
11-
"es3": true,
12-
"undef": true,
13-
"unused": true,
14-
"immed": true,
15-
"eqeqeq": true,
16-
"globals": {
17-
"JSON": false
18-
}
2+
"node": true,
3+
"freeze": true,
4+
"maxlen": 100,
5+
"smarttabs": true,
6+
"indent": 1,
7+
"quotmark": "single",
8+
"strict": true,
9+
"globalstrict": true,
10+
// use es3 to get 'extra comma' at object literal error
11+
"es3": true,
12+
"undef": true,
13+
"unused": true,
14+
"immed": true,
15+
"eqeqeq": true,
16+
"globals": {
17+
"JSON": false
18+
}
1919
}

tests/.jshintrc

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"node": true,
3+
"freeze": true,
4+
"maxlen": 100,
5+
"smarttabs": true,
6+
"indent": 1,
7+
"quotmark": "single",
8+
"strict": true,
9+
"globalstrict": true,
10+
"undef": true,
11+
"unused": true,
12+
"immed": true,
13+
"eqeqeq": true,
14+
"expr": true,
15+
"mocha": true
16+
}

0 commit comments

Comments
 (0)