forked from Kikobeats/sails-hook-newrelic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.jshintrc
executable file
·55 lines (47 loc) · 1.44 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
// 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
// "bitwise": true,
// "camelcase": true,
// "node": true,
// "undef": true,
// "unused": true,
// "curly": true,
// "immed": true,
// "latedef": true,
// "noarg": true,
// "noempty": true,
// "plusplus": true,
// "quotmark": "single",
// "trailing": true,
// "asi": false,
// "eqnull": true,
// "eval": true,
// "sub": true,
// "supernew": true,
// "eqeqeq": true,
// "eqnull": true
}