Skip to content

Commit

Permalink
[Improvement] Add more installation commands, with shell code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelDarco committed Apr 14, 2024
1 parent 5687e7d commit c7b69ef
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,17 @@ Note that this config _only_ turns rules _off,_ so it only makes sense using it

1. Install eslint-config-prettier:

```shell
npm i -D eslint-config-prettier
```
npm install --save-dev eslint-config-prettier
```shell
yarn add -D eslint-config-prettier
```
```shell
pnpm add -D eslint-config-prettier
```
```shell
bun add -D eslint-config-prettier
```

2. Add eslint-config-prettier to your ESLint configuration – either to [eslintrc] or to [eslint.config.js (flat config)].
Expand Down

0 comments on commit c7b69ef

Please sign in to comment.