Knockout-Contrib/Knockout-Validation

Consistent coding style suggestions

Open

#488 创建于 2014年12月23日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)JavaScript (394 fork)batch import
help wanted

仓库指标

Star
 (1,024 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

I'm considering making some changes which should help us have a more maintainable and uniform source code. Here's what I have in mind:

  • make all directories lowercase (Dist -> dist, Src -> src)
  • ensure consistent coding style using http://editorconfig.org/
  • use spaces instead of tabs - e.g. gruntfile looks really bad when open in Github
  • add more JSHint rules

Although it's not critical to implement this right now, I want to have some feedback before going further. I would prefer to have this pushed to v2 release since we have a lot of changes since last release and it would be a good time for it - v2 release notes here.

Feel free to share your ideas to make this project better.

贡献者指南