@tsconfig/bun
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -14,3 +14,3 @@ { | ||
], | ||
"version": "1.0.3" | ||
"version": "1.0.4" | ||
} |
@@ -22,28 +22,31 @@ ### A base TSConfig for working with Bun. | ||
{ | ||
// This is based on https://bun.sh/docs/runtime/typescript#recommended-compileroptions | ||
// This is based on https://bun.sh/docs/typescript#suggested-compileroptions | ||
"$schema": "https://json.schemastore.org/tsconfig", | ||
"display": "Bun", | ||
"docs": "https://bun.sh/docs/runtime/typescript", | ||
"docs": "https://bun.sh/docs/typescript", | ||
"compilerOptions": { | ||
// enable latest features | ||
"lib": [ | ||
"ESNext" | ||
], | ||
"module": "esnext", | ||
"target": "esnext", | ||
// Enable latest features | ||
"lib": ["ESNext"], | ||
"target": "ESNext", | ||
"module": "ESNext", | ||
"moduleDetection": "force", | ||
"jsx": "react-jsx", | ||
"allowJs": true, | ||
// if TS 5.x+ | ||
// Bundler mode | ||
"moduleResolution": "bundler", | ||
"allowImportingTsExtensions": true, | ||
"verbatimModuleSyntax": true, | ||
"noEmit": true, | ||
"allowImportingTsExtensions": true, | ||
"moduleDetection": "force", | ||
// support JSX | ||
"jsx": "react-jsx", | ||
// Best practices | ||
"strict": true, | ||
"skipLibCheck": true, | ||
"noFallthroughCasesInSwitch": true, | ||
// best practices | ||
"strict": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"skipLibCheck": true | ||
// Some stricter flags | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"noPropertyAccessFromIndexSignature": true | ||
} | ||
@@ -50,0 +53,0 @@ } |
{ | ||
// This is based on https://bun.sh/docs/runtime/typescript#recommended-compileroptions | ||
// This is based on https://bun.sh/docs/typescript#suggested-compileroptions | ||
"$schema": "https://json.schemastore.org/tsconfig", | ||
"display": "Bun", | ||
"docs": "https://bun.sh/docs/runtime/typescript", | ||
"docs": "https://bun.sh/docs/typescript", | ||
"compilerOptions": { | ||
// enable latest features | ||
"lib": [ | ||
"ESNext" | ||
], | ||
"module": "esnext", | ||
"target": "esnext", | ||
// Enable latest features | ||
"lib": ["ESNext"], | ||
"target": "ESNext", | ||
"module": "ESNext", | ||
"moduleDetection": "force", | ||
"jsx": "react-jsx", | ||
"allowJs": true, | ||
// if TS 5.x+ | ||
// Bundler mode | ||
"moduleResolution": "bundler", | ||
"allowImportingTsExtensions": true, | ||
"verbatimModuleSyntax": true, | ||
"noEmit": true, | ||
"allowImportingTsExtensions": true, | ||
"moduleDetection": "force", | ||
// support JSX | ||
"jsx": "react-jsx", | ||
// Best practices | ||
"strict": true, | ||
"skipLibCheck": true, | ||
"noFallthroughCasesInSwitch": true, | ||
// best practices | ||
"strict": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"skipLibCheck": true | ||
// Some stricter flags | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"noPropertyAccessFromIndexSignature": true | ||
} | ||
} |
3355
28
57