install: npm i prettier --save-dev --save-exact
NOTE: "We recommend pinning an exact version of prettier in your package.json as we introduce stylistic changes in patch releases".
options can be configured in the cli or .prettierrc file
rules: https://prettier.io/docs/en/options.html
basic usage: npx prettier --write