Skip to content

Instantly share code, notes, and snippets.

@tashbenbetov
Last active November 17, 2018 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tashbenbetov/f75e54399108b9895430e35cf5bd9ee8 to your computer and use it in GitHub Desktop.
Save tashbenbetov/f75e54399108b9895430e35cf5bd9ee8 to your computer and use it in GitHub Desktop.
medium-embed-commitlintrc-example
module.exports = {
parserOpts: {
// https://commitlint.io - подробнее о соглашениях в commit-ах
headerPattern: /^([a-zа-яё()\s]*)(: MRKT-)(\d*)\s(.*)$/,
// fix(header): MRKT-750 Поправить ошибки в заголовках
headerCorrespondence: ["type+scope", "ticket", "subject"]
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment