我只是在运行:
$> jshint .
Run Code Online (Sandbox Code Playgroud)
它查看我的项目目录中的 .js 文件,但它也在查看 node_modules 目录,该目录包含大量我不想知道的 .js 文件。
我可能会提到 eslint 开箱即用,可以忽略 node_modules 目录。
有没有办法运行带有标志的 .jshint 以忽略 node_modules 目录?
例如
$> jshint . --ignore ./node_modules
Run Code Online (Sandbox Code Playgroud)
?
| 归档时间: |
|
| 查看次数: |
5750 次 |
| 最近记录: |