diff --git a/commitlint.config.ts b/commitlint.config.ts index a708f127..3b11fda3 100644 --- a/commitlint.config.ts +++ b/commitlint.config.ts @@ -27,7 +27,8 @@ module.exports = { "always", footerMaxLineLength, ], - "footer-notes-misplacement": [RuleConfigSeverity.Error, "always"], + // temporarily disabled because of https://github.com/nblockchain/conventions/issues/118 + "footer-notes-misplacement": [RuleConfigSeverity.Disabled, "always"], "footer-refs-validity": [RuleConfigSeverity.Error, "always"], "header-max-length-with-suggestions": [ RuleConfigSeverity.Error, diff --git a/commitlint/plugins.test.ts b/commitlint/plugins.test.ts index 0503ac1e..d890f721 100644 --- a/commitlint/plugins.test.ts +++ b/commitlint/plugins.test.ts @@ -455,6 +455,7 @@ test("empty-wip-3", () => { expect(emptyWIP3.status).toBe(0); }); +/* temporarily disabled rule because of https://github.com/nblockchain/conventions/issues/118 test("footer-notes-misplacement-1", () => { let commitMsgWithRightFooter = "foo: this is only a title" + @@ -508,6 +509,7 @@ test("footer-notes-misplacement-4", () => { let footerNotesMisplacement4 = runCommitLintOnMsg(commitMsgWithWrongFooter); expect(footerNotesMisplacement4.status).not.toBe(0); }); +*/ test("footer-refs-validity1", () => { let commmitMsgWithCorrectFooter =