This plugin checks commits messages
Install(with npm or yarn ):
yarn add danger-plugin-v-1 --save-dev
At a glance:
// dangerfile.js
import v1 from 'danger-plugin-v-1'
// v1()
import commitlint from 'danger-plugin-conventional-commitlint'
import configConventional from '@commitlint/config-conventional';
(async function dangerReport() {
const commitlintConfig = {
severity: 'warn'
};
await v1(configConventional.rules, commitlintConfig);
})();
See the GitHub release history.
See CONTRIBUTING.md.