-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
37 lines (37 loc) · 885 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
{
"extends": [
"airbnb",
"eslint:recommended",
"plugin:react/recommended",
"standard",
"plugin:destructuring/recommended"
],
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"mocha": true
},
"plugins": [
"react",
"destructuring"
],
"rules": {
"semi": [2, "always"],
"no-console": 0,
"no-unused-vars": 0,
"react/display-name": 0,
"react/prop-types": 0,
"react/no-multi-comp": 0,
"no-multi-spaces": 2,
"brace-style": [2, "stroustrup", { "allowSingleLine": true }],
"prefer-const": 2,
"no-const-assign": 2,
"no-var": 2,
"object-curly-spacing": [2, "always"],
"object-shorthand": 2,
"prefer-template": 2,
"require-jsdoc": [1, { "require": { "FunctionDeclaration": true, "MethodDefinition": true, "ClassDeclaration": true } }],
"comma-dangle": 0,
}
}