Skip to content

Commit

Permalink
Merge pull request #96 from softeerbootcamp4th/setting/#93/settingAdm…
Browse files Browse the repository at this point in the history
…inDevEnv

Setting/#93/setting admin
  • Loading branch information
subsub-e authored Aug 14, 2024
2 parents 97e0ea2 + 184a267 commit 841355a
Show file tree
Hide file tree
Showing 26 changed files with 9,482 additions and 1,658 deletions.
9 changes: 1 addition & 8 deletions admin/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
module.exports = {
parser: '@typescript-eslint/parser', // TypeScript를 파싱하기 위한 파서
extends: [
'plugin:react/recommended',
'plugin:react-hooks/recommended',
'plugin:import/errors',
'plugin:import/warnings',
'plugin:import/typescript', // TypeScript 관련 플러그인 추가
'plugin:@typescript-eslint/recommended', // TypeScript 권장 규칙 추가
'plugin:prettier/recommended',
],
parserOptions: {
Expand All @@ -15,7 +12,6 @@ module.exports = {
},
ecmaVersion: 2021,
sourceType: 'module',
project: './tsconfig.json', // TypeScript 프로젝트 파일 경로
},
env: {
browser: true,
Expand All @@ -33,7 +29,6 @@ module.exports = {
node: {
extensions: ['.js', '.jsx', '.ts', '.tsx'],
},
typescript: {}, // TypeScript 경로를 import/resolver에 추가
},
},
rules: {
Expand All @@ -49,8 +44,6 @@ module.exports = {
tsx: 'never',
},
],
'react/jsx-filename-extension': [1, { extensions: ['.jsx', '.tsx'] }], // .tsx 확장자 추가
'@typescript-eslint/explicit-function-return-type': 'off', // 필요에 따라 TypeScript 규칙을 추가
'@typescript-eslint/no-unused-vars': ['error'], // 사용되지 않는 변수를 잡아내기 위한 규칙 추가
'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'] }],
},
};
24 changes: 0 additions & 24 deletions admin/.gitignore

This file was deleted.

50 changes: 0 additions & 50 deletions admin/README.md

This file was deleted.

9 changes: 7 additions & 2 deletions admin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,16 @@
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link
href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<title>Vite + React</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
<div id="modal"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
Loading

0 comments on commit 841355a

Please sign in to comment.