forked from kyaroru/ReactNavDrawer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
39 lines (39 loc) · 1.06 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
{
"extends": "airbnb",
"parser": "babel-eslint",
"plugins": [
"react",
"flowtype"
],
"rules": {
"max-len": "off",
"no-shadow": "off",
"global-require": "off",
"no-underscore-dangle": ["error", { "allowAfterThis": false, "allow": ["_czc", "_active"] }],
"consistent-return": "off",
"react/sort-comp": [2, {
"order": [
"/^props$/",
"static-methods",
"lifecycle",
"/^on.+$/",
"/^(get|set)(?!(InitialState$|DefaultProps$|ChildContext$)).+$/",
"everything-else",
"/^render.+$/",
"render"
],
}],
"react/prefer-stateless-function": "off",
"no-use-before-define": "off",
"no-param-reassign": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/forbid-prop-types": "off",
"no-useless-escape": "off",
"import/no-extraneous-dependencies": "off",
"import/no-unresolved": "off",
"import/extensions": "off",
"import/export": "off",
"import/prefer-default-export": "off",
"no-undef": "off"
}
}