Skip to content

Ability to run in checking mode #26

@Kernald

Description

@Kernald

It would be nice to be able to run textpbfmt on files in CI to check that they're properly formatted. google-java-format exposes this use-case through two options for example:

  --dry-run, -n
    Prints the paths of the files whose contents would change if the formatter were run normally.
  --set-exit-if-changed
    Return exit code 1 if there are any formatting changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions