-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
40 lines (40 loc) · 857 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
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
},
"extends": "airbnb",
"rules": {
"no-underscore-dangle": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/require-default-props": [0],
"react/forbid-prop-types": [0],
"function-paren-newline": ["error", "consistent"],
"jsx-a11y/anchor-is-valid": [
"error",
{
"components": [
"a"
],
"specialLink": [
"hrefLeft",
"hrefRight"
],
"aspects": [
"noHref",
"invalidHref",
"preferButton"
]
}
]
},
"globals": {
"__DEVELOPMENT__": true,
"__CLIENT__": true,
"__SERVER__": true,
"__DISABLE_SSR__": true,
"__DEVTOOLS__": true,
"webpackIsomorphicTools": true
}
}