JavaScript/格式化:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
创建页面,内容为“== 引言 == == 规范 == 通用规范: # [https://standardjs.com/ JavaScript Standard Style] # [https://github.com/airbnb/javascript Airbnb JavaScript Style Guide] # [https://google.github.io/styleguide/jsguide.html Google JavaScript Style Guide]”
 
Kangkk​(留言 | 贡献)
第1行: 第1行:
== 引言 ==
== 引言 ==
== 规范 ==
== 代码格式 ==
通用规范:
通用规范:


第6行: 第6行:
# [https://github.com/airbnb/javascript Airbnb JavaScript Style Guide]
# [https://github.com/airbnb/javascript Airbnb JavaScript Style Guide]
# [https://google.github.io/styleguide/jsguide.html Google JavaScript Style Guide]
# [https://google.github.io/styleguide/jsguide.html Google JavaScript Style Guide]
== 代码检查 ==
# [https://eslint.org/ Eslint]
# [https://palantir.github.io/tslint/ Tslint]
# [https://stylelint.io/ Stylelint]
== 代码格式化 ==
# [https://eslint.org/ Eslint]
# [https://prettier.io/ Prettier]