Skip to content

make zig fmt additionally format .zon files #14530

@andrewrk

Description

@andrewrk

Extracted from #14523.

zig fmt recursively walks directories in search of files with the ".zig" extension and formats them. It should additionally do this for ".zon" files. This is technically a breaking change since it is theoretically possible that this extension is being used for something else.

The logic for this is primarily in src/main.zig.

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingImplementing this issue could cause existing code to no longer compile or have different behavior.contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.zig fmt

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions