You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node version: v16.17.1
npm version: 8.15.0
Local ESLint version:
Global ESLint version:
Operating System: Ubuntu 22.04
What parser are you using?
Default (Espree)
What did you do?
I am trying to install ESLint with all defaults be running npm init with --yes option, but it doesn't work.
$ npm init --yes @eslint/config
? How would you like to use ESLint? …
To check syntax only
▸ To check syntax and find problems
To check syntax, find problems, and enforce code style<!-- Paste your code here -->
What did you expect to happen?
All options are chosen by default.
What actually happened?
Command hangs waiting for input.
Participation
I am willing to submit a pull request for this issue.
Additional comments
No response
The text was updated successfully, but these errors were encountered:
@aladdin-add's original use case, clarified in #23 (comment), was to have a non-interactive setup that could be run in an unsupervised scenario.
So what is the official way to install ESLint non-interactively without --yes? The only thing that comes to my mind is to throw in some temporary config. I don't know.
Environment
Node version: v16.17.1
npm version: 8.15.0
Local ESLint version:
Global ESLint version:
Operating System: Ubuntu 22.04
What parser are you using?
Default (Espree)
What did you do?
I am trying to install ESLint with all defaults be running
npm init
with--yes
option, but it doesn't work.What did you expect to happen?
All options are chosen by default.
What actually happened?
Command hangs waiting for input.
Participation
Additional comments
No response
The text was updated successfully, but these errors were encountered: