diff --git a/packages/api/tsconfig.build.json b/packages/api/tsconfig.build.json index 436d8ecb628..2a319212737 100644 --- a/packages/api/tsconfig.build.json +++ b/packages/api/tsconfig.build.json @@ -2,7 +2,8 @@ "extends": "../../tsconfig/isomorphic.json", "compilerOptions": { "rootDir": "./src", - "outDir": "./dist" + "outDir": "./dist", + "noUnusedLocals": false }, "include": ["./src"] } diff --git a/packages/api/tsconfig.tests.json b/packages/api/tsconfig.tests.json index c838965cc39..bd21d2eeb5c 100644 --- a/packages/api/tsconfig.tests.json +++ b/packages/api/tsconfig.tests.json @@ -3,7 +3,8 @@ "compilerOptions": { "rootDir": ".", "types": ["jest", "./jest.d.ts"], - "noEmit": true + "noEmit": true, + "noUnusedLocals": false }, "include": ["./tests"] } diff --git a/packages/bsky/tsconfig.build.json b/packages/bsky/tsconfig.build.json index fafdab3d6f7..944827a6f62 100644 --- a/packages/bsky/tsconfig.build.json +++ b/packages/bsky/tsconfig.build.json @@ -2,7 +2,8 @@ "extends": "../../tsconfig/node.json", "compilerOptions": { "rootDir": "./src", - "outDir": "./dist" + "outDir": "./dist", + "noUnusedLocals": false }, "include": ["./src"] } diff --git a/packages/bsky/tsconfig.tests.json b/packages/bsky/tsconfig.tests.json index c192c436e23..7fac0ed90d5 100644 --- a/packages/bsky/tsconfig.tests.json +++ b/packages/bsky/tsconfig.tests.json @@ -1,7 +1,8 @@ { "extends": "../../tsconfig/tests.json", "compilerOptions": { - "rootDir": "." + "rootDir": ".", + "noUnusedLocals": false }, "include": ["./tests"] } diff --git a/packages/ozone/tsconfig.build.json b/packages/ozone/tsconfig.build.json index fafdab3d6f7..944827a6f62 100644 --- a/packages/ozone/tsconfig.build.json +++ b/packages/ozone/tsconfig.build.json @@ -2,7 +2,8 @@ "extends": "../../tsconfig/node.json", "compilerOptions": { "rootDir": "./src", - "outDir": "./dist" + "outDir": "./dist", + "noUnusedLocals": false }, "include": ["./src"] } diff --git a/packages/ozone/tsconfig.tests.json b/packages/ozone/tsconfig.tests.json index c192c436e23..7fac0ed90d5 100644 --- a/packages/ozone/tsconfig.tests.json +++ b/packages/ozone/tsconfig.tests.json @@ -1,7 +1,8 @@ { "extends": "../../tsconfig/tests.json", "compilerOptions": { - "rootDir": "." + "rootDir": ".", + "noUnusedLocals": false }, "include": ["./tests"] } diff --git a/packages/pds/tsconfig.build.json b/packages/pds/tsconfig.build.json index fafdab3d6f7..944827a6f62 100644 --- a/packages/pds/tsconfig.build.json +++ b/packages/pds/tsconfig.build.json @@ -2,7 +2,8 @@ "extends": "../../tsconfig/node.json", "compilerOptions": { "rootDir": "./src", - "outDir": "./dist" + "outDir": "./dist", + "noUnusedLocals": false }, "include": ["./src"] } diff --git a/packages/pds/tsconfig.tests.json b/packages/pds/tsconfig.tests.json index c192c436e23..7fac0ed90d5 100644 --- a/packages/pds/tsconfig.tests.json +++ b/packages/pds/tsconfig.tests.json @@ -1,7 +1,8 @@ { "extends": "../../tsconfig/tests.json", "compilerOptions": { - "rootDir": "." + "rootDir": ".", + "noUnusedLocals": false }, "include": ["./tests"] } diff --git a/tsconfig/base.json b/tsconfig/base.json index e6d4e8dbbc4..88941a43549 100644 --- a/tsconfig/base.json +++ b/tsconfig/base.json @@ -1,6 +1,14 @@ { "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { + "strict": true, + "allowUnusedLabels": false, + "allowUnreachableCode": false, + "exactOptionalPropertyTypes": false, + "noFallthroughCasesInSwitch": false, + "noUnusedLocals": true, + "noUnusedParameters": false, + "declaration": true, "noImplicitAny": false, "removeComments": true, @@ -12,8 +20,6 @@ "sourceMap": true, "module": "commonjs", "jsx": "preserve", - "strict": true, - "strictPropertyInitialization": false, "moduleResolution": "node", "resolveJsonModule": true, "allowSyntheticDefaultImports": true,