Skip to content

Commit 38d9604

Browse files
authored
[25.05.09 / TASK-183] Refactor - 모달 레이아웃 분리 (#33)
1 parent 8a7369a commit 38d9604

35 files changed

+480
-378
lines changed

.eslintignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ readme.md
77
Dockerfile
88
.vscode
99
.swc
10-
.github
10+
.github
11+
.eslintrc.js
12+
node_modules

.eslintrc.js

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
module.exports = {
2+
root: true,
3+
env: { browser: true, node: true, jest: true },
4+
parser: '@typescript-eslint/parser',
5+
parserOptions: { ecmaVersion: 2022, sourceType: 'module', project: './tsconfig.json' },
6+
globals: { React: true, NodeJS: true },
7+
plugins: [
8+
'@typescript-eslint',
9+
'react',
10+
'jest',
11+
'jest-dom',
12+
'testing-library',
13+
'import',
14+
'prettier',
15+
],
16+
extends: [
17+
'eslint:recommended',
18+
'plugin:@typescript-eslint/recommended',
19+
'plugin:@typescript-eslint/strict',
20+
'plugin:react/recommended',
21+
'plugin:jest/recommended',
22+
'plugin:jest-dom/recommended',
23+
'plugin:testing-library/react',
24+
'plugin:import/recommended',
25+
'plugin:prettier/recommended',
26+
'plugin:@next/next/recommended',
27+
'prettier',
28+
],
29+
rules: {
30+
'prettier/prettier': ['error', { printWidth: 100 }],
31+
'import/order': ['error', { groups: ['builtin', 'external', 'internal'] }],
32+
'no-restricted-imports': ['warn', { patterns: ['../../*'] }],
33+
'react/react-in-jsx-scope': 'off',
34+
'testing-library/no-container': 'warn',
35+
'testing-library/no-node-access': 'warn',
36+
'@typescript-eslint/promise-function-async': 'error',
37+
'@typescript-eslint/consistent-type-assertions': 'error',
38+
'@typescript-eslint/naming-convention': 'off',
39+
},
40+
settings: {
41+
'import/resolver': { typescript: { project: './tsconfig.json' }, node: true },
42+
react: { version: 'detect' },
43+
},
44+
};

.eslintrc.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.vscode/settings.json

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,8 @@
77
"vsicons.dontShowNewVersionMessage": true,
88
"typescript.updateImportsOnFileMove.enabled": "always",
99
"javascript.updateImportsOnFileMove.enabled": "always",
10-
"makefile.configureOnOpen": true,
1110
"liveServer.settings.donotShowInfoMsg": true,
1211
"editor.formatOnSave": true,
13-
"editor.codeActionsOnSave": {
14-
"source.fixAll.eslint": "always"
15-
},
16-
"eslint.validate": [
17-
"javascript",
18-
"javascriptreact",
19-
"typescript",
20-
"typescriptreact"
21-
],
22-
"discord.enabled": true
12+
"editor.codeActionsOnSave": { "source.fixAll.eslint": "always" },
13+
"eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"]
2314
}

eslint.config.mjs

Lines changed: 0 additions & 57 deletions
This file was deleted.

next.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ export default withSentryConfig(nextConfig, {
4242

4343
reactComponentAnnotation: { enabled: true }, // 세션 리플레이와 브레드크럼에서 상세한 컴포넌트명 표시
4444

45-
tunnelRoute: '/monitoring', // ad-blocker 우회를 위한 경로 (저희가 이전에 왜 생기는지 이유를 추측했던 그 경로 맞습니다..)
45+
tunnelRoute: '/monitoring', // ad-blocker 우회용 엔드포인트 (이벤트 로깅 관련)
4646
});

package.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,13 @@
2020
},
2121
"dependencies": {
2222
"@channel.io/channel-web-sdk-loader": "^2.0.0",
23+
"@next/eslint-plugin-next": "^15.3.2",
2324
"@next/third-parties": "^15.1.7",
2425
"@sentry/core": "^8.47.0",
2526
"@sentry/nextjs": "^8.47.0",
26-
"@sentry/webpack-plugin": "^3.3.1",
2727
"@tailwindcss/typography": "^0.5.16",
2828
"@tanstack/react-query": "^5.69.0",
29-
"@tanstack/react-query-devtools": "^5.69.0",
30-
"@types/gtag.js": "^0.0.20",
3129
"chart.js": "^4.4.7",
32-
"js-cookie": "^3.0.5",
3330
"next": "14.2.18",
3431
"react": "^18",
3532
"react-chartjs-2": "^5.2.0",
@@ -38,21 +35,26 @@
3835
"react-intersection-observer": "^9.14.0",
3936
"react-toastify": "^10.0.6",
4037
"return-fetch": "^0.4.6",
41-
"sharp": "^0.33.5",
38+
"tailwind-merge": "^3.2.0",
4239
"zustand": "^5.0.3"
4340
},
4441
"devDependencies": {
42+
"@eslint/eslintrc": "^3.3.1",
4543
"@eslint/js": "^9.15.0",
44+
"@sentry/webpack-plugin": "^3.4.0",
4645
"@svgr/webpack": "^8.1.0",
46+
"@tanstack/react-query-devtools": "5.69.0",
4747
"@testing-library/jest-dom": "^6.6.3",
4848
"@testing-library/react": "^16.0.1",
4949
"@testing-library/user-event": "^14.5.2",
5050
"@types/eslint-config-prettier": "^6.11.3",
51+
"@types/gtag.js": "^0.0.20",
5152
"@types/jest": "^29.5.14",
5253
"@types/js-cookie": "^3.0.6",
5354
"@types/node": "^20",
5455
"@types/react": "^18",
5556
"@types/react-dom": "^18",
57+
"@typescript-eslint/eslint-plugin": "^8.32.0",
5658
"babel-plugin-inline-react-svg": "^2.0.2",
5759
"eslint": "^8.57.1",
5860
"eslint-config-next": "14.2.18",
@@ -73,6 +75,7 @@
7375
"msw": "^2.7.3",
7476
"postcss": "^8",
7577
"prettier": "^3.3.3",
78+
"sharp": "^0.34.1",
7679
"tailwindcss": "^3.4.1",
7780
"ts-node": "^10.9.2",
7881
"typescript": "^5",

0 commit comments

Comments
 (0)