summaryrefslogtreecommitdiff
path: root/tsconfig.json
diff options
context:
space:
mode:
authorseth <[email protected]>2024-07-29 04:53:25 -0400
committerGitHub <[email protected]>2024-07-29 04:53:25 -0400
commit984f4cfa24ee7e421bb1fbdf5907ae60375cf9ef (patch)
treef23c500548bdc82dfe4eb65233327312435ec6b6 /tsconfig.json
parent9358cb6437bbe257717fe6cfd113aa9c34054c6c (diff)
use github contents api for image urls + summer cleaning (#253)
* nix: alejandra -> nixfmt-rfc-style * nix: pre-commit-hooks -> treefmt-nix * nix: use corepack * ci: cleanup workflows * ci: use better dependabot scopes * gitignore: extend with github templates * remove teawie-archive submodule * pnpm: 8.8.0 -> 9.6.0 * nix: add nrr to shell * nix: add node lsps to shell * use github contents api for image urls * ci: cleanup workflows * nix: add ci shell * `octokit` -> `fetch` & cache responses * nix: use nixpkgs wrangler * nix: update flake.lock Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/d9c0b9d611277e42e6db055636ba0409c59db6d2' (2024-07-05) → 'github:NixOS/nixpkgs/038fb464fcfa79b4f08131b07f2d8c9a6bcc4160' (2024-07-28) * tsconfig: use strictest * adopt openapi * package.json: rename to teawie-api * nix: add treefmt to ci shell * ci: add release gate
Diffstat (limited to 'tsconfig.json')
-rw-r--r--tsconfig.json22
1 files changed, 15 insertions, 7 deletions
diff --git a/tsconfig.json b/tsconfig.json
index 776e75f..684340d 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,23 +1,31 @@
{
"compilerOptions": {
+ "lib": ["es2022"],
"module": "es2022",
"target": "es2022",
"moduleResolution": "node",
- "lib": ["es2022"],
+ "noEmit": true,
"types": ["@cloudflare/workers-types", "@types/node"],
- "resolveJsonModule": true,
"allowJs": false,
- "noEmit": true,
-
- "isolatedModules": true,
- "allowSyntheticDefaultImports": true,
- "forceConsistentCasingInFileNames": true,
+ "resolveJsonModule": true,
"strict": true,
+ "allowUnusedLabels": false,
+ "allowUnreachableCode": false,
+ "exactOptionalPropertyTypes": true,
+ "noFallthroughCasesInSwitch": true,
+ "noImplicitOverride": true,
+ "noImplicitReturns": true,
+ "noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
+ "noUnusedLocals": true,
+ "noUnusedParameters": true,
+
+ "isolatedModules": true,
+ "esModuleInterop": true,
"skipLibCheck": true
}
}