Skip to content

A --check flag that won't actually apply the formatting but only tell us if some files need formatting and if possible, the list of those #500

@jraygauthier

Description

@jraygauthier

Same behavior as any formatter's --check flag. If the formatter does not provide a --check flag, the formatting could be done to a temp location and a diff helper could be used to check if there are differences.

Same reason why --check mode is needed for formatter. I don't want my CI to mutate the files (which is the current behavior of the --ci flag).

Metadata

Metadata

Assignees

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