使用 Precious 只对更改的文件运行相关的 linter 和 formatter
Run just the applicable quality checks on changed files so pre-commit and CI feedback stays fast and targeted.
Prerequisites
precious
Installation
Requirements and caveats from upstream:
- You must pass either --auto or at least one --component. In --auto mode, precious will look
- the commands. prefix must be unique. You can have run the same executable differently with
- a command can be run in multiple ways, and how quickly it completes depends on how many files or
Basic usage or getting-started notes:
- Wouldn't it be great if you could run all of them with just one command? Wouldn't it be great if
- that command just had one config file to define what tools to run on each part of your project?
- Precious is a code quality tool that lets you run all of your linters and tidiers with a single
- Source: https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/houseabsolute/precious/HEAD/README.md
Documentation
- https://github.com/1991513ccie-png/skills