All Projects → martinmcwhorter → commitiquette

martinmcwhorter / commitiquette

Licence: MIT License
Plugin for Commitizen that uses commitLint configuration

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to commitiquette

commitlint-config-cz
⚙️ commitlint sharable configuration, automatically converts/merges your cz-customizable (commitizen) config.
Stars: ✭ 23 (-4.17%)
Mutual labels:  commitizen, conventional-commits, commitlint
gitmoji-commit-workflow
😉 Gitmoji Commit Workflow
Stars: ✭ 120 (+400%)
Mutual labels:  commitlint, commitlintplugin
nest-boilerplate
Nest.js boilerplate with CircleCI, Commitizen, Commitlint, Docker-Compose, ESLint, GitHub Actions, Husky, Lint-staged, OpenAPI, Prettier, PostGreSQL, Travis CI, TypeORM
Stars: ✭ 16 (-33.33%)
Mutual labels:  commitizen, commitlint
commitlint-plugin-function-rules
Commitlint plugin to define rules as functions.
Stars: ✭ 21 (-12.5%)
Mutual labels:  commitlint, commitlintplugin
Cz Cli
The commitizen command line utility. #BlackLivesMatter
Stars: ✭ 12,671 (+52695.83%)
Mutual labels:  commitizen, commitizen-adapter
bash-for-developers
🎓 Tutorial completo e em português para devs iniciantes de como usar o Bash e o Git.
Stars: ✭ 97 (+304.17%)
Mutual labels:  commitizen, commitlint
cz-gitmoji
🔬😜 Commitizen adapter for gitmoji.
Stars: ✭ 25 (+4.17%)
Mutual labels:  commitizen, commitizen-adapter
vite-vue3-starter
⭐ A Vite 2.x + Vue 3.x + TypeScript template starter
Stars: ✭ 384 (+1500%)
Mutual labels:  commitizen, commitlint
fe-standard-config-seed
前端通用代码规范自动化接入
Stars: ✭ 18 (-25%)
Mutual labels:  commitizen, commitlint
emoji-cz
✨ A commitizen emoji adapter.
Stars: ✭ 62 (+158.33%)
Mutual labels:  commitizen, commitizen-adapter
action-semantic-pull-request
A GitHub Action that ensures that your PR title matches the Conventional Commits spec.
Stars: ✭ 377 (+1470.83%)
Mutual labels:  conventional-commits
simple-commit-message
Simple commit message wizard and validator; works with commitizen and pre-git
Stars: ✭ 21 (-12.5%)
Mutual labels:  commitizen
inside-client
Human Resources Department Tool. https://ifactory-solutions.github.io/inside-client/
Stars: ✭ 42 (+75%)
Mutual labels:  commitlint
turbogit
Opinionated cli enforcing clean git workflow without comprising UX
Stars: ✭ 42 (+75%)
Mutual labels:  conventional-commits
sv4git
Semantic version and conventional commits for git
Stars: ✭ 33 (+37.5%)
Mutual labels:  conventional-commits
conventional-commits
A PHP library for creating and validating commit messages according to the Conventional Commits specification. Includes a CaptainHook plugin!
Stars: ✭ 128 (+433.33%)
Mutual labels:  conventional-commits
commitlint
开箱即用的代码提交规范
Stars: ✭ 51 (+112.5%)
Mutual labels:  commitlint
oyster-package-generator
Oyster is a package generator for Unity Package Manager (UPM). It generates a best standards Unity package with automated deployments via CLI. Focus on coding your package instead of deployments, changelogs, ect.
Stars: ✭ 18 (-25%)
Mutual labels:  commitizen
parse-commit-message
(!! moved to tunnckoCore/opensource !! try `parse-commit-message@canary`) Parse, stringify or validate a commit messages that follows Conventional Commits Specification
Stars: ✭ 31 (+29.17%)
Mutual labels:  conventional-commits
cra-template-react-template
🤘 My bootstrap template to use in react
Stars: ✭ 15 (-37.5%)
Mutual labels:  commitizen

Commitiquette

Plugin for Commitizen that uses commitLint configuration. Allows you to use both Commitizen and commitLint with a single configuration.

Node.js CI codecov npm version

Installation

You will first need to follow the commitizen and commitlint instalation instructions if you do not already have these installed.

Use npm or yarn to install commitiquette into your project.

npm install commitiquette --save-dev

Usage

Update package.json Commitizen configuration.

  "config": {
    "commitizen": {
      "path": "commitiquette"
    }
  },

Purpose

The purpose of this project is to have a single configuration for both commitlint and commitizen -- while prompting the user for each answer.

Similar Projects

Both of these wonderful projects are use the commitlint config as well.

Commitiquette differs by using simple prompts, list selects whenever possible, for answers -- much like the cz-conventional-changelog commitizen plugin.

Fully Configurable

Commitiquitte is fully configurable using the commitlint configuration.

Examples

Disable Prompting for scope

module.exports = {
  extends: ['@commitlint/config-conventional'],
  rules: {
    'scope-empty': [2, 'always']
  }
};

List select for scope

module.exports = {
  extends: ['@commitlint/config-conventional'],
  rules: {
    'scope-enum': [2, 'always', ['docs', 'core', 'lib', 'misc', 'etc']]
  }
};

Filtering and Validation

Commitiquette will validate against all but the deprecated commitlint rules.

NOTE: This is not a replacement for commitlint. Commitlint should still validate the message before each commit.

Where possible, commitlint rules will be used to filter messages.

Validation is run at Level Error (2) -- where filtering will apply at if the rule is set to Warn (1) or Error (2.)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].