From 6d3c52ae1daec19c4996ff9f7b38772c4156bce2 Mon Sep 17 00:00:00 2001 From: James Couball Date: Thu, 17 Apr 2025 14:22:30 -0700 Subject: [PATCH] chore: reformat .commitlintrc.yml to be consistent with other projects --- .commitlintrc.yml | 33 ++++++++++----------------------- 1 file changed, 10 insertions(+), 23 deletions(-) diff --git a/.commitlintrc.yml b/.commitlintrc.yml index 6bb8efb..5225936 100644 --- a/.commitlintrc.yml +++ b/.commitlintrc.yml @@ -4,30 +4,17 @@ extends: '@commitlint/config-conventional' rules: # See: https://commitlint.js.org/reference/rules.html # - # Rules are made up by a name and a configuration array. The configuration array contains: + # Rules are made up by a name and a configuration array. The configuration + # array contains: # - # * Severity [0..2]: 0 disable rule, 1 warning if violated, or 2 error if violated + # * Severity [0..2]: 0 disable rule, 1 warning if violated, or 2 error if + # violated # * Applicability [always|never]: never inverts the rule - # * Value: value to use for this rule + # * Value: value to use for this rule (if applicable) # - # Run `npx commitlint --print-config` to see the current setting for all rules. + # Run `npx commitlint --print-config` to see the current setting for all + # rules. # - body-leading-blank: [2, 'always'] - footer-leading-blank: [2, 'always'] - type-enum: [ - 2, - 'always', - [ - 'build', - 'ci', - 'chore', - 'docs', - 'feat', - 'fix', - 'perf', - 'refactor', - 'revert', - 'style', - 'test' - ] - ] + body-leading-blank: [2, always] + footer-leading-blank: [2, always] + type-enum: [2, always, [build, ci, chore, docs, feat, fix, perf, refactor, revert, style, test]]