In order to keep the same coding standards, this project uses KtLint. You can find a full list of the coding standards here.
- Extension functions need to be extracted in specific file with the name pattern {Type}Ext, e.g BooleanExt.
- Functions (not class methods) need to be created in file with name {MainType}Ext, in example DateFunctions.
- Separate annotated class properties by a line break.
The building process includes coverage report which is available at the build
folder on each module.
New branches should be named using the following convention: {fix/feature/chore}/pivotal-{Ticket ID}-{branch-name}
Example: feature/pivotal-168426599-submit-permission
- fix should be used for code that solves a bug
- feature should be used for code that releases a new feature
- chore should be used for branches with code that is neither a fix nor a feature like refactors, renames, CI, etc
The project's default branch is master
. All code to be included in this branch should be merged through a PR that
should pass its corresponding build and have at least one approval review.
- The PR name should use the following convention:
Pivotal ID # {Ticket ID #}: {Ticket Title}
, for example,Pivotal ID #168426599: Submit Privilege
. - The first comment in the PR description should be the link to the pivotal tracker.
- The last comment in the PR description should be used for the pivotal integration by adding
{Finishes|Fixes|Delivers} #{Ticket ID}
. - Please set yourself as the PR's assignee and set the reviewers so all the team gets notifications.