Skip to content

Commit 93d86aa

Browse files
committed
feat: 미션5완료
1 parent ea0b857 commit 93d86aa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+6222
-208
lines changed
File renamed without changes.
File renamed without changes.

vite-project/eslint.config.js renamed to eslint.config.js

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,17 @@ import js from '@eslint/js'
22
import globals from 'globals'
33
import reactHooks from 'eslint-plugin-react-hooks'
44
import reactRefresh from 'eslint-plugin-react-refresh'
5+
import { defineConfig, globalIgnores } from 'eslint/config'
56

6-
export default [
7-
{ ignores: ['dist'] },
7+
export default defineConfig([
8+
globalIgnores(['dist']),
89
{
910
files: ['**/*.{js,jsx}'],
11+
extends: [
12+
js.configs.recommended,
13+
reactHooks.configs['recommended-latest'],
14+
reactRefresh.configs.vite,
15+
],
1016
languageOptions: {
1117
ecmaVersion: 2020,
1218
globals: globals.browser,
@@ -16,18 +22,8 @@ export default [
1622
sourceType: 'module',
1723
},
1824
},
19-
plugins: {
20-
'react-hooks': reactHooks,
21-
'react-refresh': reactRefresh,
22-
},
2325
rules: {
24-
...js.configs.recommended.rules,
25-
...reactHooks.configs.recommended.rules,
2626
'no-unused-vars': ['error', { varsIgnorePattern: '^[A-Z_]' }],
27-
'react-refresh/only-export-components': [
28-
'warn',
29-
{ allowConstantExport: true },
30-
],
3127
},
3228
},
33-
]
29+
])

index.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<!doctype html>
2+
<html lang="ko">
3+
4+
<head>
5+
<meta charset="UTF-8" />
6+
<link rel="icon" type="image/png" href="/src/assets/favicon/favicon-16x16.png" />
7+
<link rel="icon" type="image/png" href="/src/assets/favicon/favicon-32x32.png" />
8+
<link rel="icon" type="image/png" href="/src/assets/favicon/favicon-76x76.png" />
9+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
10+
<title>판다마켓</title>
11+
</head>
12+
13+
<body>
14+
<div id="root"></div>
15+
<script type="module" src="/src/main.jsx"></script>
16+
</body>
17+
18+
</html>

0 commit comments

Comments
 (0)