Skip to content

Commit 88d3454

Browse files
committed
Merge pull request #130 from bem/jshint
Updated jshint config
2 parents 9522330 + 532aac5 commit 88d3454

3 files changed

Lines changed: 4 additions & 14 deletions

File tree

.jshintrc

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
{
22
"bitwise": true,
33
"eqeqeq": true,
4-
"es3": true,
54
"forin": true,
65
"freeze": true,
76
"immed": true,
8-
"latedef": "nofucn",
7+
"latedef": "nofunc",
98
"noarg": true,
109
"noempty": true,
1110
"nonbsp": true,
@@ -16,10 +15,6 @@
1615
"browser": true,
1716
"node": true,
1817

19-
"globals": {
20-
"modules": false
21-
},
22-
2318
"expr": true,
2419
"sub": true
2520
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"mocha": "1.18.2",
4040
"must": "0.11.0",
4141
"istanbul": "0.3.0",
42-
"jshint": "2.6.0",
42+
"jshint": "2.8.0",
4343
"jscs": "1.11.3"
4444
},
4545
"scripts": {

test/.jshintrc

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
{
22
"bitwise": true,
3-
"curly": true,
43
"eqeqeq": true,
54
"forin": true,
65
"freeze": true,
76
"immed": true,
8-
"latedef": "nofucn",
7+
"latedef": "nofunc",
98
"noarg": true,
109
"noempty": true,
1110
"nonbsp": true,
@@ -15,11 +14,7 @@
1514

1615
"browser": true,
1716
"node": true,
18-
19-
"globals": {
20-
"describe": false,
21-
"it": false
22-
},
17+
"mocha": true,
2318

2419
"expr": true,
2520
"sub": true

0 commit comments

Comments
 (0)