fix(linter): add migration for eslint config prettier (#19732)

This commit is contained in:
Katerina Skroumpelou 2023-10-19 16:27:47 +03:00 committed by GitHub
parent e56dd31dc2
commit ef4ffe9bc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 3 deletions

View File

@ -74,6 +74,14 @@
"version": "^5.60.1" "version": "^5.60.1"
} }
} }
},
"17.0.0": {
"version": "17.0.0-rc.2",
"packages": {
"eslint-config-prettier": {
"version": "^9.0.0"
}
}
} }
} }
} }

View File

@ -2,5 +2,5 @@ export const nxVersion = require('../../package.json').version;
export const eslintVersion = '~8.46.0'; export const eslintVersion = '~8.46.0';
export const eslintrcVersion = '^2.1.1'; export const eslintrcVersion = '^2.1.1';
export const eslintConfigPrettierVersion = '9.0.0'; export const eslintConfigPrettierVersion = '^9.0.0';
export const typescriptESLintVersion = '^5.60.1'; export const typescriptESLintVersion = '^5.60.1';

View File

@ -57,7 +57,7 @@ exports[`lib should add correct jest.config.ts and dependencies to package.json
"@vue/vue3-jest": "^29.2.6", "@vue/vue3-jest": "^29.2.6",
"babel-jest": "^29.4.1", "babel-jest": "^29.4.1",
"eslint": "~8.46.0", "eslint": "~8.46.0",
"eslint-config-prettier": "9.0.0", "eslint-config-prettier": "^9.0.0",
"eslint-plugin-vue": "^9.16.1", "eslint-plugin-vue": "^9.16.1",
"jest": "^29.4.1", "jest": "^29.4.1",
"jest-environment-jsdom": "^29.4.1", "jest-environment-jsdom": "^29.4.1",
@ -254,7 +254,7 @@ exports[`lib should add vue, vite and vitest to package.json 1`] = `
"@vue/test-utils": "^2.4.1", "@vue/test-utils": "^2.4.1",
"@vue/tsconfig": "^0.4.0", "@vue/tsconfig": "^0.4.0",
"eslint": "~8.46.0", "eslint": "~8.46.0",
"eslint-config-prettier": "9.0.0", "eslint-config-prettier": "^9.0.0",
"eslint-plugin-vue": "^9.16.1", "eslint-plugin-vue": "^9.16.1",
"jsdom": "~22.1.0", "jsdom": "~22.1.0",
"prettier": "^2.6.2", "prettier": "^2.6.2",