fixed method 'check' error 'format' of undefined (#1424)
fixed method 'check' error 'format' of undefined (#1424)

* fixed method 'check' error 'format' of undefined

* Added normalizeOptions

lydell/prettier,azz/prettier,yamafaktory/prettier,Skywalker13/prettier-space-parenthesis,prettier/prettier,existentialism/prettier,arijs/prettier-with-tabs,Skywalker13/prettier-space-parenthesis,existentialism/prettier,prettier/prettier,arijs/prettier-with-tabs,arijs/prettier-miscellaneous,azz/prettier,prettier/prettier,Skywalker13/prettier-space-parenthesis,lydell/prettier,lydell/prettier,arijs/prettier-miscellaneous,rattrayalex/prettier,despairblue/prettier,arijs/prettier-miscellaneous,arijs/prettier-miscellaneous,prettier/prettier,Skywalker13/prettier-space-parenthesis,jlongster/prettier,yamafaktory/prettier,rattrayalex/prettier,despairblue/prettier,lydell/prettier,azz/prettier,azz/prettier,existentialism/prettier,rattrayalex/prettier,existentialism/prettier