forked from CharlesMangwa/react-data-fetching
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
45 lines (45 loc) · 1.08 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
{
"parser": "babel-eslint",
"extends": [
"airbnb",
"plugin:flowtype/recommended",
"plugin:prettier/recommended",
"prettier",
"prettier/flowtype",
"prettier/react"
],
"plugins": ["babel", "react", "flowtype", "prettier"],
"env": {
"browser": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"curly": ["error", "multi-or-nest"],
"function-paren-newline": 0,
"import/no-extraneous-dependencies": 0,
"max-len": [
"error",
{ "code": 80 },
{ "ignoreStrings": true },
{ "ignoreTemplateLiterals": true }
],
"no-console": 0,
"no-nested-ternary": 0,
"no-underscore-dangle": 0,
"no-unused-expressions": ["error", { "allowTernary": true }],
"object-curly-newline": ["error", { "consistent": true }],
"react/destructuring-assignment": 0,
"react/forbid-prop-types": 0,
"react/jsx-filename-extension": 0,
"react/no-typos": 0,
"react/sort-comp": 0,
"semi": [2, "never"]
}
}