Skip to content

Change option defaults in plugins #3972

@czosel

Description

@czosel

Is it possible to overwrite existing options defaults in plugins?

Example: In the PHP plugin, we'd like to change tabWidth from 2 to 4 (prettier/plugin-php#25)

I saw that #3615 might be related, but it seems that it covers only the case where plugins introduce new options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:apiIssues with Prettier's Application Programming Interfacelocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions