Skip to content

Commit

Permalink
feat(eslint-generator): upgrade @vue/eslint-config-prettier to v5.0.0 (
Browse files Browse the repository at this point in the history
…#4329)

This only affects newly generated projects so it's not considered a
breaking change.

Fixes #4310
  • Loading branch information
sodatea committed Jul 22, 2019
1 parent de9748a commit 6207dd9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/@vue/cli-plugin-eslint/generator/index.js
Expand Up @@ -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
Expand Down

0 comments on commit 6207dd9

Please sign in to comment.