Skip to content

Commit

Permalink
build: update commitlint configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
vgbr-dev committed Jun 12, 2023
1 parent eb0f093 commit df82f55
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions commitlint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,23 @@
* @file Manages the commitlint module configuration.
*/

// ━━ EXPORT MODULE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
module.exports = {
// ━━ TYPE DEFINITIONS ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
/**
* User configuration for commitlint.
*
* @private
* @typedef {import('@commitlint/types').UserConfig} UserConfig
*/

// ━━ MODULE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
/**
* Configuration object for commitlint.
*
* @type {UserConfig}
*/
const commitlintConfiguration = {
extends: ['@commitlint/config-conventional'],
};

// ━━ EXPORT MODULE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
module.exports = commitlintConfiguration;

0 comments on commit df82f55

Please sign in to comment.