Cannot finish file scan in `eslint --init`
See original GitHub issueWhat version of ESLint are you using? 2.8.0 What parser (default, Babel-ESLint, etc.) are you using? default Please show your full configuration: none yet What did you do? Please include the actual source code causing the issue.
eslint --init scripts
on existing project- I choose to scan my files to determine the best configuration What did you expect to happen? successful finish What actually happened? Please include the actual, raw output from ESLint.
Determining Config: 31% [=========---------------------] 57.2s elapsed, eta 130.1s Cannot read property 'errorCount' of undefined
TypeError: Cannot read property 'errorCount' of undefined
at C:\Users\khomyackov\AppData\Roaming\npm\node_modules\eslint\lib\config\autoconfig.js:315:68
at Array.forEach (native)
at C:\Users\khomyackov\AppData\Roaming\npm\node_modules\eslint\lib\config\autoconfig.js:314:29
at Array.forEach (native)
at C:\Users\khomyackov\AppData\Roaming\npm\node_modules\eslint\lib\config\autoconfig.js:310:22
at Array.forEach (native)
at Registry.lintSourceCode (C:\Users\khomyackov\AppData\Roaming\npm\node_modules\eslint\lib\config\autoconfig.js:305:19)
at configureRules (C:\Users\khomyackov\AppData\Roaming\npm\node_modules\eslint\lib\config\config-initializer.js:146:25)
at processAnswers (C:\Users\khomyackov\AppData\Roaming\npm\node_modules\eslint\lib\config\config-initializer.js:250:18)
at null.completed (C:\Users\khomyackov\AppData\Roaming\npm\node_modules\eslint\lib\config\config-initializer.js:404:30)
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Configuration Files - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >ESLINT An error occurred while generating your JavaScript ...
Error: An error occurred while generating your JavaScript config file. A config file was still generated, but the config file itself may not ......
Read more >How To Lint and Format Code with ESLint in Visual Studio Code
Using the npm init command to initialize your project will create a package.json file in the vscode-eslint-example directory.
Read more >lint-staged - npm
Install some linters, like ESLint or Prettier ... Note: when used, lint-staged won't perform the config file search and will print an error ......
Read more >12. How to install npm ESLint plugin in the application and ...
In this video, we will see how to install the npm ESLint plugin from the npm packages and implement the plugin in the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@IanVS I confirm that your fix solves this issue
Getting good, detailed bug reports makes me so happy. 😃 Thanks for taking the time to do a little extra troubleshooting.
Hopefully we can squeeze this fix into today’s release.