We use GitHub Flow.
Our convention for commit messages:
feat: Add beta sequence
^--^ ^---------------^
| |
| +-> Summary in present tense.
|
+-------> Type: chore, docs, feat, fix, refactor, style, or test.
We use tools: Commitlint and Husky.
For this purpose we use ESLint AirBnb style guide. Why Use AirBnB’s ESLint Configuration? A Review of AirBnB’s Rules List.
- Install packages
npm install
- Run
npm start
- Test
npm test
- Before commit ESLint will check your code and problems will come out if there are any. However, you can check or fix your code at any time with:
- ESLint check:
npm run lint
- ESLint fix:
npm run lint-fix