forked from Cellule/dndGenerator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
79 lines (79 loc) · 1.8 KB
/
.eslintrc
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// DO NOT EDIT THIS FILE - USE eslint-myrules config
{
"parser": "babel-eslint",
"env": {
"node": true
},
"globals": {
"__DEV__": false,
"__PROD__": false
},
"plugins": ["shadow-exception"],
"ecmaFeatures": {
"arrowFunctions": true,
"binaryLiterals": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"generators": true,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"octalLiterals": true,
"regexUFlag": true,
"regexYFlag": true,
"spread": true,
"superInFunctions": true,
"templateStrings": true,
"unicodeCodePointEscapes": true,
"globalReturn": true,
"jsx": true
},
"rules": {
"shadow-exception/no-shadow": [2, {
"exceptions": {
"err": true,
"next": true,
"callback": true,
"cb": true,
"res": true,
"result": true,
"response": true
}
}],
"no-shadow": 0,
"camelcase": 1,
"curly": [2, "all"],
"indent": [2, 2],
"max-len": [1, 80],
"no-else-return": 2,
"no-eq-null": 2,
"no-self-compare": 2,
"no-throw-literal": 2,
"no-unused-vars": [2, {
"args": "after-used"
}],
"quotes": [2, "double"],
"wrap-iife": [2, "outside"],
"yoda": [2, "never", {
"exceptRange": true
}],
"space-infix-ops": 2,
"no-new": 1,
"no-multi-spaces": [2, {
"exceptions": {
"VariableDeclarator": true
}
}],
"no-use-before-define": [2, "nofunc"],
"comma-dangle": 0,
"consistent-return": 0,
"no-mixed-requires": 0,
"no-underscore-dangle": 0,
"strict": 0
}
}