Check

Meta-linter for over 100 code checking tools: CLI, IDE, and on the web.

What is Trunk Check?

Trunk Check runs 100+ idiomatic code-checking tools for every language and technology, locally (CLI, VS Code Extension), on CI (CI, GitHub Bot), and in our web app. If you're already running a few of these tools (ESLint, Prettier, etc), Trunk Check lets you run them faster, upgrade them easier, integrate them with CI and PRs, and version them better.

Get started in 60 seconds locally with no login or account.

Check handles:

  • Auto-formatting your code, config files, IaC, and more

  • Linting

  • Static Analysis

  • Optimizing images

  • Flagging leaked secrets

  • Flagging open-source dependencies with vulnerabilities

What problems does Trunk Check solve?

  • Only scanning new code by default. Trunk Check can handle a code base with lots of issues by only scanning new code by default (Hold The Line), so you can handle the backlog when you are ready. (This is the #1 reason people use Trunk check).

  • Supporting config and script files as well as the main language for your codebase. If you are already using eslint for a javascript repo, you probably also have some bash scripts, ci yaml, kube config, and other files for your workflow. These all have great tools you could be running but they don't all install through npm. Trunk Check gives you a single way to check everything in your codebase.

  • Speed up static analysis by using a daemon to check code as you modify files in your repo, run linting in batches, and cache the results for many linters. Since Check it's git-aware, it knows what you've changed, and by adding batched execution and caching, you end up with a much faster and smoother way to run these tools.

  • Speed up PR integration by showing the same results locally and on CI, speeding up PR iterations and PR triage. It can optionally also function as a githooks manager to reject git pushes unless they're passing trunk check.

  • Team Communication. Using a web app for repo stats and slack notifications, everyone on the team knows the current health of your repo.

Next Step: Get Started installing Trunk Check.

Last updated