Skip to content

How to exclude certain files from yamlfmt? #34

@davidxia

Description

@davidxia

My review build runs pre-commit run --all-files. I have some jinja templates that end with extension .yaml. Is there a way to exclude certain files from yamlfmt?

I know I can add an exclude to .pre-commit-config.yaml and change the template's extension. Is there a way to configure yamlfmt itself though?

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