-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc
43 lines (43 loc) · 896 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
38
39
40
41
42
43
{
"parser": "babel-eslint",
"env": {
"browser": true,
"jest": true,
"es6": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:flowtype/recommended",
"airbnb",
"prettier",
"prettier/flowtype",
"prettier/react",
"prettier/standard"
],
"plugins": ["react", "flowtype"],
"rules": {
"import/no-named-as-default": 0,
"react/jsx-filename-extension": [
"error",
{ "extensions": [".js", ".jsx"] }
],
"quotes": ["error", "single", { "avoidEscape": true }],
"flowtype/no-types-missing-file-annotation": 0,
"jsx-a11y/anchor-is-valid": [
"error",
{
"components": ["Link"],
"specialLink": ["to"]
}
]
},
"settings": {
"import/resolver": {
"node": {
"moduleDirectory": ["node_modules", "./"]
}
}
}
}