@macklinu/prettier-config
v0.0.0
Published
My personal Prettier configuration
Downloads
24
Readme
@macklinu/prettier-config
My personal Prettier configuration
Installation
pnpm install -D @macklinu/prettier-config prettier
Usage
This package requires ES Modules, so make sure to add "type": "module"
to your package.json
.
To use the configuration, add a .prettierrc
file with the following content:
"@macklinu/prettier-config"
If you need to override specific options or add plugins
, use a prettier.config.js
file instead.
// prettier.config.js
import config from '@macklinu/prettier-config'
export default {
...config,
plugins: ['prettier-plugin-tailwindcss'],
}