diff options
author | WlodekM <[email protected]> | 2024-07-02 15:10:24 +0300 |
---|---|---|
committer | WlodekM <[email protected]> | 2024-07-02 15:10:24 +0300 |
commit | bac2526c99506ecc9a2e04905e3d0307233e47f2 (patch) | |
tree | bc7a4ea4ce46147f636169349ed90cc7811e9d8c /jsconfig.json |
Initial commit
Diffstat (limited to 'jsconfig.json')
-rw-r--r-- | jsconfig.json | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000..238655f --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,27 @@ +{ + "compilerOptions": { + // Enable latest features + "lib": ["ESNext", "DOM"], + "target": "ESNext", + "module": "ESNext", + "moduleDetection": "force", + "jsx": "react-jsx", + "allowJs": true, + + // Bundler mode + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "verbatimModuleSyntax": true, + "noEmit": true, + + // Best practices + "strict": true, + "skipLibCheck": true, + "noFallthroughCasesInSwitch": true, + + // Some stricter flags (disabled by default) + "noUnusedLocals": false, + "noUnusedParameters": false, + "noPropertyAccessFromIndexSignature": false + } +} |