From ef04c687323d5d7ce9fc1bd7917f21cf46ebcce2 Mon Sep 17 00:00:00 2001 From: Carlos Santiago <5726971+csantiago132@users.noreply.github.com> Date: Sun, 8 Dec 2024 22:40:04 -0600 Subject: [PATCH] feat(config): adds commitLint reference config (#82) --- src/commitlint/index.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/commitlint/index.js b/src/commitlint/index.js index 9abced3..64bb6c6 100644 --- a/src/commitlint/index.js +++ b/src/commitlint/index.js @@ -37,3 +37,11 @@ export const commitLintConfig = { ], }, }; + +export const commitLintReferenceRequiredConfig = { + ...commitLintConfig, + rules: { + ...commitLintConfig.rules, + 'references-empty': [2, 'never'], + }, +};