Skip to content

Docs: Add tabs to cli blocks #18783

@Jay-Karia

Description

@Jay-Karia

Docs page(s)

One of the docs page
https://eslint.org/docs/latest/use/getting-started#quick-start

What documentation issue do you want to solve?

The code blocks with CLI commands are only written in npx. What about the devs using pnpm yarn or bun

What do you think is the correct solution?

Add tabs to code blocks like
https://eslint.org/docs/latest/component-library/code-tabs

Participation

  • I am willing to submit a pull request for this change.

Additional comments

There's a library which helps to convert commands between npm and other package managers.
npm-to-yarn

Metadata

Metadata

Assignees

Labels

acceptedThere is consensus among the team that this change meets the criteria for inclusiondocumentationRelates to ESLint's documentation

Type

No type

Projects

Status

Complete

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions