add ignorePatterns option
Merge pull request #1 from mtanda/master

add ignorePatterns option