-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc
31 lines (31 loc) · 958 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
{
"extends": "airbnb",
"parserOptions": {
"ecmaFeatures": {
"defaultParams": false,
"destructuring": false,
"forOf": true,
"generators": true,
"modules": false,
"restParams": true
},
"sourceType": "script"
},
"rules": {
"func-names": 0,
"strict": [2, "global"],
"indent": [2, 4, {"SwitchCase": 1}],
"space-before-function-paren": [2, {"anonymous": "always", "named": "always"}],
"no-restricted-syntax": ["error", "ForInStatement", "LabeledStatement", "WithStatement"],
"comma-dangle": [2, "never"],
"padded-blocks": 0,
"no-console": [2],
"no-underscore-dangle": 0,
"no-continue": 0,
"lines-around-directive": 0,
"no-plusplus": 0,
"import/no-extraneous-dependencies": 0,
"require-yield": 0,
"class-methods-use-this": 0
}
}