mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-02-05 22:48:27 -06:00
feat(eslint-generator): upgrade @vue/eslint-config-prettier to v5.0.0 (#4329)
This only affects newly generated projects so it's not considered a breaking change. Fixes #4310
This commit is contained in:
@@ -56,7 +56,9 @@ module.exports = (api, { config, lintOn = [] }, _, invoking) => {
|
||||
} else if (config === 'prettier') {
|
||||
eslintConfig.extends.push('@vue/prettier')
|
||||
Object.assign(pkg.devDependencies, {
|
||||
'@vue/eslint-config-prettier': '^4.0.1'
|
||||
'@vue/eslint-config-prettier': '^5.0.0',
|
||||
'eslint-plugin-prettier': '^3.1.0',
|
||||
prettier: '^1.18.2'
|
||||
})
|
||||
// prettier & default config do not have any style rules
|
||||
// so no need to generate an editorconfig file
|
||||
|
||||
Reference in New Issue
Block a user