build(ci): fix sonar scanner
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 1 May 2023 20:07:00 +0000 (22:07 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 1 May 2023 20:07:00 +0000 (22:07 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
ui/web/tsconfig-sonar.json

index c57b39c50b6d704a8cf76e8ca2ad782e3ef6d62c..f1567906ecc1f09616a9cb6ce7bb1aee43453619 100644 (file)
@@ -1,19 +1,23 @@
 {
   "$schema": "https://json.schemastore.org/tsconfig",
-  "extends": "@vue/tsconfig/tsconfig.dom.json",
   "compilerOptions": {
-    "lib": ["es2023"],
-    "module": "commonjs",
-    "target": "es2022",
+    "lib": ["ES2020", "DOM", "DOM.Iterable"],
+    "module": "ESNext",
+    "target": "ESNext",
     "strict": true,
+    "noImplicitThis": true,
     "esModuleInterop": true,
     "skipLibCheck": true,
     "forceConsistentCasingInFileNames": true,
-    "moduleResolution": "node",
+    "moduleResolution": "bundler",
+    "resolveJsonModule": true,
     "experimentalDecorators": true,
     "allowSyntheticDefaultImports": true,
     "sourceMap": true,
     "composite": true,
+    "jsx": "preserve",
+    "isolatedModules": true,
+    "useDefineForClassFields": true,
     "baseUrl": ".",
     "types": ["node", "jsdom"],
     "paths": {