Skip to content

📢 MegaLinter v10 has been released #8696

Description

@nvuillam

🚀 MegaLinter v10 has been released !

Just run npx mega-linter-runner --upgrade to migrate your current configuration to v10 🥳

This isn't just a yearly release, there are major enhancements that your projects will benefit from for sure :)

plz like & share LinkedIn post 🙏

Main enhancements

  • 🤖 Coding agents integration: drive MegaLinter from Claude Code, Cursor, GitHub Copilot CLI, Codex and many more: install the agent skills with npx skills add oxsecurity/megalinter/skills, then ask your agent to "setup megalinter" (documentation)
  • Much faster runs: excluded directories are now forwarded to project-mode linters (hours → minutes on local checkouts), faster startup, parallelized fixers, and a new --prerun analysis mode that suggests configuration improvements
  • 🐳 Much lighter Docker images: main image -9%, flavors up to -22%, standalone megalinter-only-* images up to -65% smaller
  • 📊 Observability: feed your MegaLinter results into Grafana, Datadog, Elastic or New Relic, with ready-to-use linked dashboards provisioned by npx mega-linter-runner --upload-dashboards <provider> (documentation)
  • ⏱️ Per-linter timeout (5 minutes by default): a hanging linter no longer blocks the whole run
  • 🧹 Breaking: 14 deprecated or long-disabled linters removed (notably REPOSITORY_GITLEAKS → use REPOSITORY_BETTERLEAKS) - see Removed linters for the full list and replacements
  • ⬆️ 50 linters upgraded

⚡ Faster runs: v9 vs v10

Measure v9 v10 Delta
MegaLinter repository: full run (all linters, fixes applied) 4m26s 3m18s -26%
MegaLinter startup (import megalinter) ~7s ~0.9s -87%
sfdx-hardis CI MegaLinter job (javascript flavor) 6m02s 3m17s -45%
vscode-sfdx-hardis CI MegaLinter job 3m10s 2m34s -19%

🐳 Lighter Docker images: v9 vs v10

Image v9 v10 Delta
megalinter (main) 4.55 GB 4.13 GB -9%
megalinter-cupcake 2.52 GB 2.24 GB -11%
megalinter-python 1.61 GB 1.26 GB -22%
megalinter-javascript 1.49 GB 1.23 GB -18%
megalinter-terraform 1.59 GB 1.30 GB -18%
megalinter-documentation 1.47 GB 1.21 GB -18%
megalinter-ci_light 724 MB 657 MB -9%
📉 All flavors comparison
Image v9 v10 Delta
megalinter (main) 4.55 GB 4.13 GB -9%
megalinter-c_cpp 1.61 GB 1.35 GB -16%
megalinter-ci_light 724 MB 657 MB -9%
megalinter-cupcake 2.52 GB 2.24 GB -11%
megalinter-documentation 1.47 GB 1.21 GB -18%
megalinter-dotnet 2.23 GB 1.86 GB -17%
megalinter-dotnetweb 2.25 GB 1.88 GB -17%
megalinter-formatters 936 MB 849 MB -9%
megalinter-go 1.55 GB 1.35 GB -13%
megalinter-java 1.59 GB 1.32 GB -17%
megalinter-javascript 1.49 GB 1.23 GB -18%
megalinter-php 1.51 GB 1.26 GB -17%
megalinter-python 1.61 GB 1.26 GB -22%
megalinter-ruby 1.49 GB 1.22 GB -18%
megalinter-rust 1.99 GB 1.80 GB -10%
megalinter-salesforce 2.09 GB 1.87 GB -10%
megalinter-security 1.30 GB 1.17 GB -10%
megalinter-swift 1.51 GB 1.24 GB -18%
megalinter-terraform 1.59 GB 1.30 GB -18%
📉 Standalone megalinter-only-* images comparison (top reductions)
Image v9 v10 Delta
megalinter-only-groovy_npm_groovy_lint 1.07 GB 695 MB -35%
megalinter-only-r_lintr 996 MB 405 MB -59%
megalinter-only-spell_proselint 813 MB 284 MB -65%
megalinter-only-css_stylelint 780 MB 360 MB -54%
megalinter-only-spell_cspell 755 MB 357 MB -53%
megalinter-only-ruby_rubocop 702 MB 301 MB -57%
megalinter-only-perl_perlcritic 696 MB 293 MB -58%
megalinter-only-spell_vale 683 MB 286 MB -58%
megalinter-only-yaml_yamllint 668 MB 271 MB -59%
megalinter-only-bash_shellcheck 660 MB 263 MB -60%
megalinter-only-lua_luacheck 652 MB 252 MB -61%
megalinter-only-xml_xmllint 645 MB 246 MB -62%

📊 Observability dashboards

Send your MegaLinter results to your favorite observability platform and provision ready-to-use dashboards with a single command: npx mega-linter-runner --upload-dashboards <grafana|datadog|elastic|newrelic>

Datadog

MegaLinter Datadog dashboard

Grafana

MegaLinter Grafana dashboard

Elastic

MegaLinter Elastic dashboard

New Relic

MegaLinter New Relic dashboard


See full release notes

Please post your feedback 🎤

MegaLinter is provided by OX Security
Show us your support by starring ⭐ the repository

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    O: stale 🤖This issue or pull request is stale, it will be closed if there is no activity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions