-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy path.eslintrc
54 lines (50 loc) · 1.46 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
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module",
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
}
},
"extends": "airbnb",
"env": {
"browser": true
},
"rules": {
"jsx-a11y/anchor-has-content": 0,
"react/no-unused-prop-types": 0,
"react/no-children-prop": 0,
"react/sort-comp": 0,
"arrow-parens": [2, "always"],
"arrow-body-style": 0,
"consistent-return": 0,
"default-case": 0,
"indent": [2, 2, { "SwitchCase": 1, "MemberExpression": 1 }],
"func-names": 0,
"max-len": [1, 100, 2, {
"ignorePattern": "^import\\s.+\\sfrom\\s.+;$",
"ignoreUrls": true
}],
"multiline-ternary": 0,
"no-case-declarations": 0,
"no-console": 2,
"no-confusing-arrow": 0,
"no-multiple-empty-lines": [2, { "max": 1, "maxBOF": 1, "maxEOF": 1 }],
"no-param-reassign": 0,
"no-plusplus": 0,
"no-prototype-builtins": 0,
"no-underscore-dangle": 0,
"no-use-before-define": 0,
"no-unused-vars": [2, { "args": "none", "varsIgnorePattern": "^_$" }],
"react/jsx-filename-extension": [2, { "extensions": [".js"] }],
"react/prefer-stateless-function": 0,
"react/require-default-props": 0,
"import/no-extraneous-dependencies": 0,
"import/no-named-as-default": 0,
"import/no-named-as-default-member": 0,
"import/prefer-default-export": 0,
"jsx-quotes": ["error", "prefer-single"],
}
}