Skip to content

Add tofu fmt command as linter #8729

Description

@eloyred

Is your feature request related to a problem? Please describe.
Since the release of OpenTofu as an open-source alternative to Terraform, it would be desirable to add the execution of the tofu fmt command as a linter.

Describe the solution you'd like
Similar to the TERRAFORM_TERRAFORM_FMT linter, add a linter that executes the tofu fmt command instead of terraform fmt.

Additional context
https://opentofu.org/blog/the-opentofu-fork-is-now-available/

Metadata

Metadata

Assignees

No one assigned

    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