yarn
yarn developThis repo enforce conventional commit More info
Must be one of the following:
build: Changes that affect the build system or external dependencies (example scopes: webpack, babel, npm)
chore Update tasks, no production code change (example scopes: build, lint, hooks)
ci: Changes to our CI configuration files and scripts (example scopes: Jenkins, Travis, Circle)
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
<type>(scope): <description>
[optional body]
[optional footer]
// Simple Example
feat(calendar): added multiyear props to component
// Extended Example
feat(calendar): added multiyear props to component
- Multiyear prop must be a number
- Two theme styles
- Unit tests and Snapshots
#closes 00
Prettier for code formatting. Extension for VS Code can be found here
Prettier configuration can be found in .prettierrc.js
ESLint for code linting. Extension for VS Code can be found here.
ESLint configuration can be found in .eslintrc.js
Codebase linting and testing is done on pre-commit hook level.
Project is using JEST for unit testing.
$ yarn test // Run all tests
$ yarn test:update // Update Snapshots
$ yarn test:watch // Watch test for develop
$ yarn test:update // Update Snapshots
$ yarn test:watch // Watch test for develop