-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
86b1fda
commit 1bddcb3
Showing
2 changed files
with
8 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,26 @@ | ||
{ | ||
"compilerOptions": { | ||
// Enable latest features | ||
"lib": ["ESNext", "DOM"], | ||
"target": "ESNext", | ||
"target": "ES6", | ||
"module": "ESNext", | ||
"moduleDetection": "force", | ||
"moduleResolution": "node", | ||
"jsx": "react-jsx", | ||
"allowJs": true, | ||
|
||
"emitDeclarationOnly": true, | ||
|
||
// Bundler mode | ||
"moduleResolution": "node", // Changez "bundler" en "node" | ||
"allowImportingTsExtensions": false, // Changez true en false | ||
"verbatimModuleSyntax": false, // Changez true en false | ||
// Best practices | ||
"allowImportingTsExtensions": false, | ||
"verbatimModuleSyntax": false, | ||
"strict": true, | ||
"skipLibCheck": true, | ||
"noFallthroughCasesInSwitch": true, | ||
|
||
// Some stricter flags (disabled by default) | ||
"noUnusedLocals": false, | ||
"noUnusedParameters": false, | ||
"noPropertyAccessFromIndexSignature": false, | ||
|
||
// Additional settings for the project | ||
"esModuleInterop": true, | ||
"resolveJsonModule": true, | ||
"isolatedModules": true, | ||
"sourceMap": true, | ||
"declaration": true, | ||
"declarationMap": true, | ||
"rootDir": "./src", | ||
"rootDir": "./src", | ||
"outDir": "./dist" | ||
}, | ||
"include": ["src/**/*.ts", "src/**/*.tsx"], | ||
"exclude": ["node_modules", "dist", "tests"], | ||
|
||
} | ||
|
||
|
||
"exclude": ["node_modules", "dist", "tests"] | ||
} |