Skip to content

Commit de7a518

Browse files
committed
feat!: move eslint:recommended to a separate recommended config
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
1 parent 708b639 commit de7a518

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

index.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
module.exports = {
22
plugins: ['prettier'],
33
extends: [
4-
'eslint:recommended',
54
require.resolve('eslint-config-prettier'),
65
require.resolve('eslint-config-prettier/vue')
76
],

recommended.js

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
extends: [
3+
'eslint:recommended',
4+
require.resolve('./index')
5+
]
6+
}

0 commit comments

Comments
 (0)