Skip to content

prettier pre-commit hook archived (and issues with .mdx) #2735

@mgorny

Description

@mgorny

When working on the docs recently, I'm frequently seeing, while trying to commit:

check yaml...........................................(no files to check)Skipped
fix end of files.........................................................Passed
trim trailing whitespace.................................................Passed
check for added large files..............................................Passed
check for case conflicts.................................................Passed
check for broken symlinks............................(no files to check)Skipped
prettier.................................................................Failed
- hook id: prettier
- exit code: 1

[error] No files matching the given patterns were found

ruff format..........................................(no files to check)Skipped

I went to https://github.com/pre-commit/mirrors-prettier investigate, and noticed it's been archived:

archived

prettier made some changes that breaks plugins entirely

Should we consider replacing it?

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