Skip to content

'prettier-plugin-organize-imports' affects a dependent project #134

Closed
@mrfratello

Description

@mrfratello

Hi. I'm using swagger-typescript-api v4. 0. 4 as a dev dependency for the project.

The project uses 'prettier' with a specific configuration. The swagger-typescript-api sets the prettier plugin 'prettier-plugin-organize-imports' as dependencies. This plugin does not require any configuration and will work directly after installation. I tried disabling this plugin but couldn't. My team doesn't want to use this add-on for prettier.

Is it possible to move "prettier-plugin-organize-imports" to devDependencies/peerDependencies or delete it?
As an option, I suggest using another plugin with the configuration in prettierrc, for example https://github.com/trivago/prettier-plugin-sort-imports.

Or will anybody suggest a workaround for switch-off 'prettier-plugin-organize-imports'?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions