@forcir/prettier-config
v1.0.2
Published
Shared configuration for a consistent experience using Prettier.
Downloads
5
Readme
Install
pnpm add -DE prettier @forcir/prettier-config
yarn add -DE prettier @forcir/prettier-config
npm install -DE prettier @forcir/prettier-config
Basic Usage
package.json (recommended)
{
// ...
"prettier": "@forcir/prettier-config",
// ...
"scripts": {
// ...
"format": "prettier --check \"**/*.{cjs,js,json,md,ts,tsx}\"",
"format:fix": "prettier --write \"**/*.{cjs,js,json,md,ts,tsx}\""
// ...
}
}