Skip to content

archisquad/prettier-config

Repository files navigation

prettier-config

Our prettier config with TailwindCSS support & imports sorting

npm version npm downloads

How to use it?

If you just want to apply config in your repository, add key in package.json:

{
  "name": "my-cool-library",
  "version": "9000.0.1",
  "prettier": "@archisquad/prettier-config"
}

If you don’t want to use package.json, you can use any of the supported extensions to export a string, e.g. .prettierrc.json:

"@archisquad/prettier-config"

Development

At first make a local copy of this repository, then install all the dependencies using pnpm or package manager of your choice:

git clone [email protected]:archisquad/prettier-config.git
cd prettier-config
pnpm i

Then, create a branch, make your changes in code, commit it following gitmoji & conventional commits styles.

After that, push it and then create a Pull Request with target to develop branch.

License

MIT