Skip to content

Instantly share code, notes, and snippets.

@thedelk
Last active October 3, 2022 20:17
Show Gist options
  • Save thedelk/ec8646991b6346899c73ff1b096f7b2a to your computer and use it in GitHub Desktop.
Save thedelk/ec8646991b6346899c73ff1b096f7b2a to your computer and use it in GitHub Desktop.
| Prefix | Description | Details | Examples |
| ---------- | ------------------------ | --------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `feat` | Feature | A new feature | • `feat: add dropdown filters to assist with sorting`<br>• `feat: add column selection functionality to result tables`<br>• `feat: add nested navigation drawer` |
| `fix` | Bug Fix | A bug fix | • `fix: remove broken confirmation message`<br>• `fix: ensure session is remembered if requested`<br>• `fix: populate the correct data from the query` |
| `docs` | Documentation | Changes only to documentation | • `docs: update README`<br>• `docs: add "contributing" instructions`<br>• `docs: include examples` |
| `style` | Styles | Changes that do not affect the meaning of the code (whitespace, semicolons, etc.) | • `style: remove semicolons`<br>• `style: trim white space`<br>• `style: change button size` |
| `refactor` | Code Refactoring | Changes that neither fix a bug nor add a feature | • `refactor: rename 'x' variable to 'item'`<br>• `refactor: share logic between header and navbar`<br>• `refactor: extract dropdown filter logic to own reusable function` |
| `test` | Tests | Changes or additions to unit tests | • `test: add assertions for destroy methods`<br>• `test: ensure authorization is applied on query results`<br>• `test: ensure proper login failure handling` |
| `chore` | Chores | Changes that don't otherwise modify src or test files | • `chore: restructure files and directories`<br>• `chore: update dependencies`<br>• `chore: change build process` |
| `perf` | Performance Improvements | Changes that improve performance | |
| `build` | Build | Changes that affect the build system or external dependencies (npm, gulp, etc.) | |
| `ci` | Continuous Integration | Changes to CI configuration files and scripts (Travis, BrowserStack, etc.) | |
| `revert` | Revert | Revert to a previous commit | |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment