Skip to content

Commit 120585c

Browse files
committed
chore: eslint 오류 해결
- client: Warning: React version not specified in eslint-plugin-react settings. See https://github.com/jsx-eslint/eslint-plugin-react\#configuration - server: error Don't use Function as a type. The Function type accepts any function-like value.
1 parent edccd15 commit 120585c

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

client/.eslintrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
"sourceType": "module"
2020
},
2121
"plugins": ["react", "@typescript-eslint", "import"],
22+
"settings": {
23+
"react": {
24+
"version": "detect"
25+
}
26+
},
2227
"rules": {
2328
"react/react-in-jsx-scope": "off",
2429
"react/jsx-filename-extension": [1, { "extensions": [".ts", ".tsx"] }],
@@ -28,6 +33,7 @@
2833
"no-nested-ternary": "error",
2934
"eqeqeq": "error",
3035
"no-console": "warn",
36+
"import/no-unresolved": "off",
3137
"import/order": [
3238
"error",
3339
{

server/.eslintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"@typescript-eslint/explicit-function-return-type": "off",
1717
"@typescript-eslint/explicit-module-boundary-types": "off",
1818
"@typescript-eslint/no-explicit-any": "off",
19+
"@typescript-eslint/ban-types": "off",
1920
"no-nested-ternary": "error",
2021
"eqeqeq": "error",
2122
"no-console": "warn"

0 commit comments

Comments
 (0)