Skip to content

Forward flags to clang-format #26

@bbrk24

Description

@bbrk24

I have been using the clang-format package, which is obsolete, and I've been looking for replacements. This one caught my eye recently for being used by node itself. However, it doesn't work for my use case.

I have a script that expects the clang-format command to be either the exact same as or a thin wrapper around the actual clang-format binary, and passes it flags such as --dry-run and --Werror. I was quite surprised when doing that with this package causes a TypeError of all things!

Will this package support forwarding flags like these, or is that out of scope for this project?

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