fex-team / styleguide

文档与源码编写风格
Creative Commons Attribution 4.0 International
2.54k stars 853 forks source link

node-jscs 这个检查工具似乎不错 #18

Open nwind opened 10 years ago

nwind commented 10 years ago

可以调研一下看能满足多少需求

https://github.com/mdevils/node-jscs

2betop commented 10 years ago

好的。

techird commented 10 years ago

哈哈,我昨天也发现这个了!

techird commented 10 years ago

针对 FEX 的标准我整了这个工具的配置文件(Commit 4376031),基本都能满足了,除了以下两个:

  1. 找不到选项:每行只允许一个语句
  2. 找不到选项:块状代码需要用大括号括起来
nwind commented 10 years ago

家鸣速度啊,你先在 kity 试用一下吧,然后整理个接入 Travis CI 的文档,方便其它项目也使用。