Skip to content

Commit

Permalink
docs: add more installation commands, with shell code blocks (#303)
Browse files Browse the repository at this point in the history
Co-authored-by: angeldarco <[email protected]>
  • Loading branch information
JounQin and AngelDarco authored Mar 7, 2025
1 parent e2015cd commit 9297b8e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,20 @@ 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 9297b8e

Please sign in to comment.