forked from MozillaSecurity/funfuzz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.jshintrc
28 lines (22 loc) · 1.07 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
{
"maxerr": 10000,
// Relax the kinds of things fuzzers do
"moz": true,
"evil": true, // Allow eval
"scripturl": true,
// Relax style
"sub": true, // allow x["a"]
"eqnull": true, // i don't feel like examining all these spots and determining whether i mean "null" or "null or undefined"
"laxbreak": true, // i really like my operators lined up. i wish this warning would go away automatically when parenthesized (to defeat ASI)
"-W008": true, // .5 is fine by me
"-W097": true, // i understand the risks of using "use strict" at top level
"-W086": true, // false positives, e.g. { case 1: if (x) { return true; } else { return false; } default: } is incorrectly treated as missing a break
// Enforce style
// "latedef": "nofunc", // i only want this inside functions, not at top level
// "noempty": true, // i wish i could turn this off for empty 'else' blocks that contain comments
// "unused": "strict", // i'd have to get it to work across files
"noarg": true,
"nonbsp": true,
"nonew": true,
"trailing": true
}