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.

貢獻者指南