3.1.1 • Published 9 months ago

@decampsrenan/prettier-config v3.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

Personal prettier-config

I use this config in all my projects. No need to copy/paste anymore 😄

Install

pnpm i -D @decampsrenan/prettier-config
npm i -D @decampsrenan/prettier-config
yarn add -D @decampsrenan/prettier-config

Usage

// package.json
{
  "name": "...",
  "prettier": "@decampsrenan/prettier-config"
}

Or if you need more control on the settings:

// .prettierrc.mjs
import config from "@decampsrenan/prettier-config"

export default {
  ...config
  // Override with your custom needs here
}

Then run the following commands to check or update files if needed:

npx prettier -c ./ # Check if there is some files to update
npx prettier -w ./ # Update files
3.1.1

9 months ago

3.1.0

9 months ago

3.0.0

1 year ago

2.0.0

1 year ago

1.1.0

2 years ago

1.0.0

2 years ago