addyosmani / addyosmani/sublime-fixmyjs

Error: Too many errors reported by JSHint.

未关闭
#9 7 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Python
星标
248
派生
11
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。