Spellcheck commit messages via
cspell
.
install
pnpm add -D @somehow-digital/commitlint-plugin-spellcheck
use
export default {
rules: {
'spellcheck/header': [2, 'always'],
'spellcheck/body': [2, 'always'],
'spellcheck/footer': [2, 'always'],
'spellcheck/scope': [2, 'always'],
'spellcheck/subject': [2, 'always'],
'spellcheck/type': [2, 'always'],
},
plugins: ['@somehow-digital/commitlint-plugin-spellcheck'],
};