Skip to content

Support --ignore-path CLI option #1585

Open
@lotsofbits

Description

@lotsofbits

Prettier provides a --ignore-path option that allows users to specify the path to an ignore file. This is especially useful in monorepos or projects with multiple ignore files.
Reference: Prettier CLI --ignore-path

Example usage:
dotnet csharpier format . --ignore-path .config/.csharpierignore --ignore-path .gitignore

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions