master
is our main branch for production builddev
is the branch that we use for everyday coding. It's where we merge the development branchs.- Please Do Not develop directly on
master
branch - Merges to
master
should be throughpull request
practice and always ask to team leaer
- 👁 Focus on one task at time
- ⚛️ Make atomic/little commits
The name of the files
and folders
must be written in English and with the same rules:
- Components, screens and layouts is written following the pattern
TitleCase
, ex:MoodTracker.tsx.
- The rest of the files are written following the pattern
camelCase
, Ex:habitsService.js
- The folders name has to be written following the pattern
TitleCase
, Ex:DiaryComponents
Use the following structure: <type>(<scope>): <subject>
See full examples here
i.e: if you are integrating a new language to your project, the commit would be
feat(lang): spanish language added
i.e: if you are fixing some bug on a form, the commit would be
fix(contact): email input validated
feat(lang): spanish language added
^--^^-----^^---------------------^
| | |
| | +--> Summary in past simple tense.
| |
| +---------> Optional scope about task, file, package, etc.
|
+-------------> Type: feat, fix, chore, build, ci, docs, style, refactor, perf, test
build
: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)ci
: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)docs
: Documentation only changesfeat
: A new feature for the user, not a new feature for building scriptsfix
: A bug fix for the user, not a fix to a build scriptperf
: A code change that improves performancerefactor
: A code change that neither fixes a bug nor adds a featurestyle
: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)test
: Adding missing tests or correcting existing tests; not production codechore
: Updating packages or configurations; no production code change