File tree Expand file tree Collapse file tree 2 files changed +32
-15
lines changed Expand file tree Collapse file tree 2 files changed +32
-15
lines changed Original file line number Diff line number Diff line change 2222 // Define globals exposed by modern browsers.
2323 "browser" : true ,
2424
25- // Define globals exposed by jQuery.
26- "jquery" : true ,
27-
2825 // Define globals exposed by Node.js.
2926 "node" : true ,
3027
4340 // Suppress warnings about == null comparisons.
4441 "eqnull" : true ,
4542
43+ // Our code uses ECMAScript 6 specific syntax.
44+ "esnext" : true ,
45+
46+ // Suppresses warnings about the use of expressions where normally
47+ // you would expect to see assignments or function calls
48+ "expr" : true ,
49+
4650 // Enforce tab width of 2 spaces.
4751 "indent" : 2 ,
4852
6367
6468 // Warn when variables are defined but never used.
6569 "unused" : true ,
66-
67- // Enforce line length to 80 characters
68- "maxlen" : 80 ,
6970
70- // Enforce placing 'use strict' at the top function scope
71- "strict" : true
71+ // Enforce line length to 100 characters
72+ "maxlen" : 100 ,
73+
74+ // Suppresses warnings about mixed tabs and spaces when the latter are used for alignmnent only
75+ "smarttabs" : true ,
76+
77+ // Don't enforce placing 'use strict' at the top function scope
78+ "strict" : false
79+
7280 }
81+
7382}
Original file line number Diff line number Diff line change 77 // Define globals exposed by modern browsers.
88 "browser": true,
99
10- // Define globals exposed by jQuery.
11- "jquery": true,
12-
1310 // Define globals exposed by Node.js.
1411 "node": true,
1512
2825 // Suppress warnings about == null comparisons.
2926 "eqnull": true,
3027
28+ // Our code uses ECMAScript 6 specific syntax.
29+ "esnext": true,
30+
31+ // Suppresses warnings about the use of expressions where normally
32+ // you would expect to see assignments or function calls
33+ "expr": true,
34+
3135 // Enforce tab width of 2 spaces.
3236 "indent": 2,
3337
4953 // Warn when variables are defined but never used.
5054 "unused": true,
5155
52- // Enforce line length to 80 characters
53- "maxlen": 80,
56+ // Enforce line length to 100 characters
57+ "maxlen": 100,
58+
59+ // Suppresses warnings about mixed tabs and spaces when the latter are used for alignmnent only
60+ "smarttabs": true,
61+
62+ // Don't enforce placing 'use strict' at the top function scope
63+ "strict": false
5464
55- // Enforce placing 'use strict' at the top function scope
56- "strict": true
5765}
You can’t perform that action at this time.
0 commit comments