Skip to content

Can we ignore haddocks in fix-whitespace? #11638

@philderbeast

Description

@philderbeast

Describe the feature request
When I run fix-whitespace --check after generating haddocks, the haddocks files trigger whitespace violations.

$ cabal haddock-project
$ fix-whitespace --check 2&> whitespace-violations.txt

whitespace-violations.txt

Can we please add the haddocks folder to the exclusion list in fix-whitespace.yaml:

excluded-dirs:
- "**/dist*" # matches every dist* in any directory
- _darcs
- .git
- doc/.venv
- .stack-work
- .vscode

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions