-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
48 lines (48 loc) · 1.07 KB
/
.eslintrc.json
File metadata and controls
48 lines (48 loc) · 1.07 KB
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
{
"extends": [
"airbnb",
"plugin:flowtype/recommended"
],
"plugins": [
"flowtype",
"compat",
"flowtype-errors",
"import"
],
"env": {
"browser": true,
"jest": true
},
"settings": {
"polyfills": ["fetch"],
"import/resolver": {
"babel-module": {
"extensions": [".js", ".jsx"]
}
}
},
"rules": {
"import/prefer-default-export": 0,
"semi": [2, "never"],
"no-unexpected-multiline": 2,
"compat/compat": 2,
"flowtype-errors/show-errors": 2,
"react/forbid-prop-types": [0, {
"forbid": ["object"]
}],
"flowtype/no-types-missing-file-annotation": 0,
"react/jsx-wrap-multilines": 0,
"function-paren-newline": 0,
"linebreak-style": 0,
"jsx-a11y/anchor-is-valid": ["error", {
"components": ["a"]
}],
"no-param-reassign": ["error", { "props": false }],
"max-len": ["error", { "code": 150 }],
"object-curly-newline": 0,
"react/jsx-first-prop-new-line": 0,
"react/jsx-max-props-per-line": 0,
"no-return-assign":0,
"no-case-declarations":0
}
}