- Use the present tense ("Add feature" not "Added feature")
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
- Limit the first line to 72 characters or less
- Reference issues and pull requests liberally
- Prepend the message with
- a relevant tag:
Doc: Add developer guide
,Setup:
or - the related component name:
Homepage:
,Auth:
- a relevant tag:
The JavaScript adhere to a modified version of Airbnb JavaScript Style Guide
- Airbnb JavaScript Style Guide: /~https://github.com/airbnb/javascript
- Additional custom rules:
.eslintrc.js
- 2 spaces for indentation
- single quote
'
- semicolon
;
const
andlet
instead ofvar
See /~https://github.com/airbnb/css
- The project allow scoped css for each component.
- Otherwise, use BEM, or “Block-Element-Modifier” naming convention
🚧 ...
This section will be updated as the project mature.