Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReferenceError: invalidFiles is not defined #24

Closed
Tracked by #25
Rabbitzzc opened this issue Nov 22, 2020 · 3 comments
Closed
Tracked by #25

ReferenceError: invalidFiles is not defined #24

Rabbitzzc opened this issue Nov 22, 2020 · 3 comments

Comments

@Rabbitzzc
Copy link

Rabbitzzc commented Nov 22, 2020

yarn global add zhlint

然后在测试运行某个文件的时候:

zhlint ./test/hh.md

出现报错: ReferenceError: invalidFiles is not defined

--- 补充 ---
看了一下应该是 #L72 出现了问题,参数没有定义,建议加上 eslint 工具

@veaba
Copy link

veaba commented Apr 9, 2021

全局升级一下你的 zhlint 版本到最新 ·0.3.0·,我本地的 zhlint@0.2.2,也是有这个问题。

升级后解决了。

补充下,作者应该还没有发到 npm 上去,刚对比了下时间才知道。

😄

@Psilocine
Copy link

升级到 v0.3 并没有解决楼主的错误,还是会报,而且 fix/output 命令也失效了! 😭
image

@Jinjiang
Copy link
Collaborator

这个问题现在还能重现吗?我最近用 TS 重构了一下,版本号升级到了 v0.5.0,这个问题应该已经修复了。
如果还会遇到这个问题,可以 reopen,我这里先关掉了。

其它问题可以另外开 issue 讨论。

谢谢

@Jinjiang Jinjiang mentioned this issue Jan 27, 2022
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants