Skip to content

Change quoteProps to consistent by default for 2.0 #6931

@kachkaev

Description

@kachkaev

Refs: #6888 (about Prettier 2.0), #6929 (about changing arrowParens to always)

Quote Props option was added in #5934 and is available since Prettier 1.17. Given that @azz did not mind changing the default value from as-needed to consistent in V2, I decided to open this issue to bring the topic to a broader discussion.

I understand that changing defaults can cause large git diffs in some projects. However for the benefit of newly created projects, I suggest that the problem can be addressed by changing prettier.config.js in existing codebases. V2.0 is a great opportunity for breaking changes like this.

WDYT folks?

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang:javascriptIssues affecting JSlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.status:needs discussionIssues needing discussion and a decision to be made before action can be taken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions