TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: One code quality tool to rule them all

3 pointsby oaldersabout 2 years ago

1 comment

tornato7about 2 years ago
The README could use some work. I&#x27;m already to the installation instructions and I have no idea what it does or how it works. What languages does it apply to? What code quality tools does it use underneath? I used ChatGPT to summarize and it helps a bit - this is closer to what the top of the README should look like:<p>---<p>Precious is a code quality tool that consolidates various linters and tidiers into a single command. It simplifies the management of code quality tools, especially in multi-language projects, by centralizing their configuration in one place.<p>Features of Precious include:<p>- A single configuration file (precious.toml) for all code quality tools<p>- Easy integration with commit hooks and CI systems<p>- Multiple installation options, such as binary releases, ubi, or cargo<p>- Parallel execution of commands by default, with one process per CPU<p>- Support for lint and tidy subcommands<p>- Selectable paths to operate on, such as all paths, modified files according to git, staged files according to git, and more<p>- Selectable commands with labels<p>- Respects VCS ignore files and allows global and per-command exclude rules<p>Precious is designed to be flexible and easy to use, making it suitable for various scenarios and configurations. It can be run as a commit hook, execute commands in a specific order, and handle different code quality tools across multiple languages.
评论 #35896481 未加载