Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.26 KB

COMMIT.md

File metadata and controls

30 lines (22 loc) · 1.26 KB

Commit convention

Context

Every commit to the repository should follow the predefined commit convention in order to have easier understanding of the changes. We have decided to base it on the conventional commits.

Basic structure:

<type>(<optional scope>): <description>

that becomes:

feat(slider): Add slider component

For more detailed examples refer to the conventional commits rules.

Type options

  • build: Changes that affect the build system, external dependencies or the local environment
  • cd: Changes to the CD configuration files and scripts
  • chore: Updates of the dependencies without the code changes
  • ci: Changes to the CI configuration files and scripts
  • docs: Changes related to the documentation only
  • feat: A new feature
  • fix: A bug fix
  • perf: Changes that improve the performance
  • refactor: A code change that neither fixes a bug nor adds a feature
  • revert: Revert previous commit
  • style: Changes that do not affect the meaning of the code (white-space, fromatting, missing semi-colons etc.)
  • test: Changes related to tests only