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.

Option to use yarn in init wizard

See original GitHub issue

A part of eslinter --init is to install dependencies. At the moment this is always done with npm. Could there be a CLI option to use yarn instead?

The rationale is that in yarn managed projects forcing to run npm i makes a bit mess and forces to remove package-lock.json, remove node_modules and reinstall using yarn.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:21 (21 by maintainers)

github_iconTop GitHub Comments

1reaction
not-an-aardvarkcommented, Jan 19, 2018

Thanks for the issue. This was proposed in https://github.com/eslint/eslint/pull/9023, but the team seemed to be opposed to the change, so I’m going to close this issue. However, feel free to comment here or in the other issue if there’s a factor we missed in the last discussion that would justify reconsidering the proposal.

0reactions
maciej-kacommented, Jan 21, 2018

Yes, I’m closing

Read more comments on GitHub >

github_iconTop Results From Across the Web

yarn init
Interactively creates or updates a package.json file. yarn init. This command walks you through an interactive session to create a package.json file.
Read more >
"yarn init" is not letting me start new project - Stack Overflow
I installed Yarn from the "command prompt" as "run administrator", through the commands "corepack enable". This is what the instructions are on ...
Read more >
4 Methods for How to Install Yarn on Windows Server
Installing the Yarn Package Using Scoop. Scoop is another command line package manager and installer for Windows. These steps guide you through ...
Read more >
How to Install Yarn on Linux, macOS, and Windows - Hostinger
Open Terminal and connect to your server using SSH. Run the following command to install Yarn: sudo npm install --global yarn. Once the ......
Read more >
Getting Started with ESLint - Pluggable JavaScript Linter
npm init @eslint/config. 1. If you want to use a specific shareable config that is hosted on npm, you can use the --config...
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 Hashnode Post

No results found