Skip to content

Commit

Permalink
Merge pull request #17 from KNUT-webstudygroup/dev/miyu
Browse files Browse the repository at this point in the history
Dev/miyu
- 코드리뷰 일단 완료하였음.
- 일단 팀 회의에서 자세하게 이야기 할 예정...
  • Loading branch information
LuticaCANARD authored Mar 6, 2024
2 parents 92e5a6c + 7cafc51 commit 4043359
Show file tree
Hide file tree
Showing 64 changed files with 3,808 additions and 560 deletions.
5 changes: 3 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ module.exports = {
"consistent-return" : "off",
"react/no-unescaped-entities": "off",
"@next/next/no-page-custom-font": "off", // 빌드상 문제.
"@typescript-eslint/no-use-before-define" : "off" // 컴포넌트를 먼저 보는게 더 가독성이 좋다는 의견이 있어서 생략.

"@typescript-eslint/no-use-before-define" : "off", // 컴포넌트를 먼저 보는게 더 가독성이 좋다는 의견이 있어서 생략.
'react/function-component-definition':[2, {namedcomponents:'arrow-function'}], // 이미 너무 많은 침범이 일어남.
'react/require-default-props' : "off", // 함수형 정의에서 디폴트값을 가지게 하여도 괜찮음.
},
parserOptions: {
project: "./tsconfig.json",
Expand Down
10 changes: 5 additions & 5 deletions jest.config.cjs
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
// [...]
preset: 'ts-jest/presets/default-esm', // or other ESM presets
preset: "ts-jest/presets/default-esm", // or other ESM presets
moduleNameMapper: {
'^(\\.{1,2}/.*)\\.js$': '$1',
"^(\\.{1,2}/.*)\\.js$": "$1",
},
transform: {
// '^.+\\.[tj]sx?$' to process js/ts with `ts-jest`
// '^.+\\.m?[tj]sx?$' to process js/ts/mjs/mts with `ts-jest`
'^.+\\.tsx?$': [
'ts-jest',
"^.+\\.tsx?$": [
"ts-jest",
{
useESM: true,
},
],
},
}
};
9 changes: 8 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const nextConfig = {
//output: 'export', // Outputs a Single-Page Application (SPA).
//distDir: './dist', // Changes the build output directory to `./dist/`.
basePath: process.env.NEXT_PUBLIC_BASE_PATH, // Sets the base path to `/some-base-path`.
//basePath: process.env.NEXT_PUBLIC_BASE_PATH, // Sets the base path to `/some-base-path`.
typescript: {
// !! WARN !!
// Dangerously allow production builds to successfully complete even if
Expand All @@ -15,6 +15,13 @@ const nextConfig = {
// your project has ESLint errors.
ignoreDuringBuilds: true,
},
experimental: {
turbo: {
loaders: {
'.svg': ['@svgr/webpack']
}
}
}
}

export default nextConfig
Loading

0 comments on commit 4043359

Please sign in to comment.