Manage Linters
Last updated
Last updated
List all of the available linters
Enable a single linter
Disable a single linter
Trunk only runs linters listed in the enabled
section; linters which are defined in lint.definitions
but are not listed in enabled
are not run.
When enabling a linter, you must specify a version for the linter:
Custom linters are slightly different; see to learn more.
Trunk will continuously monitor your repository and make recommendations of additional new tools to run on your codebase. You can tell Trunk not to recommend a specific linter by adding it to the disabled list.
Run trunk upgrade
to update the Trunk CLI and all your plugins, linters, tools, and runtimes.