Skip to content

Commit

Permalink
feat(wildcards): add new wildcard patterns #315
Browse files Browse the repository at this point in the history
* feat(utils): ignore IntelliJ project files

* feat(is-ignored): add new wildcard patterns (#315)
  • Loading branch information
lwouis authored and marionebl committed Aug 20, 2018
1 parent d636811 commit e9ea17f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ package-lock.json
.*.dockerfile
lib/
package.json.lerna_backup
/*.iml
2 changes: 2 additions & 0 deletions @commitlint/is-ignored/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ const WILDCARDS = [
.trim()
),
c => c.match(/^Merged (.*?)(in|into) (.*)/),
c => c.match(/^Merge remote-tracking branch (.*)/),
c => c.match(/^Automatic merge from (.*)/),
c => c.match(/^Auto-merged (.*?) into (.*)/)
];

Expand Down

0 comments on commit e9ea17f

Please sign in to comment.