Skip to content

Commit

Permalink
fix: add 'prettier-eslint' back to bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
Rebecca Vest committed Dec 2, 2023
1 parent dc7e9e4 commit 09cf0dc
Show file tree
Hide file tree
Showing 9 changed files with 24,869 additions and 5,262 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
- fix: use worker_threads to support Prettier 3

#### ⚠️ Breaking Changes
- `prettier-eslint` is now required as a dev dependency
- Prettier v3.0 is now required
- ESLint >= v8.52.0 is now required

Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ This extension requires the following NPM packages to be installed either locall

- `prettier@^3.1.0`
- `eslint@^8.52.0`
- `prettier-eslint@^16.1.2`
- `@typescript-eslint/parser@^5.0.1` and `typescript@^4.4.4` **(Only for TypeScript projects)**
- `vue-eslint-parser@^8.0.0` **(Only for Vue projects)**

Expand All @@ -42,24 +41,24 @@ This extension requires the following NPM packages to be installed either locall

### Install Dependencies

First we need to install `prettier`, `eslint`, and `prettier-eslint` as dev dependencies in your project. Run one of the following commands based on your project requirements. The commands listed below use `yarn` but you can also use `npm`. Just replace `yarn add` with `npm i`
First we need to install `prettier` and `eslint` as dev dependencies in your project. Run one of the following commands based on your project requirements. The commands listed below use `yarn` but you can also use `npm`. Just replace `yarn add` with `npm i`

#### Minimum Requirements

```bash
yarn add -D prettier@^3.1.0 eslint@^8.52.0 prettier-eslint@^16.1.2
yarn add -D prettier@^3.1.0 eslint@^8.52.0
```

#### TypeScript Projects

```bash
yarn add -D prettier@^3.1.0 eslint@^8.52.0 prettier-eslint@^16.1.2 @typescript-eslint/parser@^5.0.1 typescript@^4.4.4
yarn add -D prettier@^3.1.0 eslint@^8.52.0 @typescript-eslint/parser@^5.0.1 typescript@^4.4.4
```

#### Vue Projects

```bash
yarn add -D prettier@^3.1.0 eslint@^8.52.0 prettier-eslint@^16.1.2 vue-eslint-parser@^8.0.0
yarn add -D prettier@^3.1.0 eslint@^8.52.0 vue-eslint-parser@^8.0.0
```

### Project Settings
Expand Down
Loading

0 comments on commit 09cf0dc

Please sign in to comment.