Skip to content

Add prettier/eslint-like "consistent" option for quoteProps #542

Closed
@jakebailey

Description

@jakebailey

In TS, we have enabled the eslint rule that says "try not to use quotes, but if one prop needs quotes, quote all of them". prettier also has this setting; it'd be great if dprint also had this variant so we could remove a lint rule when we switch over.

Note that "consistent" in both do different things; consistent-as-needed is the right one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions