question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

add ESLint init commands instead of installation commands

See original GitHub issue

ESLint 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:closed
  • Created a year ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
nzakascommented, Jun 30, 2022

@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?

1reaction
aladdin-addcommented, Jun 30, 2022

sounds good! as the eslint --init has been moved to @eslint/create-config, it’s no longer needed to manually install.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found