I'm familiar with node_modules/.bin and the npx tool.
I've recently noticed one of our configs runs:
npx prettier@2
Which actually produces different output from
npx prettier
It seems like prettier is using a different config file when called this way.
What does the npx prettier@2 do differently from npx prettier?
Edit:
As requested:
$ npx prettier --version
2.1.1
$ npx prettier@2 --version
npx: installed 1 in 1.437s
2.2.0
Prettier 2.2.0 was released a few hours ago and seems to have a bug