Skip to content

RFC: Run prettier over generated files if a config exists #93

Open
@mxstbr

Description

@mxstbr

Summary

Every time I run dev my VSCode sidebar looks like this, even if I haven't changed anything about my schema:

CleanShot 2023-12-15 at 10 07 26@2x

This happens because I use prettier, which formats files differently than the codegen.

Proposed Solution

If there is a prettier config file in the folder or a parent folder, run prettier over the generated code with the actual config to avoid unnecessary git diffs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFCA discussion about a future featuregood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions