Skip to content

MegaLinter v6.20.0

Compare
Choose a tag to compare
@nvuillam nvuillam released this 05 Mar 20:22
· 1288 commits to main since this release

image

Release notes

  • Core

    • Upgrade base docker image from python:3.10.4-alpine3.16 to python:3.11.1-alpine3.17 in #2312
    • Upgrade base docker image from python:3.11.1-alpine3.17 to python:3.12.1-alpine3.17, by @bdovaz in #2354
    • Update editorconfig-checker to 2.7.0, by @rasa in #2349
    • Build: remove folder contents before generating Dockerfile files for each linter in generate_linter_dockerfiles(), by @bdovaz in #2294
    • Build: remove folder contents before generating test classes for each linter in generate_linter_test_classes(), by @bdovaz in #2294
    • Build: automatically update the linter list used in the matrix of several of the workflows, by @bdovaz in #2294
    • Test: create a testing architecture for format/autofix linters, by @bdovaz in #2294
    • Test: create or adapt input files for format/autofix tests, by @bdovaz in #2294
    • Test: created specific test folders for linters that need them because they cannot share them, by @bdovaz in #2294
    • Added rubocop-rake RubyGem for linting Rake files with RuboCop, by @timgentry in #2366
  • Fixes

    • Correctly generate class names and test class files for each linter when the linter descriptor defines the attribute "name", by @bdovaz in #2294
    • Removed the default powershell templates TEMPLATES/.powershell-formatter.psd1 and TEMPLATES/.powershell-psscriptanalyzer.psd1. Having these templates caused all rules to be ignored as the settings are not incremental but absolute, by @bdovaz in #2294
    • Added cli_lint_fix_arg_name parameter to dotnet format descriptor as without it, autofix does not work, by @bdovaz in #2294
    • Created BicepLinter class to add DOTNET_SYSTEM_GLOBALIZATION_INVARIANT environment variable to avoid problems with ICU packages, by @bdovaz in #2294
    • Modified npm-groovy-lint descriptor to add --failon parameter to only fail with error and not info which is the default value, by @bdovaz in #2294
    • Added cli_lint_fix_arg_name parameter to powershell formatter descriptor as without it, autofix does not work, by @bdovaz in #2294
    • Created ProtolintLinter class to fix the problem that returns exit code 1 when it encounters a problem to correct even though it corrects it correctly, by @bdovaz in #2294
    • Concatenate --output parameter correctly to xmllint linter, by @bdovaz in #2294
    • Modified the .pre-commit-hooks.yaml for megalinter-full so the containername argument is correctly split between two lines, by @drbothen #2411
    • Avoid jscpd default config to detect copy pastes in image files in #2407.
    • Move utilstest to megalinter folder to avoid import issues in #2417.
    • Replace deprecated spectral package, by @bdovaz in by @bdovaz in #2340
    • Generate correct urls for packages with fixed versions, by @bdovaz in #2339
  • Documentation

    • Change swiftlint example that did not correctly reflect the --fix parameter, by @bdovaz in #2294
    • Change in TSX eslint descriptor the urls as they were not correct, by @bdovaz in #2294
    • Change in TYPESCRIPT eslint descriptor the urls as they were not correct, by @bdovaz in #2294
    • Use mkdocs-glightbox to allow to click on images and display them in full screen in #2414
  • CI

    • Use docker/build-push-action to build docker images and akhilerm/tag-push-action to release by retagging and pushing beta images instead of rebuilding them in #2342
    • Authenticate to GitHub API during docker build to avoid reaching limits, by @bdovaz in #2299
    • Remove apk go package install in images where possible to decrease image sizes, by @echoix in #2318
    • Create a slash PR bot to run ./build.sh command manually on PRs, by @echoix in #2353 and #2381
    • Limit parallel execution of large job matrix in the workflows with max-parallel in order to keep runners available for other jobs, by @echoix in #2397
  • Linter versions upgrades

New Contributors

MegaLinter is graciously provided by OX Security

Full Changelog: v6.19.0...v6.20.0