feat(pkg): Add shared TypeScript config
This commit is contained in:
36
packages/typescript-config/base.json
Normal file
36
packages/typescript-config/base.json
Normal 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
|
||||
}
|
||||
}
|
||||
8
packages/typescript-config/package.json
Normal file
8
packages/typescript-config/package.json
Normal 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"
|
||||
}
|
||||
Reference in New Issue
Block a user