@qodestack/prettier-config

1.0.2 • Public • Published

How to use

Install this package:

bun add -D @qodestack/prettier-config

Option 1 - your project's package.json

Add this line to your package.json file:

"prettier": "@qodestack/prettier-config"

Option 2 - using .prettierrc.json

Add a .prettierrc.json file to your project with the following contents:

"@qodestack/prettier-config"

Option 3 - this config + plugins

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'],
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    15
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    15
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i @qodestack/prettier-config

Weekly Downloads

15

Version

1.0.2

License

MIT

Unpacked Size

1.66 kB

Total Files

3

Last publish

Collaborators

  • qodesmith