Install this package:
bun add -D @qodestack/prettier-config
Add this line to your package.json
file:
"prettier": "@qodestack/prettier-config"
Add a .prettierrc.json
file to your project with the following contents:
"@qodestack/prettier-config"
Use a .prettierrc.cjs
file with the following content (the plugin used here is just an example):
const qodeStackConfig = require('@qodestack/prettier-config')
module.exports = {
...qodeStackConfig,
plugins: ['prettier-plugin-tailwindcss'],
}