forked from form-data/form-data
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
54 lines (48 loc) · 1.06 KB
/
.eslintrc
File metadata and controls
54 lines (48 loc) · 1.06 KB
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
{
"root": true,
"extends": "@ljharb",
"rules": {
"indent": [2, 2, {"SwitchCase": 2}],
// "curly": [2, "multi-line"],
"handle-callback-err": [2, "^err"],
"valid-jsdoc": [2, {
"requireReturn": false,
"requireReturnDescription": false,
"prefer": {
"return": "returns"
}
}],
"require-jsdoc": [2, {
"require": {
"FunctionDeclaration": true
}
}],
"no-redeclare": [2, { "builtinGlobals": true }],
"no-shadow": [2, { "builtinGlobals": false, "hoist": "all" }],
"no-use-before-define": [2, "nofunc"],
"no-shadow-restricted-names": 2,
"no-extra-semi": 2,
"no-unused-vars": 2,
"no-undef": 2,
"strict": 0,
"dot-notation": 0,
"no-new": 0,
"eqeqeq": 0,
"no-underscore-dangle": 0,
"camelcase": 0,
"func-style": 0,
"max-lines": 0,
"id-length": 1,
"multiline-comment-style": 0,
"no-plusplus": 1,
"no-caller": 1,
},
"env": {
"node": true
},
"ignorePatterns": [
"node_modules/*",
"index.d.ts",
"coverage",
],
}