DrevoGo is ...
When using VSCode, install prettier
and ESLint
extensions.
Configure VSCode to use prettier editor on save:
- Press Ctrl/Cmd + Shift + P
- Type "settings"
- Choose "Preferences: Open User Settings (JSON)"
- Add next lines
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}
Enter the following at a command prompt:
Install all dependencies:
npm i
Local development - run app on port :8080
npm start
We have very precise rules over how our git commit messages can be formatted (source). This leads to more readable messages that are easy to follow when looking through the project history. But also, we use the git commit messages to generate the change log.
Each commit message consists of a type, a task and a message:
<type>(<task>): <message>
Samples:
docs: update changelog
fix(AB-1650): include current filter when export
feat(AB-1665): review status of images
Must be one of the following:
- 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 changes
- feat: A new feature
- fix: A bug fix
- perf: A code change that improves performance
- refactor: A code change that neither fixes a bug nor adds a feature
- style: 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
Must be the same as in jira task, like AB-1665.
The message contains a succinct description of the change:
- use the imperative, present tense: "change" not "changed" nor "changes"
- don't capitalize the first letter
- no dot (.) at the end