commitlint.config.js 259 字节
Newer Older
1 2 3 4 5 6 7 8 9
module.exports = {
  extends: ['@commitlint/config-conventional'],
  rules: {
    'scope-empty': [2, 'never'],
    'footer-max-line-length': [0, 'never'],
    'body-max-line-length': [0, 'never'],
  },
  ignores: [(commit) => commit.startsWith('revert:')]
};