Skip to content

Commit

Permalink
maint/dev ~ merge and update CommitLint configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
rivy committed Aug 1, 2022
1 parent f83f74f commit 05ca208
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
13 changes: 11 additions & 2 deletions .commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
// spell-checker:ignore () commitLint
// CommitLint configuration
// ref: <https://commitlint.js.org/#/reference-configuration>
// v2022-07-30 [rivy]

// spell-checker:ignore (names) commitLint (people) Roy Ivy III * rivy (words) maint

const commitTags = [
'Add',
Expand Down Expand Up @@ -29,7 +33,12 @@ const commitTags = [

module.exports = {
extends: ['@commitlint/config-conventional'],
parserPreset: './.commitlint.parser-preset.js',
parserPreset: {
parserOpts: {
headerPattern: /^(\w+)!?(?:\s*(?:[/(]([\w,/]+)[)]?))?!?\s*[~:]?\s*(.*)$/,
headerCorrespondence: ['type', 'scope', 'subject'],
},
},
plugins: [
{
rules: {
Expand Down
6 changes: 0 additions & 6 deletions .commitlint.parser-preset.js

This file was deleted.

0 comments on commit 05ca208

Please sign in to comment.