Skip to content

Add option to skip generated files #3958

Closed
@Timmmm

Description

@Timmmm

There's a growing de facto standard to mark generated files by putting @generated in a comment at the top of the file. E.g. check the top of Cargo.lock.

It would be great if there were an option to have Rustfmt skip files that contain @generated.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions