Skip to content

Commit

Permalink
docs: sync --config examples with ESLint Getting Started docs (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjermanovic committed Mar 8, 2023
1 parent 5216efa commit 4e48315
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Expand Up @@ -22,14 +22,15 @@ If you want to use a specific shareable config that is hosted on npm, you can us

```bash
# use `eslint-config-semistandard` shared config
# npm 6.x
npm init @eslint/config --config semistandard

# ⚠️ npm 7+, extra double-dash is needed:
# npm 7+
npm init @eslint/config -- --config semistandard

# or (`eslint-config` prefix is optional)
npm init @eslint/config -- --config eslint-config-semistandard

# ⚠️ npm 6.x no extra double-dash:
npm init @eslint/config --config semistandard
```

The `--config` flag also supports passing in arrays:
Expand Down

0 comments on commit 4e48315

Please sign in to comment.