Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pablocattaneo/62b10c29b7d7312cd2d0860a5d4a58e2 to your computer and use it in GitHub Desktop.
Save pablocattaneo/62b10c29b7d7312cd2d0860a5d4a58e2 to your computer and use it in GitHub Desktop.
The command `trunk check list` lists all the **checkable tools** that Trunk knows about in your project. These are typically linters, formatters, or other code quality tools (like ESLint, Prettier, Flake8, etc.).
### Specifically, `trunk check list` shows:
* Which tools are **enabled** or **disabled**.
* What language(s) each tool supports.
* If the tool is **autodiscovered** (based on your project files) or **manually enabled**.
* Whether the tool is **managed** by Trunk (i.e. automatically downloaded and installed) or **externally provided**.
### Example output:
```bash
TOOL LANGUAGES ENABLED MANAGED
eslint js, ts true true
prettier js, ts true true
flake8 py true true
```
This is useful for:
* Debugging why certain checks are or aren't running.
* Seeing what’s available and can be enabled or configured further.
If you want to see which checks are being applied to a **specific file**, you can run:
```bash
trunk check resolve path/to/file
```
Let me know if you want help enabling/disabling specific tools or customizing your `.trunk/config.yaml`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment