{"size": 531, "ext": "js", "max_stars_repo_path": "commitlint.config.js", "max_stars_repo_name": "blackdous/template-mutiple", "max_stars_repo_stars_event_min_datetime": "2020-08-26T10:08:22.000Z", "max_stars_repo_stars_event_max_datetime": "2020-08-26T10:08:22.000Z", "max_issues_repo_path": "commitlint.config.js", "max_issues_repo_name": "blackdous/template-mutiple", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "commitlint.config.js", "max_forks_repo_name": "blackdous/template-mutiple", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 16.0909090909, "max_line_length": 42, "alphanum_fraction": 0.4576271186}
/*
 * @Descripttion: commitlint 配置文件
 * @Author: all
 * @Date: 2020-07-17 17:00:40
 * @LastEditors: blackdous
 * @LastEditTime: 2020-07-23 10:26:07
 */

module.exports = {
  // 继承默认配置
  extends: ['@commitlint/config-angular'],
  // 自定义规则
  rules: {
    'type-enum': [
      2,
      'always',
      [
        'feat',
        'fix',
        'docs',
        'style',
        'build',
        'ci',
        'chore',
        'revert',
        'test',
        'refactor'
      ]
    ],
    'header-max-length': [0, 'always', 72]
  }
};
