Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 1.64 KB

File metadata and controls

7 lines (4 loc) · 1.64 KB

Setup & Installation

Trunk Code Quality is easy to adopt for new and legacy projects alike. You can run Trunk Code Quality using your existing linter configurations, incrementally address existing problems, and prevent new issues from being committed to your repo.

You can start using Code Quality in your repos in 4 steps.

Step 1: Initialize TrunkInitialize Trunk in your repo to generate Trunk config files and get linter recommendations based on your project's files.initialize-trunk.md
Step 2: Check for issuesCheck for existing issues in your project. You can address problems up front, use hold-the-line to fix them incrementally, and configure ignores for irrelevant issues. deal-with-existing-issues.md
Step 3: Prevent New IssuesSet up automated runs on commits, before pushes, and on PRs to prevent new issues from appearing in your repo.prevent-new-issues.md
Step 4: Nightly ReportsCode Standards evolve, and new vulnerabilities are discovered daily. Run regular Code Quality checks to discover issues in your repo.github-integration.md