eslint-config-style-guide
v0.0.8
Published
Custom Style Guide for JavaScript
Downloads
19
Readme
eslint-config-style-guide
Custom Style Guide for JavaScript
在Airbnb JavaScript Style Guide基础上做适当的调整。
相关资源
- Airbnb JavaScript 编码规范
- Airbnb React/JSX 编码规范
- https://github.com/sivan/javascript-style-guide
- https://github.com/benmosher/eslint-plugin-import
- Vue.js 组件编码规范
- https://github.com/eggjs/eslint-config-egg
- https://github.com/ElemeFE/eslint-config-elemefe
- https://github.com/google/eslint-config-google
- https://github.com/vuejs/eslint-config-vue
- https://github.com/vuejs/eslint-plugin-vue
- http://morning.work/page/maintainable-nodejs/getting-started-with-eslint.html
TODO
for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array no-restricted-syntax
- https://github.com/airbnb/javascript/issues/851