psrheartache blog
  • 编程
  • 标签
  • 归档
  • Github
 
psrheartache blog

  • 编程
  • 标签
  • 归档
  • Github

Miracles sometimes occur,

but one has to work terribly for them.

人生除了眼前的苟且,还有未知的 bug 和看不懂的 code

Scroll
介绍 没有规矩不成方圆,所以我们写代码也要有"规矩",但是我们通常记不住所有的"规矩",因为人嘛,不可能不犯错。但是,这难不到我们程序员,我们让机器、代码、程序帮我们搞定,让它们来帮我们进行代码质量检查,以便提高的程序的健壮性。 通常来说,项目的质量决定了: 软件项目的命运 软件项目的可维护性 软件项目的运维成本 软件项目的扩展性 ...
项目质量监测
 2019-06-27
 psrheartache
#eslint
#e2e
#codecov
基于 Vue 官方风格指南整理 一、强制 代码必须遵循 eslint 使用 eslint standard 规范 组件命名 组件名为多个单词组件名应该始终是多个单词的,根组件 App 除外。 正例: export default { name: 'TodoItem' // ... } 反例: export def ...
Vue 前端开发规范
 2018-08-08
 psrheartache
#vue
#eslint
#BEM
https://standardjs.com/rules-zhcn.html 命名规范 驼峰式命名法介绍 Pascal Case 大驼峰式命名法:首字母大写。eg:StudentInfo、UserInfo、ProductInfo Camel Case 小驼峰式命名法:首字母小写。eg:studentInfo、userInfo、productInfo 文件资源命名 ...
JS 规范
 2017-07-07
 psrheartache
#javaScript
#eslint
     

©psrheartache -2019-2023