Skip to content

MegaLinter

Actions

About

Combine all available linters to automatically validate your sources without configuration
v10.2.0
Latest
Star (2.7K)

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

MegaLinter, by OX Security

GitHub release Docker Pulls Downloads/week Coding Agents GitHub stars MegaLinter codecov

Generated by github-dependents-info Secured with Trivy GitHub contributors GitHub Sponsors PRs Welcome Tweet

MegaLinter is an open-source tool for CI/CD workflows that analyzes the consistency of your code, IaC, configuration, and scripts in your repository to ensure all your project sources are clean and formatted, no matter which IDE or toolbox is used by your developers. Powered by OX Security.

Supports 68 languages, 23 formats, 22 tooling formats, and is ready to use out of the box as a GitHub Action or with any CI system. It is highly configurable and free for all uses.

MegaLinter has native integrations with popular CI/CD tools, and is the guardrail your coding agents need, checking their changes in seconds and guiding their fixes.

GitHub GitLab Azure Bitbucket Jenkins Drone Concourse Docker SARIF Grafana Datadog New Relic Elastic
Claude Code Cursor GitHub Copilot CLI Codex Antigravity OpenCode Gemini CLI Windsurf Cline Roo Code Kilo Code Amp Goose OpenHands Qwen Code

MegaLinter in action: a native run on your machine, the report on the pull request, then a coding agent fixing the errors

The full documentation is on megalinter.io.

Three ways to run MegaLinter

  • In your CI, with Docker (default): npx mega-linter-runner --install generates the workflow for GitHub Actions, GitLab CI, Azure Pipelines, Bitbucket Pipelines, Jenkins and other CI tools.
  • On your machine, without Docker (native mode, beta): npx mega-linter-runner@beta --native-setup proposes the linters your repository needs and installs only those, then npx mega-linter-runner@beta --native lints in seconds, on Linux, macOS (Apple Silicon), Windows (Git Bash) or WSL.
  • With your coding agent: claude plugin marketplace add oxsecurity/megalinter then claude plugin install megalinter@megalinter, then ask your agent to "setup megalinter". It sets MegaLinter up, runs it and fixes the errors it finds. Works with Claude Code, Cursor, GitHub Copilot, Codex, Gemini CLI and more.

What MegaLinter does

Learn more

Join a continuously growing community: MegaLinter Docker images are pulled hundreds of thousands of times every month.

MegaLinter Docker pulls per month

License

GNU Affero General Public License v3.0

MegaLinter is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Combine all available linters to automatically validate your sources without configuration
v10.2.0
Latest

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

MegaLinter is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.