Node version: 21.7.3
npm version: 10.5.0
Operating System: Darwin 23.4.0
What parser are you using?
Default (Espree)
What did you do?
Create empty folder. Run npm init inside, all default answers.
Execute npm init @eslint/config@latest. Answer as follows:
✔ How would you like to use ESLint? · style
✔ What type of modules does your project use? · esm
✔ Which framework does your project use? · none
✔ Does your project use TypeScript? · javascript
Answer to the question "Where does your code run?" is ignored and eslint/config proceeds as if "browser" answer was given.
Environment
Node version: 21.7.3 npm version: 10.5.0 Operating System: Darwin 23.4.0
What parser are you using?
Default (Espree)
What did you do?
Create empty folder. Run
npm init
inside, all default answers.Execute
npm init @eslint/config@latest
. Answer as follows:Answer to the question "Where does your code run?" is ignored and eslint/config proceeds as if "browser" answer was given.
What did you expect to happen?
What actually happened?
Link to Minimal Reproducible Example
http://example.com
Participation
Additional comments
Reproducible 100%. Previous answers don't matter. Pressing "a", "i" or spacebar during that question prompt are ignored - nothing changes in UI.