diff --git a/front/package.json b/front/package.json index 1f824f62b..c66a7d387 100644 --- a/front/package.json +++ b/front/package.json @@ -64,6 +64,7 @@ "@vue/eslint-config-standard": "7.0.0", "@vue/eslint-config-typescript": "11.0.0", "@vue/test-utils": "2.0.0", + "@vue/tsconfig": "^0.1.3", "chai": "4.3.6", "easygettext": "2.17.0", "eslint": "8.18.0", diff --git a/front/tsconfig.json b/front/tsconfig.json index 4d2b948f5..9ad4090ef 100644 --- a/front/tsconfig.json +++ b/front/tsconfig.json @@ -1,23 +1,10 @@ { + "extends": "@vue/tsconfig/tsconfig.web.json", "compilerOptions": { "baseUrl": ".", - "target": "esnext", - "useDefineForClassFields": true, - "module": "esnext", - "moduleResolution": "node", - "strict": true, - "jsx": "preserve", "sourceMap": true, - "resolveJsonModule": true, - "isolatedModules": true, - "esModuleInterop": true, - "skipLibCheck": true, - "lib": ["dom", "esnext", "webworker"], "allowJs": true, - "noUnusedLocals": true, - "strictNullChecks": true, - "forceConsistentCasingInFileNames": true, "typeRoots": ["node_modules/@types"], "types": [ "vite/client", diff --git a/front/yarn.lock b/front/yarn.lock index 3d554c94c..9fd787163 100644 --- a/front/yarn.lock +++ b/front/yarn.lock @@ -1917,6 +1917,11 @@ resolved "https://registry.yarnpkg.com/@vue/test-utils/-/test-utils-2.0.0.tgz#06455934091d237d71d81bac6617485de38b1c58" integrity sha512-zL5kygNq7hONrO1CzaUGprEAklAX+pH8J1MPMCU3Rd2xtSYkZ+PmKU3oEDRg8VAGdL5lNJHzDgrud5amFPtirw== +"@vue/tsconfig@^0.1.3": + version "0.1.3" + resolved "https://registry.yarnpkg.com/@vue/tsconfig/-/tsconfig-0.1.3.tgz#4a61dbd29783d01ddab504276dcf0c2b6988654f" + integrity sha512-kQVsh8yyWPvHpb8gIc9l/HIDiiVUy1amynLNpCy8p+FoCiZXCo6fQos5/097MmnNZc9AtseDsCrfkhqCrJ8Olg== + "@vueuse/core@8.7.5": version "8.7.5" resolved "https://registry.yarnpkg.com/@vueuse/core/-/core-8.7.5.tgz#e74a888251ea11a9d432068ce18cbdfc4f810251"