1.1.1 • Published 1 year ago

@guilhermedeandrade/prettier-config v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@guilhermedeandrade/prettier-config

My personal Prettier config 💫

Installation:

pnpm add -D @guilhermedeandrade/prettier-config
npm add -D @guilhermedeandrade/prettier-config
yarn add -D @guilhermedeandrade/prettier-config

Usage:

On the root of the repository you want to use this configuration:

touch .prettierrc.json
echo "\"@guilhermedeandrade/prettier-config\"" >> .prettierrc.json

In case you want to override it you should import the file in a .prettierrc.js and export the modifications, e.g:

module.exports = {
  ...require("@guilhermedeandrade/prettier-config"),
  semi: true,
};