Skip to content

Commit

Permalink
fix(prettier-vue): remove @vue/eslint-config-prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine committed Sep 28, 2023
1 parent 8cc7b39 commit 9c7956d
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 239 deletions.
38 changes: 2 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# MyParcel ESLint

This is a collection of ESLint configurations that we use at MyParcel. Each package can be installed via your favorite package manager.
This is a collection of ESLint configurations that we use at MyParcel. Each package can be installed via your favorite
package manager.

## Packages

Expand Down Expand Up @@ -133,7 +134,6 @@ Dependencies

- [@myparcel-eslint/eslint-config-typescript]
- [@myparcel-eslint/eslint-config-vue]
- [@vue/eslint-config-prettier]
- [@vue/eslint-config-typescript]
- [eslint-plugin-vue]

Expand Down Expand Up @@ -170,69 +170,35 @@ Dependencies

> Read more: [Source](./packages/eslint-config-vue3)

[@myparcel-eslint/eslint-config-cypress]: #myparcel-eslinteslint-config-cypress

[@myparcel-eslint/eslint-config-es5]: #myparcel-eslinteslint-config-es5

[@myparcel-eslint/eslint-config-es6]: #myparcel-eslinteslint-config-es6

[@myparcel-eslint/eslint-config-es6]: https://www.npmjs.com/package/@myparcel-eslint/eslint-config-es6

[@myparcel-eslint/eslint-config-esnext]: #myparcel-eslinteslint-config-esnext

[@myparcel-eslint/eslint-config-esnext]: https://www.npmjs.com/package/@myparcel-eslint/eslint-config-esnext

[@myparcel-eslint/eslint-config-node]: #myparcel-eslinteslint-config-node

[@myparcel-eslint/eslint-config-prettier-typescript-vue]: #myparcel-eslinteslint-config-prettier-typescript-vue

[@myparcel-eslint/eslint-config-prettier-typescript]: #myparcel-eslinteslint-config-prettier-typescript

[@myparcel-eslint/eslint-config-prettier-vue]: #myparcel-eslinteslint-config-prettier-vue

[@myparcel-eslint/eslint-config-prettier]: #myparcel-eslinteslint-config-prettier

[@myparcel-eslint/eslint-config-prettier]: https://www.npmjs.com/package/@myparcel-eslint/eslint-config-prettier

[@myparcel-eslint/eslint-config-tailwindcss]: #myparcel-eslinteslint-config-tailwindcss

[@myparcel-eslint/eslint-config-typescript-vue]: #myparcel-eslinteslint-config-typescript-vue

[@myparcel-eslint/eslint-config-typescript]: #myparcel-eslinteslint-config-typescript

[@myparcel-eslint/eslint-config-typescript]: https://www.npmjs.com/package/@myparcel-eslint/eslint-config-typescript

[@myparcel-eslint/eslint-config-vue2]: #myparcel-eslinteslint-config-vue2

[@myparcel-eslint/eslint-config-vue2]: https://www.npmjs.com/package/@myparcel-eslint/eslint-config-vue2

[@myparcel-eslint/eslint-config-vue3]: #myparcel-eslinteslint-config-vue3

[@myparcel-eslint/eslint-config-vue3]: https://www.npmjs.com/package/@myparcel-eslint/eslint-config-vue3

[@myparcel-eslint/eslint-config-vue]: #myparcel-eslinteslint-config-vue

[@myparcel-eslint/eslint-config-vue]: https://www.npmjs.com/package/@myparcel-eslint/eslint-config-vue

[@myparcel-eslint/eslint-config]: #myparcel-eslinteslint-config

[@myparcel-eslint/eslint-config]: https://www.npmjs.com/package/@myparcel-eslint/eslint-config

[@typescript-eslint/eslint-plugin]: https://www.npmjs.com/package/@typescript-eslint/eslint-plugin

[@typescript-eslint/parser]: https://www.npmjs.com/package/@typescript-eslint/parser

[@vue/eslint-config-prettier]: https://www.npmjs.com/package/@vue/eslint-config-prettier

[@vue/eslint-config-typescript]: https://www.npmjs.com/package/@vue/eslint-config-typescript

[eslint-config-cypress]: https://www.npmjs.com/package/eslint-config-cypress

[eslint-plugin-tailwindcss]: https://www.npmjs.com/package/eslint-plugin-tailwindcss

[eslint-plugin-vue]: https://www.npmjs.com/package/eslint-plugin-vue

[eslint]: https://www.npmjs.com/package/eslint

[prettier]: https://www.npmjs.com/package/prettier
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"dependencies": {
"@myparcel-eslint/eslint-config-prettier": "workspace:^1.3.1",
"@myparcel-eslint/eslint-config-typescript-vue": "workspace:^1.3.1",
"@vue/eslint-config-prettier": "7 - 8",
"@vue/eslint-config-typescript": "1 - 11",
"eslint-plugin-vue": "1 - 9"
},
Expand Down
3 changes: 1 addition & 2 deletions packages/eslint-config-prettier-typescript-vue/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import {ESLint} from 'eslint';
import {type ESLint} from 'eslint';

export const config: ESLint.ConfigData = {
'extends': [
'@myparcel-eslint/eslint-config-typescript-vue',
'@myparcel-eslint/eslint-config-prettier',
'@vue/eslint-config-typescript/recommended',
'@vue/eslint-config-prettier',
],
};
3 changes: 1 addition & 2 deletions packages/eslint-config-prettier-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@
},
"dependencies": {
"@myparcel-eslint/eslint-config-prettier": "workspace:^1.3.1",
"@myparcel-eslint/eslint-config-vue": "workspace:^1.3.1",
"@vue/eslint-config-prettier": "1 - 8"
"@myparcel-eslint/eslint-config-vue": "workspace:^1.3.1"
},
"peerDependencies": {
"eslint": "7 - 8",
Expand Down
3 changes: 1 addition & 2 deletions packages/eslint-config-prettier-vue/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import {ESLint} from 'eslint';
import {type ESLint} from 'eslint';

export const config: ESLint.ConfigData = {
'extends': [
'@myparcel-eslint/eslint-config-vue',
'@myparcel-eslint/eslint-config-prettier',
'@vue/eslint-config-prettier',
],
};
3 changes: 1 addition & 2 deletions packages/eslint-config-prettier-vue2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@
},
"dependencies": {
"@myparcel-eslint/eslint-config-prettier": "workspace:^1.3.1",
"@myparcel-eslint/eslint-config-vue2": "workspace:^1.3.1",
"@vue/eslint-config-prettier": "1 - 8"
"@myparcel-eslint/eslint-config-vue2": "workspace:^1.3.1"
},
"peerDependencies": {
"eslint": "7 - 8",
Expand Down
3 changes: 1 addition & 2 deletions packages/eslint-config-prettier-vue2/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import {ESLint} from 'eslint';
import {type ESLint} from 'eslint';

export const config: ESLint.ConfigData = {
'extends': [
'@myparcel-eslint/eslint-config-vue2',
'@myparcel-eslint/eslint-config-prettier',
'@vue/eslint-config-prettier',
],
};
Loading

0 comments on commit 9c7956d

Please sign in to comment.