Skip to content

Commit

Permalink
commitlint: temporarily disable rule
Browse files Browse the repository at this point in the history
Because it seems there's a testcase affecting two rules.
  • Loading branch information
knocte authored and tehraninasab committed Jun 14, 2023
1 parent 715087f commit ee88094
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions commitlint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ module.exports = {
footerMaxLineLength,
],
"footer-notes-misplacement": [RuleConfigSeverity.Error, "always"],
/* disabled until a related problem is fixed first in another rule
"footer-references-validity": [RuleConfigSeverity.Error, "always"],
*/
"header-max-length-with-suggestions": [
RuleConfigSeverity.Error,
"always",
Expand Down
4 changes: 2 additions & 2 deletions commitlint/plugins.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ test("footer-notes-misplacement-4", () => {
let footerNotesMisplacement4 = runCommitLintOnMsg(commitMsgWithWrongFooter);
expect(footerNotesMisplacement4.status).not.toBe(0);
});

/*
test("footer-references-validity1", () => {
let commmitMsgwithCorrectFooter =
"foo: this is only a title" +
Expand Down Expand Up @@ -575,7 +575,7 @@ test("footer-references-validity5", () => {
true
);
});

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

0 comments on commit ee88094

Please sign in to comment.