Skip to content

Commit 7454dbd

Browse files
committed
chore: align with socket-repo-template baseline
- tsconfig: extend .config/tsconfig.base.json (strict:true, ES2024) - oxlint: replace 316-line config with baseline 63-line version - strict mode now enabled (was false)
1 parent 63f3fcf commit 7454dbd

3 files changed

Lines changed: 89 additions & 323 deletions

File tree

.config/tsconfig.base.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"compilerOptions": {
3+
"allowImportingTsExtensions": false,
4+
"allowJs": false,
5+
"composite": false,
6+
"declaration": false,
7+
"declarationMap": false,
8+
"erasableSyntaxOnly": true,
9+
"esModuleInterop": true,
10+
"exactOptionalPropertyTypes": true,
11+
"forceConsistentCasingInFileNames": true,
12+
"incremental": false,
13+
"isolatedModules": true,
14+
"lib": ["ES2024"],
15+
"noEmit": true,
16+
"noEmitOnError": true,
17+
"noFallthroughCasesInSwitch": true,
18+
"noImplicitOverride": true,
19+
"noPropertyAccessFromIndexSignature": true,
20+
"noUncheckedIndexedAccess": true,
21+
"noUncheckedSideEffectImports": true,
22+
"noUnusedLocals": true,
23+
"noUnusedParameters": true,
24+
"resolveJsonModule": true,
25+
"skipLibCheck": true,
26+
"sourceMap": false,
27+
"strict": true,
28+
"strictNullChecks": true,
29+
"target": "ES2024",
30+
"useUnknownInCatchVariables": true,
31+
"verbatimModuleSyntax": true
32+
}
33+
}

0 commit comments

Comments
 (0)