@fkui/tsconfig

Innehåll

Rekommenderad konfiguration för TypeScript (tsconfig.json).

Användning

Lägg till i din tsconfig.json:

 {
+    "extends": ["@fkui/tsconfig/recommended"],
     "compilerOptions": {
         /* ... */
     }
 }

Cypress

Utöver den rekommenderade konfigurationen använd konfigurationen för Cypress:

 {
-    "extends": ["@fkui/tsconfig/recommended"],
+    "extends": ["@fkui/tsconfig/recommended", "@fkui/tsconfig/cypress"],
     "compilerOptions": {
         /* ... */
     }
 }

Vue

Utöver den rekommenderade konfigurationen använd konfigurationen för Vue:

 {
-    "extends": ["@fkui/tsconfig/recommended"],
+    "extends": ["@fkui/tsconfig/recommended", "@fkui/tsconfig/vue"],
     "compilerOptions": {
         /* ... */
     }
 }

Esc för att stänga Pil upp/ner för att navigera Enter för att välja