Skip to content

Feature Request: Specify formatting options such as singleQuote without prettierConfig #959

Closed
@kazuma0129

Description

@kazuma0129

I use this library all the time. Thank you very much.

I would like to be able to specify singleQuote, etc. directly to SwaggerToTSOptions.

Currently, SwaggerToTSOptions has a prettierConfig, which can specify the path to the prettier configuration file.
However, I recently switched formatters from prettier to rome and removed prettierrc(as prettierConfig) from the project.
As a result, I can no longer specify singleQuote, etc. in prettierrc when generating type files with openapi-typescript.

I would like to get your opinion on this, as I am sure there are many people like me who have switched from prettier to rome.
On the other hand, I would like to know if there is a work-around for this kind of singleQuote generation in the current functionality.

Best regards!

Metadata

Metadata

Assignees

No one assigned

    Labels

    PRs welcomePRs are welcome to solve this issue!enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions