Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Improvement] added more install options to the README.md #284

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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:

```bash
npm i -D eslint-config-prettier
```
npm install --save-dev eslint-config-prettier
```bash
yarn add -D eslint-config-prettier
```
```bash
pnpm add -D eslint-config-prettier
```
```bash
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