-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
37 lines (37 loc) · 785 Bytes
/
.eslintrc.json
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
{
"env": {
"browser": true,
"jest": true
},
"parser": "babel-eslint",
"extends": ["airbnb", "airbnb/hooks", "plugin:prettier/recommended"],
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"no-use-before-define": "off",
"no-restricted-syntax": "off",
"no-shadow": "off",
"import/prefer-default-export": "off",
"react/jsx-filename-extension": [
"error",
{
"extensions": [".js", ".jsx"]
}
],
"prettier/prettier": [
"error",
{
"singleQuote": true,
"trailingComma": "all"
}
],
"react/jsx-curly-newline": "off",
"react/jsx-wrap-multilines": "off",
"react/prop-types": "warn"
}
}