add ESLint init commands instead of installation commands
See original GitHub issueESLint version
v8.18.0
What problem do you want to solve?
npm install eslint --save-dev
# or
yarn add eslint --dev
we right now have npm and yarn commands to install and get started with ESLint. How about adding pnpm to the docs as well. We do support pnpm
via @eslint/config
so it might be nice to provide that as well
What do you think is the correct solution?
Adding pnpm
commands equivalents to the getting started page.
Participation
- I am willing to submit a pull request for this change.
Additional comments
No response
Issue Analytics
- State:
- Created a year ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Getting Started with ESLint - Pluggable JavaScript Linter
You can install and configure ESLint using this command: npm init @eslint/config. 1. If you want to use a specific shareable config that...
Read more >Adding ESlint to Your Project - Medium
In this article I will help you to add ESlint to an existing or a new project with a couple of easy steps...
Read more >ESlint Error Install from Command Line - Stack Overflow
If you're getting eslint: command not found try: ./node_modules/.bin/eslint --init.
Read more >Configure ESLint for Next.js - Devin Shoemaker
npm install --save-dev eslint eslint-plugin-react # or yarn add --dev eslint ... This command will prompt you for a series of questions:.
Read more >VS Code ESLint extension - Visual Studio Marketplace
eslintrc configuration file. You can do this by either using the VS Code command Create ESLint configuration or by running the eslint command...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@eslint/eslint-tsc this is a quick one, shall we change our docs to recommend
npm init @eslint/config
as the way to install ESLint?sounds good! as the
eslint --init
has been moved to@eslint/create-config
, it’s no longer needed to manually install.