Skip to content

Commit 482a776

Browse files
committed
Added real rules for jshint.
1 parent 7c6dcd9 commit 482a776

File tree

2 files changed

+23
-9
lines changed

2 files changed

+23
-9
lines changed

.hound.yml

-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
11
java_script:
22
enabled: true
33
config_file: .jshint
4-
5-
LineLength:
6-
Enabled: false
7-
8-
StringLiterals:
9-
Enabled: false

.jshint

+23-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,28 @@
11
{
2-
"smarttabs": true,
3-
"onecase": true,
2+
"asi": true,
3+
"bitwise": false,
4+
"browser": true,
5+
"camelcase": false, // Disabled for now.
46
"curly": true,
57
"forin": true,
8+
"immed": true,
9+
"latedef": true,
10+
"maxlen": 1000,
11+
"newcap": true,
12+
"noarg": true,
13+
"noempty": false, // Disabled for now.
14+
"nonew": true,
15+
"onecase": true,
16+
"predef": [
17+
"define",
18+
"require",
19+
"console"
20+
],
21+
"quotmark": false,
22+
"smarttabs": true,
623
"trailing": true,
7-
"asi": true
24+
"undef": true,
25+
"unused": false // Disabled for now
826
}
27+
28+

0 commit comments

Comments
 (0)