Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
sjsjsj1246 committed Sep 21, 2024
2 parents ad8fbc7 + ed274cc commit bb66da2
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 39 deletions.
45 changes: 45 additions & 0 deletions tsconfig.app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"compilerOptions": {
"composite": true,
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
"target": "ES2020",
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": true,

/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"moduleDetection": "force",
"noEmit": true,
"jsx": "react-jsx",

/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,

"baseUrl": "src",
"paths": {
"@assets/*": ["assets/*"],
"@assets": ["assets"],
"@components/*": ["components/*"],
"@components": ["components"],
"@constants/*": ["constants/*"],
"@constants": ["constants"],
"@libs/*": ["libs/*"],
"@libs": ["libs"],
"@hooks/*": ["hooks/*"],
"@hooks": ["hooks"],
"@types/*": ["types/*"],
"@types": ["types"],
"@pages/*": ["pages/*"],
"@pages": ["pages"]
}
},
"include": ["src"]
}
42 changes: 4 additions & 38 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,43 +1,9 @@
{
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"types": ["cypress", "@testing-library/cypress"],
"module": "ESNext",
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"baseUrl": "src",
"paths": {
"@assets/*": ["assets/*"],
"@assets": ["assets"],
"@components/*": ["components/*"],
"@components": ["components"],
"@constants/*": ["constants/*"],
"@constants": ["constants"],
"@libs/*": ["libs/*"],
"@libs": ["libs"],
"@hooks/*": ["hooks/*"],
"@hooks": ["hooks"],
"@types/*": ["types/*"],
"@types": ["types"],
"@pages/*": ["pages/*"],
"@pages": ["pages"]
}
},
"include": ["src", "**/*.ts"],
"files": [],
"references": [
{
"path": "./tsconfig.app.json"
},
{
"path": "./tsconfig.node.json"
}
Expand Down
5 changes: 4 additions & 1 deletion tsconfig.node.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{
"compilerOptions": {
"composite": true,
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
"skipLibCheck": true,
"module": "ESNext",
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true
"allowSyntheticDefaultImports": true,
"strict": true,
"noEmit": true
},
"include": ["vite.config.ts"]
}

0 comments on commit bb66da2

Please sign in to comment.