Skip to content

Commit

Permalink
Merge pull request #4 from cupoftea4/config/improve-tsconfig
Browse files Browse the repository at this point in the history
Improve tsconfig.json
  • Loading branch information
Aler1x authored Oct 12, 2023
2 parents 62533b9 + 4c27622 commit eb720cf
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"lib": [
"ES2020",
"DOM",
"DOM.Iterable"
],
"verbatimModuleSyntax": true,
"module": "ESNext",
"skipLibCheck": true,

Expand All @@ -14,15 +19,26 @@
"noEmit": true,
"jsx": "react-jsx",
"paths": {
"@/*": ["./src/*"],
"@/*": [
"./src/*"
],
},

/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
"noUncheckedIndexedAccess": true,
"noFallthroughCasesInSwitch": true,
"esModuleInterop": true,
"moduleDetection": "force"
},
"include": ["src"],
"references": [{ "path": "./tsconfig.node.json" }]
"include": [
"src"
],
"references": [
{
"path": "./tsconfig.node.json"
}
]
}

0 comments on commit eb720cf

Please sign in to comment.