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

chore: Update README for prettier v3.x #242

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

basselworkforce
Copy link
Contributor

While testing with prettier v3 I found that it is now necessary to add the plugin to the config with npm (when I never had to before) as per:

module.exports = {
    ...
    "plugins": ["@trivago/prettier-plugin-sort-imports"]
}

https://github.com/trivago/prettier-plugin-sort-imports#usage

@lukeapage
Copy link

Confirmed - same for me.

I got warnings about unknown config options and at first I thought this was the issue, but it was because the plugin was no longer auto loaded.

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.

4 participants