-
-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Labels
Description
Environment
Node version:24.7.0
pnpm version:10.15.0
Local ESLint version:9.35.0
Global ESLint version:none
Operating System: linux 6.6.87.2-microsoft-standard-WSL2
What parser are you using?
@typescript-eslint/parser
What did you do?
Configuration
While installing and configuring eslint in cli.✔ What do you want to lint? · javascript
✔ Where does your code run? · browser
This two option were not selected in position where i am when i press enter.
pnpm create @eslint/config@latest
Even though i am different position and press enter that option is not selected javascript
and browser
these two option are not selected by me. While in ✔ Where does your code run? · browser
it show instruction that space
is used to select but i still think that enter should also select that options.
shree@shree:~/check$ pnpm create @eslint/config@latest
@eslint/create-config: v1.10.0
✔ What do you want to lint? · javascript
✔ How would you like to use ESLint? · syntax
✔ What type of modules does your project use? · commonjs
✔ Which framework does your project use? · none
✔ Does your project use TypeScript? · No / Yes
✔ Where does your code run? · browser
✔ Which language do you want your configuration file be written in? · ts
The config that you've selected requires the following dependencies:
eslint, globals, typescript-eslint
✔ Would you like to install them now? · No / Yes
✔ Which package manager do you want to use? · pnpm
☕️Installing...
Packages: +120
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 120, reused 120, downloaded 0, added 120, done
devDependencies:
+ eslint 9.35.0
+ globals 16.4.0
+ typescript-eslint 8.43.0
Done in 4.8s using pnpm v10.15.0
A config file was generated, but the config file itself may not follow your linting rules.
What did you expect to happen?
I expect enter should work.
What actually happened?

In CLI i am in Markdown and when i press enter javascript is select.

Although here in we can see instruction but i still think enter should also work.

And in eslint.config.mts file globals.browser is seen because browser is selected.
Link to Minimal Reproducible Example
https://github.com/shreedhar01/eslint-reproduce/tree/main
Participation
- I am willing to submit a pull request for this issue.
Additional comments
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Complete