From: Jérôme Benoit Date: Thu, 4 Jan 2024 17:59:12 +0000 (+0100) Subject: build(ui): add missing dependency X-Git-Tag: v1.2.32~57 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=ab48c1ad333ac65f923664c910eedcf8902ec8ab;p=e-mobility-charging-stations-simulator.git build(ui): add missing dependency Signed-off-by: Jérôme Benoit --- diff --git a/ui/web/.eslintrc.cjs b/ui/web/.eslintrc.cjs index 875ab418..75c92c6a 100644 --- a/ui/web/.eslintrc.cjs +++ b/ui/web/.eslintrc.cjs @@ -1,3 +1,4 @@ +require('@rushstack/eslint-patch/modern-module-resolution') const { env } = require('node:process') const { defineConfig } = require('eslint-define-config') @@ -14,8 +15,8 @@ module.exports = defineConfig({ 'eslint:recommended', 'plugin:import/recommended', 'plugin:vue/vue3-recommended', - '@vue/eslint-config-prettier', '@vue/eslint-config-typescript/recommended', + '@vue/eslint-config-prettier', ], settings: { diff --git a/ui/web/package.json b/ui/web/package.json index 23888c1a..c4ed303a 100644 --- a/ui/web/package.json +++ b/ui/web/package.json @@ -38,6 +38,7 @@ "vue-router": "^4.2.5" }, "devDependencies": { + "@rushstack/eslint-patch": "^1.6.1", "@tsconfig/node20": "^20.1.2", "@types/jsdom": "^21.1.6", "@types/node": "^20.10.6", diff --git a/ui/web/pnpm-lock.yaml b/ui/web/pnpm-lock.yaml index aca15c69..54b0e9ff 100644 --- a/ui/web/pnpm-lock.yaml +++ b/ui/web/pnpm-lock.yaml @@ -22,6 +22,9 @@ dependencies: version: 4.2.5(vue@3.4.5) devDependencies: + '@rushstack/eslint-patch': + specifier: ^1.6.1 + version: 1.6.1 '@tsconfig/node20': specifier: ^20.1.2 version: 20.1.2 @@ -855,6 +858,10 @@ packages: dev: true optional: true + /@rushstack/eslint-patch@1.6.1: + resolution: {integrity: sha512-UY+FGM/2jjMkzQLn8pxcHGMaVLh9aEitG3zY2CiY7XHdLiz3bZOwa6oDxNqEMv7zZkV+cj5DOdz0cQ1BP5Hjgw==} + dev: true + /@sinclair/typebox@0.27.8: resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} dev: true