3 homepage: https://prettier.io/
5 Prettier is an opinionated code formatter.
11 npm install -g prettier@latest
16 > The core value of Prettier is not in what it gives, but in what it takes away:
17 > countless hours of bikeshedding over code style choices. Also, it makes git
20 Prettify all web files in a project, recursively:
23 prettier --write '**/*{.md,.js,.html,.css}' --ignore ./dist
26 Tell Prettier which files to ignore every time
29 echo "./dist" >> .prettierignore
32 Tell Prettier which settings to use - do NOT use `package.json` when it's not
39 "trailingComma": "none",