-
Notifications
You must be signed in to change notification settings - Fork 2
/
.jshintrc
34 lines (27 loc) · 1.02 KB
/
.jshintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
// To fix column positions for JSHint errors you may want to add `"indent": 1` to your
// **User** "jshint_options". This issue affects users with tabs for indentation.
// This fix was reverted due to a conflict with using the `"white": true` option.
// "indent": 1,
"evil": true,
"regexdash": true,
"browser": true,
"wsh": true,
"sub": true,
// Suppress warnings about mixed tabs and spaces
"smarttabs": true,
// Suppress warnings about trailing whitespace
"trailing": false,
// Suppress warnings about the use of expressions where fn calls or assignments are expected
"expr": true,
// Suppress warnings about using functions inside loops (useful for inifinityCounters)
"loopfunc": true,
// Suppress warnings about using assignments where conditionals are expected
"boss": true,
// Suppress warnings about "weird constructions"
// i.e. allow code like:
// (new (function OneTimeUsePrototype () { } ))
"supernew": true,
// Allow backwards, node-dependency-style commas
"laxcomma": true
}