🦙 MegaLinter analyzes 50 languages, 22 formats, 21 tooling formats, excessive copy-pastes, spelling mistakes and security issues in your repository sources with a GitHub Action, other CI tools or locally.
AGPL-3.0 License
Bot releases are visible (Hide)
Removed deprecated linters, by @nvuillam in https://github.com/oxsecurity/megalinter/pull/3854
Core
output_variables
property, by @nvuillam in https://github.com/oxsecurity/megalinter/pull/3861
Media
Linters enhancements
Fixes
Doc
CI
skip_checkout: true
to default MegaLinter GitHub Action templatemega-linter-runner
Linter versions upgrades
MegaLinter is graciously provided by
Full Changelog: https://github.com/oxsecurity/megalinter/compare/v7.13.0...v8.0.0
Published by nvuillam 3 months ago
New linters
Core
dotnet8-sdk
available in the main repository, by @TommyE123 in https://github.com/oxsecurity/megalinter/pull/3696
Media
Linters enhancements
xsd
files, by @TommyE123 in https://github.com/oxsecurity/megalinter/pull/3665
Fixes
get_list_args
function, by @TommyE123 in https://github.com/oxsecurity/megalinter/pull/3589
.ansible-lint
config file, by @TommyE123 in https://github.com/oxsecurity/megalinter/pull/3697
POWERSHELL_POWERSHELL_FORMATTER_OUTPUT_ENCODING
, by @TommyE123 in https://github.com/oxsecurity/megalinter/pull/3678
scan
instead of deprecated packages
arg, by @TommyE123 in https://github.com/oxsecurity/megalinter/pull/3613
TERRAFORM_TFLINT_SECURED_ENV
, by @TommyE123 in https://github.com/oxsecurity/megalinter/pull/3679
.tflint.hcl
template, by @TommyE123 in https://github.com/oxsecurity/megalinter/pull/3688
XML_XMLLINT_AUTOFORMAT
and XML_XMLLINT_INDENT
, by @TommyE123 in https://github.com/oxsecurity/megalinter/pull/3677
Doc
Flavors
CI
Linter versions upgrades
MegaLinter is graciously provided by
Please share the release post on LinkedIn
Full Changelog: https://github.com/oxsecurity/megalinter/compare/v7.12.0...v7.13.0
Published by nvuillam 5 months ago
Core
Media
Linters
API_SPECTRAL
was added as replacement for OPENAPI_SPECTRAL
(deprecated), supporting AsyncAPI and OpenAPI by default. Uses Spectral's standard config file name .spectral.yaml
instead of .openapirc.yml
with a default config with rulesets for AsyncAPI and OpenAPI enabled. Fixes #3387
KOTLIN_KTLINT
now supports list_of_files
mode, and has better error countingKOTLIN_DETEKT
and make it work with cli_lint_mode = projectFixes
golangci-lint
lint mode to project
, by @wandering-tales in https://github.com/oxsecurity/megalinter/pull/3509
findUnusedCode
and findUnusedBaselineEntry
in default psalm.xml
configuration file for PHP_PSALM linter. Related to https://github.com/oxsecurity/megalinter/issues/3538
ktlint
descriptor to support list_of_files
and better error counting by @Yann-J in https://github.com/oxsecurity/megalinter/pull/3575
Doc
CI
true
to format & fix test methodsLinter versions upgrades
MegaLinter is graciously provided by
Full Changelog: https://github.com/oxsecurity/megalinter/compare/v7...v7.12.0
Published by nvuillam 6 months ago
Fixes
Linter versions upgrades
MegaLinter is graciously provided by
Full Changelog: https://github.com/oxsecurity/megalinter/compare/v7.11.0...v7.11.1
Published by nvuillam 6 months ago
Core
Media
New linters
Reporters
Fixes
.secretlintignore
that was never used but .gitignore
is used instead. Fixes #3328
TEMPLATES/.secretlintignore
, by @pjungermann in https://github.com/oxsecurity/megalinter/pull/3476
Doc
Flavors
CI
Linter versions upgrades
MegaLinter is graciously provided by
Full Changelog: https://github.com/oxsecurity/megalinter/compare/v7.10.0...v7.11.0
Published by nvuillam 7 months ago
Core
Media
Fixes
misconfig
instead of the deprecated config
scanner, updating the default arguments, by @pjungermann in https://github.com/oxsecurity/megalinter/pull/3376
CI
Doc
Linter versions upgrades
MegaLinter is graciously provided by
Full Changelog: https://github.com/oxsecurity/megalinter/compare/v7.9.0...v7.10.0
Published by nvuillam 8 months ago
Core
Fixes
Doc
CI
Linter versions upgrades
MegaLinter is graciously provided by
Full Changelog: https://github.com/oxsecurity/megalinter/compare/v7.8.0...v7.9.0
Published by nvuillam 9 months ago
Reporters
Media
Core
no-remove-container
option is sent by @nvuillam in https://github.com/oxsecurity/megalinter/pull/3203
Fixes
Containerfile
and Dockerfile
by @sanmai-NL in https://github.com/oxsecurity/megalinter/pull/3217
Doc
CI
Linter versions upgrades
MegaLinter is graciously provided by
Full Changelog: https://github.com/oxsecurity/megalinter/compare/v7.7.0...v7.8.0
Published by nvuillam 10 months ago
Core
Media
New linters
Fixes
--gitignore
to ignore copy-pastes in files matching .gitignore
CI
Linter versions upgrades
MegaLinter will be presented at DevCon20, in Paris on 14 december (french)
MegaLinter is graciously provided by
Full Changelog: https://github.com/oxsecurity/megalinter/compare/v7.6.0...v7.7.0
Published by nvuillam 11 months ago
Major enhancements
Core
any
to always activate a linter who as a _DIRECTORY variable. Example: KUBERNETES_DIRECTORY: any
, by @nvuillam in https://github.com/oxsecurity/megalinter/pull/3058
python:3.11.6-alpine3.18
Fixes
--no-git
does not work anymore, #2945, in #3112
results_sarif.sarif
in REPORT_FOLDER
, by @gmeligio in https://github.com/oxsecurity/megalinter/pull/3121
linters_with_defaults()
(formerly with_defaults()
)Doc
CI
Linter versions upgrades
MegaLinter is graciously provided by
Full Changelog: https://github.com/oxsecurity/megalinter/compare/v7...v7.6.0
Published by nvuillam 12 months ago
Core
COMPILER_ONLY
virtual package as cargo dependency in descriptors to embed rust compiler in the Dockerfile@generated
marker scanning (#2654) by @sanmai-NL in https://github.com/oxsecurity/megalinter/pull/2654
Media
Fixes
actionlint
throwing an error on if
statements in the generated workflow file.devskim.json
to mitigate errors introduced when no config exists (closes #3017) by @andrewvaughan in https://github.com/oxsecurity/megalinter/pull/3024
Doc
.lycheeignore
by @nvuillam in https://github.com/oxsecurity/megalinter/pull/3003
CI
.perl-cpm
cache, by @echoix in #3036
Linter versions upgrades
MegaLinter is graciously provided by
Full Changelog: https://github.com/oxsecurity/megalinter/compare/v7.4.0...v7.5.0
Published by nvuillam about 1 year ago
Core
Media
Fixes
Doc
https://megalinter.io/flavors
with https://megalinter.io/latest/flavors
to avoid lychee 404 error by @ashokm in https://github.com/oxsecurity/megalinter/pull/2910
CI
build
to megalinter
to prevent conflicts with other workflowsDeprecations
Linter versions upgrades
MegaLinter is graciously provided by
Full Changelog: https://github.com/oxsecurity/megalinter/compare/v7.3.0...v7.4.0
Published by nvuillam about 1 year ago
Features
Media
Fixes
https://megalinter.io/config-file
by https://megalinter.io/latest/config-file
to avoid lychee 404 detection, by @nvuillam in https://github.com/oxsecurity/megalinter/pull/2871
iconPngUrl
npx mega-linter-runner@latest --codetotal
, that opens CodeTotal in Web Browser once started, by @nvuillam in https://github.com/oxsecurity/megalinter/pull/2877
Linter versions upgrades
MegaLinter is graciously provided by
Full Changelog: https://github.com/oxsecurity/megalinter/compare/v7...v7.3.0
Published by nvuillam about 1 year ago
Fixes
--only-verified
to avoid false positives in .git/config, by @nvuillam , @quotidian-ennui , @iggy & @dochang in https://github.com/oxsecurity/megalinter/pull/2838
REPOSITORY_TRUFFLEHOG_ARGUMENTS: "--only-verified"
as workaround, just remove it to upgrade to 7.2.1Linter versions upgrades
MegaLinter is graciously provided by
Discover CodeTotal , a new way to use MegaLinter, at BlackHat USA on August 10 !
Full Changelog: https://github.com/oxsecurity/megalinter/compare/v7.2.0...v7.2.1
Published by nvuillam about 1 year ago
Discover CodeTotal , a new way to use MegaLinter, at BlackHat USA on August 10 !
New linters
New flavor dotnetweb: dotnet flavor linters + Javascript & Typescript linters
Media
Core
Fixes
hadolint
to use its default configuration file properly, by @KihyeokK in https://github.com/oxsecurity/megalinter/pull/2763
--update
for apk in Dockerfile by @PeterDaveHello in https://github.com/oxsecurity/megalinter/pull/2619
Reporters
CI
Linter versions upgrades
MegaLinter is graciously provided by
Full Changelog: https://github.com/oxsecurity/megalinter/compare/v7.1.0...v7.2.0
Published by nvuillam over 1 year ago
Core
Linter enhancements & fixes
Linter versions upgrades
MegaLinter is graciously provided by
Full Changelog: https://github.com/oxsecurity/megalinter/compare/v7.0.4...v7.1.0
Published by nvuillam over 1 year ago
Core
linterkey_UNSECURED_ENV_VARIABLES
for specific linters to make them visible when necessary (ex: GITHUB_TOKEN for TERRAFORM_TFLINT) by @nvuillam in https://github.com/oxsecurity/megalinter/pull/2703
Documentation
Linter versions upgrades
MegaLinter is graciously provided by
Full Changelog: https://github.com/oxsecurity/megalinter/compare/v7.0.3...v7.0.4
Published by nvuillam over 1 year ago
Linter enhancements & fixes
true
. Set to false
to allow tflint --init
to access your env vars.Core
Linter versions upgrades
MegaLinter is graciously provided by
Full Changelog: https://github.com/oxsecurity/megalinter/compare/v7.0.2...v7.0.3
Published by nvuillam over 1 year ago
To upgrade to MegaLinter v7, run npx mega-linter-runner@latest --upgrade
, comment here if you have any issue :)
MAJOR Updates
New linters
Removed linters
Medias
Linter enhancements & fixes
VALIDATE_ALL_CODEBASE
is set to false
, by @DariuszPorowski #2504
Core
Reporters
Warning Sign (U+26A0)
instead of â—¬ White Up-Pointing Triangle with Dot (U+25EC)
, by @DoommiusDocumentation
Internal CI
/build
slash command to checkout the correct PR branch by @echoix in https://github.com/oxsecurity/megalinter/pull/2542
Linter versions upgrades
MegaLinter is graciously provided by
Full Changelog: https://github.com/oxsecurity/megalinter/compare/v6.22.2...v7.0.2
Published by nvuillam over 1 year ago
Fixes
Linter versions upgrades
MegaLinter is graciously provided by
Full Changelog: https://github.com/oxsecurity/megalinter/compare/v6.22.1...v6.22.2