Skip to content

Commit d633ffc

Browse files
committed
Remove jshint rules that are no longer supported
No Issue - grunt-contrib-jshint@0.11.0. - remove error about browser global Notification being redefined.
1 parent 2c1d662 commit d633ffc

File tree

4 files changed

+3
-14
lines changed

4 files changed

+3
-14
lines changed

.jshintrc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"node": true,
33
"browser": false,
4-
"nomen": false,
54
"strict": false,
65
"sub": true,
76
"eqeqeq": true,
@@ -19,9 +18,6 @@
1918
"regexp": true,
2019
"undef": true,
2120
"unused": true,
22-
"trailing": true,
2321
"indent": 4,
24-
"onevar": true,
25-
"white": true,
2622
"predef": [ "-Promise" ]
2723
}

core/client/.jshintrc

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"node": false,
33
"browser": true,
4-
"nomen": false,
54
"bitwise": true,
65
"curly": true,
76
"eqeqeq": true,
@@ -16,11 +15,8 @@
1615
"regexp": true,
1716
"undef": true,
1817
"unused": true,
19-
"trailing": true,
2018
"indent": 4,
2119
"esnext": true,
22-
"onevar": true,
23-
"white": true,
2420
"quotmark": "single",
2521
"globals": {
2622
"Ember": true,
@@ -32,5 +28,6 @@
3228
"ic": true,
3329
"NProgress": true,
3430
"moment": true
35-
}
31+
},
32+
"predef": ["-Notification"]
3633
}

core/test/.jshintrc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"node": true,
33
"browser": true,
4-
"nomen": false,
54
"strict": false,
65
"sub": true,
76
"eqeqeq": true,
@@ -19,10 +18,7 @@
1918
"regexp": true,
2019
"undef": true,
2120
"unused": true,
22-
"trailing": true,
2321
"indent": 4,
24-
"onevar": true,
25-
"white": true,
2622
"quotmark": "single",
2723
"predef": [ "-Promise" ]
2824
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"grunt-contrib-compress": "~0.11.0",
8282
"grunt-contrib-concat": "~0.5.0",
8383
"grunt-contrib-copy": "~0.5.0",
84-
"grunt-contrib-jshint": "~0.10.0",
84+
"grunt-contrib-jshint": "~0.11.0",
8585
"grunt-contrib-uglify": "~0.6.0",
8686
"grunt-contrib-watch": "~0.6.1",
8787
"grunt-docker": "~0.0.8",

0 commit comments

Comments
 (0)