If there's an error in .prettierrc prettier empties the file without error. Also arguments shown below are defined in init.el, not in .prettierrc.
Saving file $FILE...
Wrote /tmp/prettiercbd2uV.js
Applied prettier with args ‘(--print-width 100 --single-quote true --trailing-comma all --no-semi true)’
Wrote $FILE
If there's an error in
.prettierrc
prettier empties the file without error. Also arguments shown below are defined ininit.el
, not in.prettierrc
.This looks like https://github.com/prettier/vim-prettier/issues/92 although there is no file
.prettierignore
existant.