Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: merge prettier plugins with options #614

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

suppayami
Copy link
Contributor

@suppayami suppayami commented Sep 24, 2024

Description

Merges plugins list for prettier, allows adding more prettier plugins via prettierOptions

Example

antfu({
  formatters: {
    astro: true,
    prettierOptions: {
      plugins: ['prettier-plugin-tailwindcss'],
    },
  },
})

Linked Issues

Closes #613

Copy link

netlify bot commented Sep 24, 2024

Deploy Preview for melodious-froyo-4871f8 ready!

Name Link
🔨 Latest commit e6e76ab
🔍 Latest deploy log https://app.netlify.com/sites/melodious-froyo-4871f8/deploys/66f20b587f37dd00087415ec
😎 Deploy Preview https://deploy-preview-614--melodious-froyo-4871f8.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@pauliesnug
Copy link

Is this incompatible with #592 ?

@suppayami
Copy link
Contributor Author

Is this incompatible with #592 ?

The PRs solve different problems I guess. This one allows the prettier plugins list being extended for supported files in formatters, while #592 allows user configuring more kinds of files in formatters

@antfu antfu merged commit 04e576c into antfu:main Sep 26, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Merge prettier plugins for formatters
3 participants