Coding recommendations

September 15, 2020 ยท View on GitHub

Git

Use standard semantic commit messages

TagDescription
AddCreate a capability e.g. feature, test, dependency
CutRemove a capability e.g. feature, test, dependency
FixFix an issue e.g. bug, typo, accident, misstatement
StartBegin doing something; e.g. create a feature flag
StopEnd doing something; e.g. remove a feature flag
BumpIncrease the version of something e.g. dependency
TestAdd or refector anything regard test, e.g add a new testCases
MakeChange the build process, or tooling, or infra
RefactorA code change that MUST be just a refactoring
ReformatRefactor of formatting, e.g. omit whitespace
OptimizeRefactor of performance, e.g. speed up code
DocumentRefactor of documentation, e.g. help files
LicenseEdits regarding licensing; no production code change
RevertChange back to the previous commit

Request a merge

When the code is ready for code review, please request a merge in github with comment 'Ready for code review' with the associated issue number.

Code

Typescript

Please follow tslint for your contributions:

npm run tslint

Comments

Remember to documenting the code using JSDoc style comments.