前端程序员代码规范参考
前端代码规范
文档
京东凹凸实验室(清晰容易理解)
https://guide.aotu.io/
腾讯代码规范(pc、移动端等较全)
http://tgideas.qq.com/doc/index.html
百度前端代码规范文档(较早发布)
https://github.com/ecomfe/spec/blob/master/javascript-style-guide.md
JavaScript Standard Style (针对个人项目的规范node.js,MongoDB等开源项目)
https://github.com/standard/standard
Vue代码规范文档
https://cn.vuejs.org/v2/style-guide/index.html
阮一峰es6代码规范
http://es6.ruanyifeng.com/#docs/style
书籍
代码整洁之道(程序员童子军规则)
工具
ESlint(强约束)和Prettier(仅限代码格式化)