forked from gpbl/react-day-picker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
36 lines (35 loc) · 791 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
{
"parser": "babel-eslint",
"plugins": ["prettier"],
"extends": ["airbnb", "prettier", "prettier/react"],
"rules": {
"prettier/prettier": "error",
"no-console": [
"error",
{
"allow": ["warn", "error"]
}
],
"no-return-assign": "off",
"no-restricted-globals": "off",
"import/named": "on",
"import/no-named-as-default": "off",
"react/jsx-filename-extension": "off",
"react/require-default-props": "off",
"react/destructuring-assignment": "off",
"react/sort-comp": [
1,
{
"order": [
"static-methods",
"instance-variables",
"lifecycle",
"everything-else",
"/^handle.+$/",
"/^render.+$/",
"render"
]
}
]
}
}