commitlint-plugin-semantic-commit-emoji

Commitlint plugin for extra rules and compatible parsing for semantic-commit-emoji.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
commitlint-plugin-semantic-commit-emoji
1.0.43 years ago4 years agoMinified + gzip package size for commitlint-plugin-semantic-commit-emoji in KB

Readme

commitlint-plugin-semantic-commit-emoji
Commitlint plugin for extra rules and compatible parsing for semantic-commit-emoji.

Installation

It is recommended that you configure commitlint with commitlint-config-semantic-commit-emoji instead. However, if you needed to use the parser manually for semantic-release or any conventional-changelog compatible parsing you can use the following:
yarn add --dev commitlint-plugin-semantic-commit-emoji

const { parserOpts } = require("commitlint-plugin-semantic-commit-emoji/dist/parser");
const preset = "conventionalcommits";

module.exports = {
  plugins: [["@semantic-release/commit-analyzer", { preset, parserOpts }]],
};