Closed dkarter closed 2 years ago
Hi!
Thanks for your contribution, however there was one thing that bothered me: the fact that "yarn format" was dependent on "yarn prettier". Splitting the two up makes changes from one to another independent and also removes dependence on yarn (-> both "prettier" and "format" can be run using npm run xyz
if need be).
Kind regards
Currently
yarn prettier
script does not actually format files, just shows what they would look like when formatted.This PR:
yarn format
script that uses the-w
flag to overwrite the files with their formatted version.yarn format
command (which updated thepackage.json
formatting slightly)