feat(pkg): Add shared TypeScript config

This commit is contained in:
T. R. Bernstein
2025-02-24 22:02:04 +01:00
parent 9cf39b1590
commit 4820dfbb62
3 changed files with 45 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
{
"compilerOptions": {
"alwaysStrict": true,
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"strict": true,
"strictBindCallApply": true,
"strictBuiltinIteratorReturn": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
"strictPropertyInitialization": true,
"useUnknownInCatchVariables": true,
"module": "nodenext",
"moduleResolution": "nodenext",
"noUncheckedSideEffectImports": true,
"resolveJsonModule": true,
"newLine": "LF",
"removeComments": true,
"allowSyntheticDefaultImports": false,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"verbatimModuleSyntax": true,
"target": "ES2023",
"useDefineForClassFields": true,
"skipLibCheck": true
}
}

View File

@@ -0,0 +1,8 @@
{
"name": "@tabshift/typescript-config",
"description": "Shared TypeScript config of Tabshift",
"version": "1.0.0",
"files": ["*.json"],
"author": "T. R. Bernstein <ljspkgs01-project@tabshift.dev>",
"license": "EUPL-1.2"
}