forked from hoangvvo/nextjs-mongodb-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
40 lines (40 loc) · 755 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
{
"extends": "airbnb",
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true
},
"rules": {
"no-underscore-dangle": [
"error",
{
"allow": [
"_id"
]
}
],
"jsx-a11y/anchor-is-valid": [
"warn",
{
"components": [
"Link"
],
"specialLink": [
"hrefLeft",
"hrefRight"
],
"aspects": [
"invalidHref",
"preferButton"
]
}
],
"jsx-a11y/click-events-have-key-events": "off",
"react/prop-types": "off",
"react/jsx-props-no-spreading": "off",
"import/prefer-default-export": "off",
"no-param-reassign": "off",
"no-nested-ternary": "off"
}
}