Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

JS Mono-repo: use config-lerna-scopes and jira at the same time for commitlint

Met
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 20, 2023

I've already installed these packages and works fine together:

  • @commitlint/config-conventional
  • @commitlint/config-lerna-scopes

Recently we want to move to Bitbucket and we loved how it's can be useful to work with Jira, then we want to install commitlint-jira. and this is my commitlint.config.js file:

 

module.exports = {
  plugins: ["commitlint-plugin-jira-rules"],
  extends: [
    "@commitlint/config-conventional",
    "@commitlint/config-lerna-scopes",
    "jira",
  ],
};
And nothing works! I've tried this commit messages, which not works:
  • feat(types):MSGS-1234: commit message
  • feat(types):[MSGS-1234]: commit message
  • [types][MSGS-1234]: Commit message
  • MSGS-1234:feat(types): commit message

 

do you have any advice to config them together better or maybe how to write commit message which it can pass the commitlint?

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events