-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
51 lines (51 loc) · 1.01 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
40
41
42
43
44
45
46
47
48
49
50
51
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"plugins": [
"import",
"jsx-a11y",
"react"
],
"extends": [
"airbnb",
"plugin:react/recommended"
],
"env": {
"browser": true
},
"globals": {
},
"rules": {
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 0,
"import/extensions": 0,
"no-underscore-dangle": [
"error",
{
"allow": [
"_id",
"_ensureIndex",
"_verifyEmailToken",
"_resetPasswordToken",
"_name",
"_execute"
]
}
],
"class-methods-use-this": 0,
"react/jsx-filename-extension": 0,
"react/forbid-prop-types": 0,
"max-len": [ "error", 80],
"no-absolute-path": 0,
"import/no-absolute-path": 0,
"jsx-a11y/href-no-hash": 0,
"no-mixed-operators": 0,
"import/prefer-default-export": 0,
"import/no-named-as-default": 0,
"jsx-a11y/no-static-element-interactions": 0
}
}