Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.28 KB

CONTRIBUTING.md

File metadata and controls

29 lines (20 loc) · 1.28 KB

Funding update September 1st

Please work off the develop branch and make pull requests to that branch. The master branch will only be updated for new releases.

If you would like to get involved, we have a Telegram chatroom where you can ask questions and get help.

Coding style guideline

Guidelines on UI Related Tasks

Please review our Wiki on Guidelines for Issues with UI related work

General Guidelines

Our style guideline is based on 'Airbnb JavaScript Style Guide' (https://github.com/airbnb/javascript), with few exceptions:

  • Strings are double quoted
  • Additional trailing comma (in arrays and objects declaration) is optional
  • 4 spaces tabs
  • Spaces inside curly braces are optional

We strongly encourage to use eslint to make sure the code adhere to our style guidelines.

代码风格

我们的代码指南基于Airbnb JavaScript Style Guide,不过有一些例外:

  • 字符串需要被双引
  • 额外的尾随逗号(在定义数组和对象时)是随意的
  • 四个空格的缩进
  • 在花括号里的空格是随意的

我们强烈鼓励用 eslint 确保代码依附于我们的代码风格指南