-
Notifications
You must be signed in to change notification settings - Fork 913
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: pass defaultIgnores from configuration in @commitlint/cli (#771)
* fix: pass defaultIgnores from configuration in @commitlint/cli pass defaultIgnores from configuration to the linter * fixup! fix: pass defaultIgnores from configuration in @commitlint/cli
- Loading branch information
1 parent
6332d97
commit a259014
Showing
5 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
@commitlint/cli/fixtures/default-ignores-false/commitlint.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = { | ||
defaultIgnores: false, | ||
rules: { | ||
'subject-empty': [2, 'never'] | ||
} | ||
}; |
6 changes: 6 additions & 0 deletions
6
@commitlint/cli/fixtures/default-ignores-true/commitlint.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = { | ||
defaultIgnores: true, | ||
rules: { | ||
'subject-empty': [2, 'never'] | ||
} | ||
}; |
5 changes: 5 additions & 0 deletions
5
@commitlint/cli/fixtures/default-ignores-unset/commitlint.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
rules: { | ||
'subject-empty': [2, 'never'] | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters