You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e047103
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
感觉直接装 eslint vscode 插件,然后保存时自动执行 lint 可能更方便?
e047103
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里的
lint
会调用官方定制的一个 npm 包(在./.ci/
),我不确定 VS Code 的 ES Lint 插件是不是能和它一起工作,目前开发主要是在 Scaffold 完成(因为涉及到创建 test case),最后回到 VS Code 执行 Lint 检查并提交e047103
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果本地安装了 eslint npm 包,且包含配置文件,vsc插件会使用本地的配置文件,所以理论上是可以正常工作的。