diff --git a/fittrackee_client/package.json b/fittrackee_client/package.json index 20b49017..a83c704a 100644 --- a/fittrackee_client/package.json +++ b/fittrackee_client/package.json @@ -42,8 +42,7 @@ "@vue/cli-plugin-unit-mocha": "~5.0.1", "@vue/cli-plugin-vuex": "~5.0.1", "@vue/cli-service": "~5.0.1", - "@vue/eslint-config-prettier": "^6.0.0", - "@vue/eslint-config-typescript": "^9.1.0", + "@vue/eslint-config-typescript": "^10.0.0", "@vue/test-utils": "^2.0.0-0", "chai": "^4.3.6", "eslint": "^7.32.0", @@ -67,8 +66,6 @@ "plugin:vue/vue3-essential", "eslint:recommended", "@vue/typescript/recommended", - "@vue/prettier", - "@vue/prettier/@typescript-eslint", "plugin:import/recommended", "plugin:import/typescript" ], diff --git a/fittrackee_client/src/components/Administration/AdminApplication.vue b/fittrackee_client/src/components/Administration/AdminApplication.vue index 610bf079..36c6a43b 100644 --- a/fittrackee_client/src/components/Administration/AdminApplication.vue +++ b/fittrackee_client/src/components/Administration/AdminApplication.vue @@ -126,7 +126,7 @@ function updateForm(appConfig: TAppConfig) { Object.keys(appData).map((key) => { - ;['max_single_file_size', 'max_zip_file_size'].includes(key) + ['max_single_file_size', 'max_zip_file_size'].includes(key) ? // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore (appData[key] = getFileSizeInMB(appConfig[key])) diff --git a/fittrackee_client/yarn.lock b/fittrackee_client/yarn.lock index 6e821f89..a4995a8d 100644 --- a/fittrackee_client/yarn.lock +++ b/fittrackee_client/yarn.lock @@ -1440,7 +1440,7 @@ dependencies: "@types/node" "*" -"@typescript-eslint/eslint-plugin@^5.4.0": +"@typescript-eslint/eslint-plugin@^5.0.0", "@typescript-eslint/eslint-plugin@^5.4.0": version "5.12.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.12.0.tgz#bb46dd7ce7015c0928b98af1e602118e97df6c70" integrity sha512-fwCMkDimwHVeIOKeBHiZhRUfJXU8n6xW1FL9diDxAyGAFvKcH4csy0v7twivOQdQdA0KC8TDr7GGRd3L4Lv0rQ== @@ -1455,7 +1455,7 @@ semver "^7.3.5" tsutils "^3.21.0" -"@typescript-eslint/parser@^5.4.0": +"@typescript-eslint/parser@^5.0.0", "@typescript-eslint/parser@^5.4.0": version "5.12.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.12.0.tgz#0ca669861813df99ce54916f66f524c625ed2434" integrity sha512-MfSwg9JMBojMUoGjUmX+D2stoQj1CBYTCP0qnnVtu9A+YQXVKNtLjasYh+jozOcrb/wau8TCfWOkQTiOAruBog== @@ -1871,18 +1871,13 @@ resolved "https://registry.yarnpkg.com/@vue/devtools-api/-/devtools-api-6.0.12.tgz#7b57cce215ae9f37a86984633b3aa3d595aa5b46" integrity sha512-iO/4FIezHKXhiDBdKySCvJVh8/mZPxHpiQrTy+PXVqJZgpTPTdHy4q8GXulaY+UKEagdkBb0onxNQZ0LNiqVhw== -"@vue/eslint-config-prettier@^6.0.0": - version "6.0.0" - resolved "https://registry.yarnpkg.com/@vue/eslint-config-prettier/-/eslint-config-prettier-6.0.0.tgz#ad5912b308f4ae468458e02a2b05db0b9d246700" - integrity sha512-wFQmv45c3ige5EA+ngijq40YpVcIkAy0Lihupnsnd1Dao5CBbPyfCzqtejFLZX1EwH/kCJdpz3t6s+5wd3+KxQ== - dependencies: - eslint-config-prettier "^6.0.0" - -"@vue/eslint-config-typescript@^9.1.0": - version "9.1.0" - resolved "https://registry.yarnpkg.com/@vue/eslint-config-typescript/-/eslint-config-typescript-9.1.0.tgz#b98a64352b312085444a08b98728962e2a8425ab" - integrity sha512-j/852/ZYQ5wDvCD3HE2q4uqJwJAceer2FwoEch1nFo+zTOsPrbzbE3cuWIs3kvu5hdFsGTMYwRwjI6fqZKDMxQ== +"@vue/eslint-config-typescript@^10.0.0": + version "10.0.0" + resolved "https://registry.yarnpkg.com/@vue/eslint-config-typescript/-/eslint-config-typescript-10.0.0.tgz#3b63c8cf276962cb89414857581b9b424acf2820" + integrity sha512-F94cL8ug3FaYXlCfU5/wiGjk1qeadmoBpRGAOBq+qre3Smdupa59dd6ZJrsfRODpsMPyTG7330juMDsUvpZ3Rw== dependencies: + "@typescript-eslint/eslint-plugin" "^5.0.0" + "@typescript-eslint/parser" "^5.0.0" vue-eslint-parser "^8.0.0" "@vue/reactivity-transform@3.2.31": @@ -3602,13 +3597,6 @@ escodegen@^2.0.0: optionalDependencies: source-map "~0.6.1" -eslint-config-prettier@^6.0.0: - version "6.15.0" - resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.15.0.tgz#7f93f6cb7d45a92f1537a70ecc06366e1ac6fed9" - integrity sha512-a1+kOYLR8wMGustcgAjdydMsQ2A/2ipRPwRKUmfYaSxc9ZPcrku080Ctl6zrZzZNs/U82MjSv+qKREkoq3bJaw== - dependencies: - get-stdin "^6.0.0" - eslint-config-prettier@^8.3.0: version "8.4.0" resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.4.0.tgz#8e6d17c7436649e98c4c2189868562921ef563de" @@ -4207,11 +4195,6 @@ get-own-enumerable-property-symbols@^3.0.0: resolved "https://registry.yarnpkg.com/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz#b5fde77f22cbe35f390b4e089922c50bce6ef664" integrity sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g== -get-stdin@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-6.0.0.tgz#9e09bf712b360ab9225e812048f71fde9c89657b" - integrity sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g== - get-stream@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14"