Skip to content

Commit

Permalink
docs: update note for package managers (#18779)
Browse files Browse the repository at this point in the history
* docs: update note in command line reference

* chore: add clarity to note

Co-authored-by: Nicholas C. Zakas <nicholas@humanwhocodes.com>

---------

Co-authored-by: Nicholas C. Zakas <nicholas@humanwhocodes.com>
  • Loading branch information
Jay-Karia and nzakas authored Aug 15, 2024
1 parent bf96855 commit fb7a3f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/use/command-line-interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ npx eslint

If you are not using a flat configuration file, running ESLint without file arguments results in an error.

**Note:** You can also use alternative package managers such as [Yarn](https://yarnpkg.com/) or [pnpm](https://pnpm.io/) to run ESLint. Please refer to your package manager's documentation for the correct syntax.
**Note:** You can also use alternative package managers such as [Yarn](https://yarnpkg.com/) or [pnpm](https://pnpm.io/) to run ESLint. For pnpm use `pnpm dlx eslint` and for Yarn use `yarn dlx eslint`.

## Pass Multiple Values to an Option

Expand Down

0 comments on commit fb7a3f5

Please sign in to comment.