Browse Source

update tsconfig settings

Yuki Takei 2 years ago
parent
commit
d2fd2bd66d

+ 5 - 1
apps/app/tsconfig.json

@@ -15,7 +15,11 @@
       "~/*": ["./src/*"],
       "^/*": ["./*"],
       "debug": ["./src/server/utils/logger/alias-for-debug"]
-    }
+    },
+
+    /* TOOD: remove below flags for strict checking */
+    "noImplicitAny": false
+
   },
   "include": [
     "next-env.d.ts",

+ 4 - 1
apps/slackbot-proxy/tsconfig.json

@@ -7,7 +7,10 @@
     "baseUrl": ".",
     "paths": {
       "~/*": ["./src/*"]
-    }
+    },
+
+    /* TOOD: remove below flags for strict checking */
+    "noImplicitAny": false
   },
   "include": [
     "src"

+ 4 - 1
packages/pluginkit/tsconfig.json

@@ -5,7 +5,10 @@
     "module": "CommonJS",
     "types": [
       "vitest/globals"
-    ]
+    ],
+
+    /* TOOD: remove below flags for strict checking */
+    "noImplicitAny": false
   },
   "include": [
     "src"

+ 4 - 1
packages/presentation/tsconfig.json

@@ -6,7 +6,10 @@
 
     "baseUrl": ".",
     "paths": {
-    }
+    },
+
+    /* TOOD: remove below flags for strict checking */
+    "noImplicitAny": false
   },
   "include": [
     "src"

+ 2 - 0
packages/preset-themes/tsconfig.json

@@ -2,6 +2,8 @@
   "$schema": "http://json.schemastore.org/tsconfig",
   "extends": "../../tsconfig.base.json",
   "compilerOptions": {
+    /* TOOD: remove below flags for strict checking */
+    "noImplicitAny": false
   },
   "include": [
     "src"

+ 4 - 1
packages/remark-attachment-refs/tsconfig.json

@@ -6,7 +6,10 @@
     "baseUrl": ".",
     "paths": {
       "~/*": ["./src/*"]
-    }
+    },
+
+    /* TOOD: remove below flags for strict checking */
+    "noImplicitAny": false
   },
   "include": [
     "src"

+ 4 - 1
packages/remark-drawio/tsconfig.json

@@ -2,7 +2,10 @@
   "$schema": "http://json.schemastore.org/tsconfig",
   "extends": "../../tsconfig.base.json",
   "compilerOptions": {
-    "jsx": "react-jsx"
+    "jsx": "react-jsx",
+
+    /* TOOD: remove below flags for strict checking */
+    "noImplicitAny": false
   },
   "include": [
     "src"

+ 2 - 0
packages/remark-growi-directive/tsconfig.base.json

@@ -2,6 +2,8 @@
   "$schema": "http://json.schemastore.org/tsconfig",
   "extends": "../../tsconfig.base.json",
   "compilerOptions": {
+    /* TOOD: remove below flags for strict checking */
+    "noImplicitAny": false
   },
   "include": [
     "src"

+ 4 - 1
packages/remark-lsx/tsconfig.json

@@ -6,7 +6,10 @@
 
     "types": [
       "vitest/globals"
-    ]
+    ],
+
+    /* TOOD: remove below flags for strict checking */
+    "noImplicitAny": false
   },
   "include": [
     "src"

+ 4 - 1
packages/slack/tsconfig.json

@@ -8,7 +8,10 @@
     },
     "types": [
       "vitest/globals"
-    ]
+    ],
+
+    /* TOOD: remove below flags for strict checking */
+    "noImplicitAny": false
   },
   "include": [
     "src"

+ 4 - 1
packages/ui/tsconfig.json

@@ -7,7 +7,10 @@
     "baseUrl": ".",
     "paths": {
       "~/*": ["./src/*"]
-    }
+    },
+
+    /* TOOD: remove below flags for strict checking */
+    "noImplicitAny": false
   },
   "include": [
     "src"

+ 1 - 5
tsconfig.base.json

@@ -13,11 +13,7 @@
     "lib": ["dom", "dom.iterable", "esnext"],
 
     /* Strict Type-Checking Options */
-    // "strict": true,
-    "strictNullChecks": true,
-    "strictBindCallApply": true,
-    "noImplicitAny": false,
-    "noImplicitOverride": true,
+    "strict": true,
 
     /* Additional Checks */
     "noUnusedLocals": false,