Function `constructPathFormats` has 100 lines of code (exceeds 25 allowed). Consider refactoring. https://codeclimate.com/github/rageycomma/cortado/cortado.js#issue_5ad8b37965c3110001000015