conda-forge / conda-forge/conda-forge.github.io

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

Open
#2,735 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
170
Forks
320
Avg merge
2d 10h
Merged PRs (30d)
5

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.