2 # homepage: https://prettier.io/
3 # tagline: Prettier is an opinionated code formatter.
5 # The core value of Prettier is not in what it gives, but in what it takes away: countless hours of bikeshedding over code style choices. Also, it makes git merges much nicer.
7 # Prettify all web files in a project, recursively:
10 # prettier --write '**/*{.md,.js,.html,.css}' --ignore ./dist
13 # Tell Prettier which files to ignore every time
16 # echo "./dist" >> .prettierignore
19 # Tell Prettier which settings to use - do NOT use `package.json` when it's not necessary!
25 # "trailingComma": "none",
27 # "singleQuote": true,
28 # "proseWrap": "always"
33 if [ -z "$(npm --version 2>/dev/null)" ]; then
35 export PATH="$HOME/.local/opt/node/bin:$PATH"
37 npm install -g prettier@latest