1.0.0 • Published 3 years ago
@default-konfig/prettier-config v1.0.0
Config PRETTIER
Prettier is a code formatter to enforce a good code style consistency
"By far the biggest reason for adopting Prettier is to stop all the on-going debates over styles. It is generally accepted that having a common style guide is valuable for a project and team but getting there is a very painful and unrewarding process. People get very emotional around particular ways of writing code and nobody likes spending time writing and receiving nits." Why prettier
Installation :
Install package && dependencies :
npm i -D @default-konfig/prettier-config-base prettier
Put in package.json :
"prettier": "@default-konfig/prettier-config"
Content :
Actually the prettier configuration is used by eslint so we don't use the regular CLI (npx eslint somefile.ts --write
).
1.0.0
3 years ago