Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: "Where does your code run?" answer is ignored by @eslint/config@latest #104

Closed
1 task
egorFiNE opened this issue Apr 22, 2024 · 2 comments
Closed
1 task
Labels
bug Something isn't working repro:needed

Comments

@egorFiNE
Copy link

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?

  1. Create empty folder. Run npm init inside, all default answers.

  2. 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.

What did you expect to happen?

✔ Where does your code run? · node

What actually happened?

✔ Where does your code run? · browser

Link to Minimal Reproducible Example

http://example.com

Participation

  • I am willing to submit a pull request for this issue.

Additional comments

Reproducible 100%. Previous answers don't matter. Pressing "a", "i" or spacebar during that question prompt are ignored - nothing changes in UI.

@egorFiNE egorFiNE added bug Something isn't working repro:needed labels Apr 22, 2024
@aladdin-add aladdin-add transferred this issue from eslint/eslint Apr 22, 2024
@aladdin-add
Copy link
Member

Duplicate of #74

@aladdin-add aladdin-add marked this as a duplicate of #74 Apr 22, 2024
@aladdin-add
Copy link
Member

please note it's a multi-selection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working repro:needed
Projects
Archived in project
Development

No branches or pull requests

2 participants