Skip to content

Commit 3a0465b

Browse files
committed
feat!: integrate @typescript-eslint/* as dependencies
So that this shared config can be used with https://www.npmjs.com/package/@rushstack/eslint-patch without introducing too many peer dependencies Note that eslint-plugin-vue is still a peer dependency. Because users are still expected to extend from the plugin's configs by themselves, to choose from Vue 2 / 3, essential / recommended rules, etc.
1 parent 8c37a3a commit 3a0465b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
},
2929
"homepage": "https://github.com/vuejs/eslint-config-typescript#readme",
3030
"devDependencies": {
31-
"@typescript-eslint/eslint-plugin": "^5.0.0",
32-
"@typescript-eslint/parser": "^5.0.0",
3331
"eslint": "^8.0.0",
3432
"eslint-plugin-vue": "^8.0.1",
3533
"execa": "^4.0.3",
@@ -40,12 +38,12 @@
4038
"vue-property-decorator": "^9.0.2"
4139
},
4240
"peerDependencies": {
43-
"@typescript-eslint/eslint-plugin": "^5.0.0",
44-
"@typescript-eslint/parser": "^5.0.0",
4541
"eslint": "^6.2.0 || ^7.0.0 || ^8.0.0",
4642
"eslint-plugin-vue": "^8.0.1"
4743
},
4844
"dependencies": {
45+
"@typescript-eslint/eslint-plugin": "^5.0.0",
46+
"@typescript-eslint/parser": "^5.0.0",
4947
"vue-eslint-parser": "^8.0.0"
5048
},
5149
"engines": {

0 commit comments

Comments
 (0)