eslint: Running `eslint --init` doesn't work

So I’ve installed eslint today (v1.5) and trying to get started with it. I installed with npm install -g eslint then I ran eslint --init I’m then displayed with

? What style of indentation do you use? (Use arrow keys) Tabs Spaces

Arrow keys are unresponsive and pressing enter quits the process and returns me to the command prompt, also no file is created. If I type something then it appears next to the spaces choice.

I’m on Windows 10, using Node v4.0.0 not sure if that matters.

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 16 (5 by maintainers)

Most upvoted comments

I have the issue in Git Bash. But interactive functionality works in Windows PowerShell.