未验证 提交 65f1a997 编写于 作者: P Phodal Huang 提交者: GitHub

Update frontend-devops-practise.md

上级 51dda520
......@@ -2,11 +2,9 @@
# 前端代码规范
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)
- 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)
......@@ -23,8 +21,8 @@ https://github.com/MoresecFE/stylelint-config-moresec
相关的库:
标准:[https://github.com/stylelint/stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard) ,包含可能报错的 rule,code format 的 css 标准
推荐:[https://github.com/stylelint/stylelint-config-recommended](https://github.com/stylelint/stylelint-config-recommended) , 继承于 recommend,包含了一些常见的css书写标准,启用其他规则以强制执行一些 CSS 样式指南中的通用样式约定,包括:The Idiomatic CSS Principles,Google 的 CSS 样式指南,Airbnb 的样式指南和 @mdo 的代码指南。
- 标准:[https://github.com/stylelint/stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard) ,包含可能报错的 rule,code format 的 css 标准
- 推荐:[https://github.com/stylelint/stylelint-config-recommended](https://github.com/stylelint/stylelint-config-recommended) , 继承于 recommend,包含了一些常见的css书写标准,启用其他规则以强制执行一些 CSS 样式指南中的通用样式约定,包括:The Idiomatic CSS Principles,Google 的 CSS 样式指南,Airbnb 的样式指南和 @mdo 的代码指南。
## ESLint 示例
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册