Treeful welcomes everyone to collaborate!
Let's not branch the tree too much! Treeful must stay simple and straight-forward.
- Check existing issues (open/closed) to avoid duplicates.
- Be clear about what the problem is.
- Make sure to paste error output or logs.
- Code snapshot or demos on online code editor will be very helpful.
- Fork the repository.
- Create a branch from
master
. - Update the source code using code conventions described below.
- Commit and push the changes with descriptive messages.
- Test your code with
npm run test
. - Lint your code with
npm run lint
. - Create a pull request to
master
.
- Tab indentation (size of 4 spaces).
'
instead of"
.- Curly braces for block statements.
- 1TBS brace style.
- Semicolon at the end of each statement.
- Object shorthand for ES6.
- Parenthesis around arrow function argument.
- Minimum line breaks.
- No
use strict
. - No
alert
,confirm
andprompt
.