addyosmani / addyosmani/sublime-fixmyjs

Error: Too many errors reported by JSHint.

Open
#9 7 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
248
Forks
11
PR merge metrics
No merged PRs in 30d

Description

```
error: FixMyJS
Error:
/Users/[USERNAME]/Library/Application Support/Sublime Text 3/Packages/FixMyJS/fixmyjs.js:22
throw err;
^
Error: Too many errors reported by JSHint.
at Function.Fix.tme (/Users/[USERNAME]/Library/Application Support/Sublime Text 3/Packages/FixMyJS/node_modules/fixmyjs/lib/legacy.js:445:15)
at Code.fix (/Users/[USERNAME]/Library/Application Support/Sublime Text 3/Packages/FixMyJS/node_modules/fixmyjs/lib/legacy.js:28:21)
at Object.errors.(anonymous function) [as E043] (/Users/[USERNAME]/Library/Application Support/Sublime Text 3/Packages/FixMyJS/node_modules/fixmyjs/lib/legacy.js:517:19)
at fixError (/Users/[USERNAME]/Library/Application Support/Sublime Text 3/Packages/FixMyJS/node_modules/fixmyjs/lib/legacy.js:539:28)
at /Users/[USERNAME]/Library/Application Support/Sublime Text 3/Packages/FixMyJS/node_modules/fixmyjs/lib/legacy.js:550:9
at Array.forEach (native)
at Object.api.run (/Users/[USERNAME]/Library/Application Support/Sublime Text 3/Packages/FixMyJS/node_modules/fixmyjs/lib/legacy.js:711:21)
at /Users/[USERNAME]/Library/Application Support/Sublime Text 3/Packages/FixMyJS/fixmyjs.js:16:38
at Socket. (/Users/[USERNAME]/Library/Application Support/Sublime Text 3/Packages/FixMyJS/node_modules/get-stdin/index.js:12:3)
at Socket.emit (events.js:117:20)
```

This is shown in a dialog box when running FixMyJS on a file where JSHint has given up after too many errors. Selecting a few lines of code that JSHint has a problem with and running FixMyJs does nothing and doesn't output anything to the console. I'm also using SublimeLinter.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.