aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Colin McDonnell <colinmcd94@gmail.com> 2022-10-28 17:06:00 -0700
committerGravatar GitHub <noreply@github.com> 2022-10-28 17:06:00 -0700
commit619d931568cdb2315f58d9828a16a62dec0fc214 (patch)
tree4f167535ffe035538ef9af2d6b18304577ab91ec /src
parent50a3853eb47df099e307023551aa74379af1d156 (diff)
downloadbun-619d931568cdb2315f58d9828a16a62dec0fc214.tar.gz
bun-619d931568cdb2315f58d9828a16a62dec0fc214.tar.zst
bun-619d931568cdb2315f58d9828a16a62dec0fc214.zip
Update default tsconfig (#1418)
Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu>
Diffstat (limited to 'src')
-rw-r--r--src/cli/tsconfig-for-init.json15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/cli/tsconfig-for-init.json b/src/cli/tsconfig-for-init.json
index feee4b584..a659f9e5b 100644
--- a/src/cli/tsconfig-for-init.json
+++ b/src/cli/tsconfig-for-init.json
@@ -1,14 +1,19 @@
{
"compilerOptions": {
- "lib": ["ESNext"],
+ "lib": [
+ "ESNext"
+ ],
"module": "esnext",
"target": "esnext",
"moduleResolution": "node",
-
+ "strict": true,
+ "skipLibCheck": true,
+ "forceConsistentCasingInFileNames": true,
// so that if your project isn't using TypeScript, it still has autocomplete
"allowJs": true,
-
// "bun-types" is the important part
- "types": ["bun-types"]
+ "types": [
+ "bun-types"
+ ]
}
-}
+} \ No newline at end of file