Forráskód Böngészése

refactor: reorganize tsconfig.base.json for improved clarity and consistency

Dave 2 hónapja
szülő
commit
99b4ff7e9e
1 módosított fájl, 8 hozzáadás és 7 törlés
  1. 8 7
      tsconfig.base.json

+ 8 - 7
tsconfig.base.json

@@ -2,27 +2,28 @@
   "compileOnSave": false,
   "compilerOptions": {
     "baseUrl": ".",
+    "rootDir": ".",
     "outDir": "./dist",
     "module": "commonjs",
+    "target": "ES2019",
+    "moduleResolution": "node",
     "declaration": true,
     "removeComments": true,
     "emitDecoratorMetadata": true,
     "experimentalDecorators": true,
     "allowSyntheticDefaultImports": true,
-    "target": "ES2019",
+    "esModuleInterop": true,
+    "resolveJsonModule": true,
     "sourceMap": true,
     "incremental": true,
     "skipLibCheck": true,
+    "strict": true,
     "strictNullChecks": false,
     "noImplicitAny": false,
-    "strict": true,
     "strictBindCallApply": false,
-    "forceConsistentCasingInFileNames": false,
+    "strictPropertyInitialization": false,
+    "forceConsistentCasingInFileNames": true,
     "noFallthroughCasesInSwitch": false,
-    "strictPropertyInitialization": false, // 👈 add this line
-    "moduleResolution": "node",
-    "esModuleInterop": true,
-    "resolveJsonModule": true,
     "types": ["node"],
     "paths": {
       "@box/common/*": ["libs/common/src/*"],