-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
41 lines (41 loc) · 923 Bytes
/
.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
{
"env": {
"browser": true,
"node": true,
"mocha": true,
"es6": true
},
"globals": {
},
"parserOptions": {
"ecmaVersion": 7,
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"extends": "airbnb",
"rules": {
"no-console": ["error", {
"allow": ["warn", "error", "info"]
}],
"comma-dangle": ["error", {
"arrays": "only-multiline",
"objects": "only-multiline",
"imports": "never",
"exports": "never",
"functions": "ignore",
}],
"no-restricted-properties": ["error", {
"object": "arguments",
"property": "callee",
"message": "arguments.callee is deprecated",
}, {
"property": "__defineGetter__",
"message": "Please use Object.defineProperty instead.",
}, {
"property": "__defineSetter__",
"message": "Please use Object.defineProperty instead.",
}],
}
}