-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Docs: Add tabs to cli blocks #18783
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
documentation
Relates to ESLint's documentation
Comments
amareshsm
added
the
accepted
There is consensus among the team that this change meets the criteria for inclusion
label
Aug 17, 2024
Found a method to implement the tabs in the docs:
Could not find any use case in the docs. The component uses a static |
Use Macro to create a reusable section. Create a macro similar to
|
Thanks for your help. 👍 |
9 tasks
This comment has been minimized.
This comment has been minimized.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
documentation
Relates to ESLint's documentation
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 usingpnpm
yarn
orbun
What do you think is the correct solution?
Add tabs to code blocks like
https://eslint.org/docs/latest/component-library/code-tabs
Participation
Additional comments
There's a library which helps to convert commands between
npm
and other package managers.npm-to-yarn
The text was updated successfully, but these errors were encountered: