diff --git a/cog.toml b/cog.toml index 9d625af..eeffabb 100644 --- a/cog.toml +++ b/cog.toml @@ -37,3 +37,4 @@ authors = [ [bump_profiles] [packages] +typescript-config = { path = "packages/typescript-config" } diff --git a/packages/typescript-config/base.json b/packages/typescript-config/base.json new file mode 100644 index 0000000..4cfe304 --- /dev/null +++ b/packages/typescript-config/base.json @@ -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 + } +} diff --git a/packages/typescript-config/package.json b/packages/typescript-config/package.json new file mode 100644 index 0000000..fed5249 --- /dev/null +++ b/packages/typescript-config/package.json @@ -0,0 +1,8 @@ +{ + "name": "@tabshift/typescript-config", + "description": "Shared TypeScript config of Tabshift", + "version": "1.0.0", + "files": ["*.json"], + "author": "T. R. Bernstein ", + "license": "EUPL-1.2" +}