Alternatively, it’s pretty common to only run prettier on changed files using lint-staged or pretty-quick.