prettier-configure
Setting up for Prettier and Husky automatically.
Usage
npx prettier-configure
Options
manager
Choose a package manager (in yarn
or npm
) to use for dependent installations.(Default: yarn
)
npx prettier-configure --manager=npm
.prettierrc.yaml
rule | value |
---|---|
trailingComma |
all |
tabWidth |
4 |
singleQuote |
true |
.prettierignore
/node_modules
package.json