Skip to content
chris edited this page Jun 9, 2015 · 8 revisions

代码检查

用法

$ fecs [target...]

$ fecs check [target...]

$ fecs check [target...] --type=js,css

$ fecs check [target...] --type=html

说明

使用 eslint当前目录下所有 JavaScript 代码进行检测。 使用 csshint当前目录下所有 CSS 代码进行检测。 使用 htmlcs当前目录下所有 HTML 代码进行检测。

更多信息

参见 FECS 命令参数

注意事项

对 HTML 的检测,已经去掉 htmlhint,完全转移到 htmlcs,所有 htmlhint 相关的自定义配置将不会生效。