sonarqube 检测3A以上
可以使用docker搭建sonarqube检测服务器: https://github.com/SonarSource/docker-sonarqube
java
遵守阿里巴巴的p3c规范:https://github.com/alibaba/p3c
php
遵守psr规范: https://psr.phphub.org/
c#
无官方,暂行:https://gist.github.com/zhuqling/a2700703d088b8746f0c
数据库
- 字段长度尽量使用2的次幂,做计算机字节长度对齐,比如 varchar(16)
redis
- 通用的redis key不用加项目前缀
- 多个单词或者值之间使用:进行分割,符合阿里云Redis开发规范,同时在rdm等客户端中可以显示层级