We are using commitlint to enforce a naming convention on our commits, however, I can figure out how to allow it to ignore commit messages that contain "WIP".
https://github.com/conventional-changelog/commitlint/blob/master/docs/reference-configuration.md
/*
* Functions that return true if commitlint should ignore the given message.
*/
ignores?: ((message: string) => boolean)[];
This is our current commit lint configuration:
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'subject-case': [2, 'never', ['start-case', 'pascal-case']],
},
ignores: [],
};
What is example syntax to add this?