Skip to content

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.

@byara byara changed the base branch from main to v5 December 3, 2024 09:21
@byara byara changed the base branch from v5 to main December 3, 2024 09:22
@byara byara merged commit ea30e7a into trivago:main Dec 3, 2024
5 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.

5 participants