X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=prettier%2Finstall.sh;h=86e8028ac96000f27adc007a95d5ecf081e856a5;hb=72406c4e0d438b76da054be8d5eff42d08312498;hp=e6b987adf2e5d1a935068f074754e282be32d629;hpb=c017e861e7187ac818ca49b39846f13b7706f4e4;p=webi-installers%2F.git diff --git a/prettier/install.sh b/prettier/install.sh index e6b987a..86e8028 100644 --- a/prettier/install.sh +++ b/prettier/install.sh @@ -1,34 +1,4 @@ -# title: Prettier -# homepage: https://prettier.io/ -# tagline: Prettier is an opinionated code formatter. -# description: | -# 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. -# examples: | -# Prettify all web files in a project, recursively: -# -# ```bash -# prettier --write '**/*{.md,.js,.html,.css}' --ignore ./dist -# ``` -# -# Tell Prettier which files to ignore every time -# -# ```bash -# echo "./dist" >> .prettierignore -# ``` -# -# Tell Prettier which settings to use - do NOT use `package.json` when it's not necessary! -# -# **`.prettierrc`**: -# -# ```bash -# { -# "trailingComma": "none", -# "tabWidth": 2, -# "singleQuote": true, -# "proseWrap": "always" -# } -# ``` -# +#!/bin/bash if [ -z "$(npm --version 2>/dev/null)" ]; then webi node