You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update: Support prettierignore and custom processors (#111)
* Ignore files in .prettierignore
Fixes#88
* Force the babylon parser when parsing not-js files
Forcing the parser stops errors that are caused by trying to run a JS
fragment through the graphql / markdown parsers.
The 'html' parser has not yet been released yet, but will be in Prettier
1.15.
This uses a block list over an allow list because I expect the list of
"file types with a prettier parser that could contain javascript fragments"
will grow at a slower pace than "file types with a prettier parser that
are variations of the javascript language".
Fixes#98, Fixes#81
0 commit comments