Skip to content

Commit

Permalink
commitlint: temp disable footer-refs-validity
Browse files Browse the repository at this point in the history
Because of:
nblockchain#125
  • Loading branch information
knocte committed Jul 12, 2023
1 parent 09e7c8b commit 138844d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion commitlint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ module.exports = {
],
// temporarily disabled because of https://github.com/nblockchain/conventions/issues/118
"footer-notes-misplacement": [RuleConfigSeverity.Disabled, "always"],
"footer-refs-validity": [RuleConfigSeverity.Error, "always"],
// temporarily disabled because of https://github.com/nblockchain/conventions/issues/125
"footer-refs-validity": [RuleConfigSeverity.Disabled, "always"],
"header-max-length-with-suggestions": [
RuleConfigSeverity.Error,
"always",
Expand Down
2 changes: 2 additions & 0 deletions commitlint/plugins.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,7 @@ test("footer-notes-misplacement-4", () => {
});
*/

/* temporarily disabled rule because of https://github.com/nblockchain/conventions/issues/125
test("footer-refs-validity1", () => {
let commmitMsgWithCorrectFooter =
"foo: this is only a title" +
Expand Down Expand Up @@ -582,6 +583,7 @@ test("footer-refs-validity6", () => {
);
expect(footerRefsValidity6.status).toBe(0);
});
*/

test("prefer-slash-over-backslash1", () => {
let commitMsgWithBackslash = "foo\\bar: bla bla bla";
Expand Down

0 comments on commit 138844d

Please sign in to comment.