Skip to content

Commit

Permalink
feat!: move eslint:recommended to a separate recommended config
Browse files Browse the repository at this point in the history
BREAKING CHANGE:
`eslint:recommended` is no longer included in the default
configuration. Users of the old version need to update their `extends`
to use `@vue/prettier/recommended`, or
`['eslint:recommended', '@vue/prettier]`.

Fixes #3
  • Loading branch information
haoqunjiang committed Nov 17, 2019
1 parent 708b639 commit de7a518
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
plugins: ['prettier'],
extends: [
'eslint:recommended',
require.resolve('eslint-config-prettier'),
require.resolve('eslint-config-prettier/vue')
],
Expand Down
6 changes: 6 additions & 0 deletions recommended.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
extends: [
'eslint:recommended',
require.resolve('./index')
]
}

0 comments on commit de7a518

Please sign in to comment.