At the moment the pragma has to be the first line and in the /** @yourPragma */ format. If it's used in a file with Flow it means you have to remember to put the Prettier one first.
This isn't a huge hassle but it caused me a few minutes of confusion as I thought I had things set up wrong. It would be nice if this plugin's pragma were more like Flow's and could be in either // @yourPragma or /** @yourPragma */ format and be anywhere in the file.
At the moment the pragma has to be the first line and in the
/** @yourPragma */format. If it's used in a file with Flow it means you have to remember to put the Prettier one first.This isn't a huge hassle but it caused me a few minutes of confusion as I thought I had things set up wrong. It would be nice if this plugin's pragma were more like Flow's and could be in either
// @yourPragmaor/** @yourPragma */format and be anywhere in the file.