forked from Step3-kakao-tech-campus/Team5_FE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
32 lines (32 loc) · 805 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
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": ["airbnb", "plugin:prettier/recommended"],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/function-component-definition": [
2,
{ "namedComponents": ["arrow-function", "function-declaration"] }
],
"react/react-in-jsx-scope": "off",
"react/button-has-type": "off",
"react/prop-types": "off",
"import/no-extraneous-dependencies": "off",
"import/prefer-default-export": "off",
"no-param-reassign": "off",
"react/no-unescaped-entities": "off",
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
]
}
}