LogoLogo
SlackLogin
  • Overview
    • Welcome
  • Setup & Configuration
    • Connecting to Trunk
    • Managing Your Organization
      • GitHub App Permissions
  • Integration with Slack
  • Flaky Tests (Beta)
    • Overview
    • Get Started
      • Test Frameworks
        • Android
        • Bazel
        • Behave
        • cargo-nextest
        • Cypress
        • Dart Test
        • Go
        • GoogleTest
        • Gradle
        • Jasmine
        • Jest
        • Karma
        • Kotest
        • Maven
        • minitest
        • Mocha
        • Nightwatch
        • NUnit
        • Pest
        • PHPUnit
        • Playwright
        • Pytest
        • Robot Framework
        • RSpec
          • RSpec (Manual Uploads)
        • Swift Testing
        • Vitest
        • XCTest
        • Other Test Frameworks
      • CI Providers
        • Azure DevOps Pipelines
        • BitBucket Pipelines
        • Buildkite
        • CircleCI
        • Drone CI
        • GitHub Actions
        • GitLab
        • Jenkins
        • Semaphore CI
        • TeamCity
        • Travis CI
        • Other CI Providers
    • Dashboard
    • Flaky Test Detection
    • Quarantining
    • PR Comments
    • Ticketing Integrations
      • Jira Integration
      • Linear Integration
      • Other Ticketing Platforms
    • Webhooks
      • Slack Integration
      • Microsoft Teams Integration
      • GitHub Issues Integration
      • Linear Integration
    • Uploader CLI Reference
  • Merge Queue
    • Overview
    • How does it work?
    • Setup
      • Quick Start
      • Settings
      • Integration for Slack
    • Concepts and Optimizations
      • Predictive Testing
      • Optimistic Merging
      • Pending Failure Depth
      • Anti-Flake Protection
      • Batching
      • Parallel Queues
        • Bazel
        • Nx
        • API
      • FAQ
    • Priority
    • Managing Merge Queue
      • Using the Merge UI
      • Metrics
      • Command Line
    • Webhooks
    • Reference
  • Code Quality
    • Overview
    • Why Metalinters?
      • How does it work?
      • Why Code Quality?
    • Setup & Installation
      • Initialize Trunk
      • Local Linting
      • Linting in CI
      • Nightly Report (Deprecated)
      • OpenAI Codex Support
    • IDE Integration
      • VSCode
      • Neovim
      • GitHub Codespaces
    • Linters
      • Supported Linters
        • Actionlint
        • Ansible-lint
        • Autopep8
        • Bandit
        • Biome
        • Black
        • Brakeman
        • buf
        • Buildifier
        • cfnlint
        • Checkov
        • circleci
        • ClangFormat
        • clang-tidy
        • Clippy
        • cmake-format
        • codespell
        • cspell
        • cue-fmt
        • dart
        • deno
        • Detekt
        • djlint
        • dotenv-linter
        • dotnet-format
        • dustilock
        • ESLint
        • Flake8
        • git-diff-check
        • Gitleaks
        • Gofmt
        • gofumpt
        • goimports
        • gokart
        • golangci-lint
        • golines
        • google-java-format
        • graphql-schema-linter
        • hadolint
        • haml-lint
        • isort
        • iwyu
        • ktlint
        • kube-linter
        • markdown-link-check
        • markdown-table-prettify
        • Markdownlint
        • markdownlint-cli2
        • mypy
        • nancy
        • nixpkgs-fmt
        • opa
        • OSV-Scanner
        • Oxipng
        • perlcritic
        • perltidy
        • php-cs-fixer
        • phpstan
        • pmd
        • pragma-once
        • pre-commit-hooks
        • Prettier
        • prisma
        • psscriptanalyzer
        • Pylint
        • pyright
        • regal
        • remark-lint
        • renovate
        • rome
        • rubocop
        • Ruff
        • rufo
        • rustfmt
        • scalafmt
        • semgrep
        • ShellCheck
        • shfmt
        • sort-package-json
        • sourcery
        • sql-formatter
        • SQLFluff
        • sqlfmt
        • squawk
        • standardrb
        • stringslint
        • stylelint
        • stylua
        • SVGO
        • swiftformat
        • swiftlint
        • taplo
        • Terraform
        • terragrunt
        • terrascan
        • TFLint
        • tfsec
        • tofu
        • Trivy
        • Trufflehog
        • txtpbfmt
        • vale
        • Yamllint
        • yapf
      • Run Linters
      • Manage Linters
      • Configure Linters
      • Ignoring Issues and Files
      • Custom Linters
      • Shared Configs
      • Upgrades
    • Debugging
    • Licensing
  • CLI & API References
    • CLI Reference
      • Install
      • Getting Started
        • Code Quality
        • Merge Queue
        • Flaky Tests
        • Tools
        • Actions
          • Git Hooks
        • Announce
      • Compatibility
      • Caching
      • Commands Reference
        • Code Quality
        • Actions
        • Merge
      • Configuration
        • Plugins
          • Share Config Between Codebases
          • Exporting Linter Configs
        • Runtimes
        • Tools
        • Lint
          • Definitions
          • Commands
          • Output
          • Output Parsing
          • Files and Caching
          • Dependencies
          • Auto-Enable
        • Actions
          • Notifications
          • Logging and Troubleshooting
        • Merge
        • Telemetry
        • Per User Overrides
    • API Reference
      • Flaky Tests
      • Merge Queue
      • Webhooks Reference
  • Pricing & Security
    • Security
  • Billing
  • Community & Support
  • Links
    • Open App
    • Slack Community
    • Changelog
    • Feature Requests
On this page
Edit on GitHub
  1. Code Quality
  2. Linters

Supported Linters

Trunk Code Quality supports over 100 linters and formatters

Last updated 6 months ago

📘 Our linter integrations are open-source!

You can find them at , contributions are welcome!

Enable any of the following tools with:

trunk check enable <linter>
Technology
Linters

All

Ansible

Apex

Bash

Bazel, Starlark

C#

C, C++

CircleCI Config

Cloudformation

CSS, SCSS

Cue

Dart

Docker

Dotenv

GitHub

Go

GraphQL

HAML

HTML Templates

Java

JavaScript

JSON

json

jsx

Kotlin

Kubernetes

Lua

Markdown

Nix

package.json

Perl

PHP

PNG

PowerShell

Prisma

prose

Protobuf

Python

Rego

Renovate

Ruby

Rust

Scala

Security

SQL

SVG

Swift

Terraform

Terragrunt

Terrascan

Textproto

TOML

TypeScript

YAML

Can't find a linter you need?

, , , ,

,

, , , ,

,

,

,

, , , , , ,

,

, ,

, , , , ,

, , ,

,

, , , , , ,

,

,

, ,

, , , , , , , , , , ,

,

, , , ,

,

, , , , , , ,

, , ,

, ,

, , , , ,

, , , , ,

, ,

Chat with Trunk's engineers and suggest your ideas. Join us and 1500+ fellow engineers .

trunk-io/plugins
on Slack
codespell
cspell
git-diff-check
gitleaks
pre-commit-hooks
ansible-lint
pmd
shellcheck
shfmt
buildifier
dotnet-format
clang-format
clang-tidy
cmake-format
iwyu
pragma-once
circleci
cfnlint
checkov
prettier
stylelint
cue-fmt
dart
checkov
hadolint
dotenv-linter
actionlint
gofmt
gofumpt
goimports
gokart
golangci-lint
golines
semgrep
graphql-schema-linter
prettier
haml-lint
djlint
google-java-format
pmd
semgrep
biome
deno
eslint
prettier
rome
semgrep
deno
eslint
prettier
semgrep
biome
biome
detekt
ktlint
kube-linter
stylua
deno
markdown-link-check
markdown-table-prettify
markdownlint
markdownlint-cli2
prettier
remark-lint
nixpkgs-fmt
sort-package-json
perlcritic
perltidy
php-cs-fixer
phpstan
oxipng
psscriptanalyzer
prisma
vale
buf
clang-format
clang-tidy
autopep8
bandit
black
flake8
isort
mypy
pylint
pyright
ruff
semgrep
sourcery
yapf
opa
regal
renovate
brakeman
rubocop
rufo
semgrep
standardrb
clippy
rustfmt
scalafmt
checkov
dustilock
nancy
osv-scanner
terrascan
tfsec
trivy
trufflehog
sql-formatter
sqlfluff
sqlfmt
squawk
svgo
stringslint
swiftformat
swiftlint
checkov
terraform
terrascan
tflint
tfsec
tofu
terragrunt
terrascan
txtpbfmt
taplo
biome
deno
eslint
prettier
rome
semgrep
prettier
semgrep
yamllint