Skip to content

Commit

Permalink
Update frontend-devops-practise.md
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal authored Nov 24, 2020
1 parent 818bd3f commit d875069
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/assets/docs/practises/frontend-devops-practise.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# 前端 DevOps 实施

# 前端代码规范

- Google JavaScript 规范:[Google JavaScript Style Guide](https://google.github.io/styleguide/jsguide.html) , 中文翻译:[Google JavaScript 代码风格指南](https://juejin.im/post/5bd01d4a518825781e647e90)
- Airbnb JavaScript 规范:[Airbnb JavaScript Style Guide() {](https://github.com/airbnb/javascript)
- JavaScript Standard 规范:[JavaScript 代码规范,自带 linter & 代码自动修正](https://github.com/standard/standard/blob/master/docs/README-zhcn.md)
# 流程和规范


## 规范自动化
Expand All @@ -30,6 +27,12 @@
6. lint 成功,而执行 commit
7. 同理,对于 `pre-push` 也是如此。

## 代码规范

- Google JavaScript 规范:[Google JavaScript Style Guide](https://google.github.io/styleguide/jsguide.html) , 中文翻译:[Google JavaScript 代码风格指南](https://juejin.im/post/5bd01d4a518825781e647e90)
- Airbnb JavaScript 规范:[Airbnb JavaScript Style Guide() {](https://github.com/airbnb/javascript)
- JavaScript Standard 规范:[JavaScript 代码规范,自带 linter & 代码自动修正](https://github.com/standard/standard/blob/master/docs/README-zhcn.md)

### 自定义 Lint

#### StyleLint 相关
Expand Down

0 comments on commit d875069

Please sign in to comment.