包详细信息

@somehow-digital/commitlint-plugin-spellcheck

thasmo5.8kMIT1.0.1

Spellcheck commit messages via cspell.

commitlint, commitlintplugin

自述文件

spellcheck plugin for commitlint

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'],
};