summaryrefslogtreecommitdiffhomepage
path: root/sdks/github/tsconfig.json
diff options
context:
space:
mode:
authorFrank <[email protected]>2025-07-13 23:59:25 +0800
committerFrank <[email protected]>2025-07-13 23:59:25 +0800
commit7361a02ef33c8e5831b72bde8d958e654f57ab96 (patch)
tree1d975835aed9202d0cb7151ad7c2fe9c84d69cf9 /sdks/github/tsconfig.json
parentd465f150fc418ca47b2e63558a31274ea14621b5 (diff)
downloadopencode-7361a02ef33c8e5831b72bde8d958e654f57ab96.tar.gz
opencode-7361a02ef33c8e5831b72bde8d958e654f57ab96.zip
wip: github actions
Diffstat (limited to 'sdks/github/tsconfig.json')
-rw-r--r--sdks/github/tsconfig.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/sdks/github/tsconfig.json b/sdks/github/tsconfig.json
new file mode 100644
index 000000000..59435b49c
--- /dev/null
+++ b/sdks/github/tsconfig.json
@@ -0,0 +1,29 @@
+{
+ "compilerOptions": {
+ // Environment setup & latest features
+ "lib": ["ESNext"],
+ "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,
+ "noUncheckedIndexedAccess": true,
+ "noImplicitOverride": true,
+
+ // Some stricter flags (disabled by default)
+ "noUnusedLocals": false,
+ "noUnusedParameters": false,
+ "noPropertyAccessFromIndexSignature": false
+ }
+}