From 275034fcb57ef7eb14f1e4a9c38546b7433ffbdd Mon Sep 17 00:00:00 2001 From: Katerina Skroumpelou Date: Thu, 19 Oct 2023 17:26:40 +0300 Subject: [PATCH] fix(vue): downgrade @vue/eslint-config-prettier to work with prettier v2 --- .../src/generators/library/__snapshots__/library.spec.ts.snap | 4 ++-- packages/vue/src/utils/versions.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/vue/src/generators/library/__snapshots__/library.spec.ts.snap b/packages/vue/src/generators/library/__snapshots__/library.spec.ts.snap index a0173418f4125..aeb98b90e7b32 100644 --- a/packages/vue/src/generators/library/__snapshots__/library.spec.ts.snap +++ b/packages/vue/src/generators/library/__snapshots__/library.spec.ts.snap @@ -50,7 +50,7 @@ exports[`lib should add correct jest.config.ts and dependencies to package.json "@typescript-eslint/eslint-plugin": "^5.60.1", "@typescript-eslint/parser": "^5.60.1", "@vitejs/plugin-vue": "^4.3.1", - "@vue/eslint-config-prettier": "^8.0.0", + "@vue/eslint-config-prettier": "7.1.0", "@vue/eslint-config-typescript": "^11.0.3", "@vue/test-utils": "^2.4.1", "@vue/tsconfig": "^0.4.0", @@ -249,7 +249,7 @@ exports[`lib should add vue, vite and vitest to package.json 1`] = ` "@vitejs/plugin-vue": "^4.3.1", "@vitest/coverage-c8": "~0.32.0", "@vitest/ui": "~0.32.0", - "@vue/eslint-config-prettier": "^8.0.0", + "@vue/eslint-config-prettier": "7.1.0", "@vue/eslint-config-typescript": "^11.0.3", "@vue/test-utils": "^2.4.1", "@vue/tsconfig": "^0.4.0", diff --git a/packages/vue/src/utils/versions.ts b/packages/vue/src/utils/versions.ts index 9a8632fca91a7..d87654c80c2fa 100644 --- a/packages/vue/src/utils/versions.ts +++ b/packages/vue/src/utils/versions.ts @@ -14,7 +14,7 @@ export const vitePluginVueVersion = '^4.3.1'; export const vueJest3Version = '^29.2.6'; // linting deps -export const vueEslintConfigPrettierVersion = '^8.0.0'; +export const vueEslintConfigPrettierVersion = '7.1.0'; export const vueEslintConfigTypescriptVersion = '^11.0.3'; export const eslintPluginVueVersion = '^9.16.1';