megalinter

🦙 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

Downloads
28.4K
Stars
1.7K
Committers
113

Bot releases are hidden (Show)

megalinter - MegaLinter v6.22.1

Published by nvuillam over 1 year ago

What's Changed

MegaLinter is graciously provided by OX Security

Full Changelog: https://github.com/oxsecurity/megalinter/compare/v6.22.0...v6.22.1

megalinter - MegaLinter v6.22.0

Published by nvuillam over 1 year ago

What's Changed

MegaLinter is graciously provided by OX Security

Full Changelog: https://github.com/oxsecurity/megalinter/compare/v6.21.0...v6.22.0

megalinter - MegaLinter v6.21.0

Published by nvuillam over 1 year ago

What's Changed

New Contributors

MegaLinter is graciously provided by OX Security

Full Changelog: https://github.com/oxsecurity/megalinter/compare/v6.20.1...v6.21.0

megalinter - MegaLinter v6.20.1

Published by nvuillam over 1 year ago

What's Changed

New Contributors

MegaLinter is graciously provided by OX Security

Full Changelog: https://github.com/oxsecurity/megalinter/compare/v6.20.0...v6.20.1

megalinter - MegaLinter v6.20.0

Published by nvuillam over 1 year ago

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 https://github.com/oxsecurity/megalinter/pull/2340
    • Generate correct urls for packages with fixed versions, by @bdovaz in https://github.com/oxsecurity/megalinter/pull/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 https://github.com/oxsecurity/megalinter/pull/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: https://github.com/oxsecurity/megalinter/compare/v6.19.0...v6.20.0

megalinter - MegaLinter v6.19.0

Published by nvuillam over 1 year ago

What's Changed

New Contributors

MegaLinter is graciously provided by OX Security

Full Changelog: https://github.com/oxsecurity/megalinter/compare/v6...v6.19.0

megalinter - MegaLinter v6.18.0

Published by nvuillam almost 2 years ago

What's Changed

  • New linters

  • Core

    • Upgrade to dotnet 6.0, by @lexstatic in #1680
      • dotnet-format requires .sln, .csproj or .vbproj in the repo
    • Switch to docker buildx, by @bdovaz in #2199
    • Drone CI enhancements, by @NebulaOnion in #2195
      • Config generator tool now supports Drone CI
      • Added information about how to change trigger rules for Drone CI workflow
    • Unify the drawing of badges in documentation, by @bdovaz in #2220
  • Fixes

    • Do not write output files if REPORT_OUTPUT_FOLDER is none
    • Fix Perl linter skipping files
  • New MegaLinter plugins

    • linkcheck: Plugin to check and validate Markdown links, by @shiranr
    • salt-lint: Checks Salt State files (SLS) for best practices and behavior that could potentially be improved, by @grimmjo
  • New article talking about MegaLinter: Writing documentation as a champ in engineering teams, by @gijsreyn

  • Linter versions upgrades

New Contributors

Full Changelog: https://github.com/oxsecurity/megalinter/compare/v6...v6.18.0

MegaLinter is graciously provided by OX Security

Attend OX Security next webinar, hosted by Neatsun Ziv, Co-founder & CEO !

image

megalinter - MegaLinter v6.17.0

Published by nvuillam almost 2 years ago

What's Changed

  • New linters

    • Add PowerShell formatter, by @bdovaz (#2176)
  • Documentation

    • Improve meta tags in HTML documentation
    • Clarify how npm-package-json-lint files can be ignored, by @bdovaz (#2184)
  • Linter versions upgrades

Full Changelog: https://github.com/oxsecurity/megalinter/compare/v6...v6.17.0

MegaLinter is graciously provided by OX Security

megalinter - MegaLinter v6.16.0

Published by nvuillam almost 2 years ago

What's Changed

  • New linters

  • Evolutions

    • Upgrade to alpine 3.16
    • Disable php7 & upgrade php8 to php81
    • Add Makefile linters to documentation flavor
    • PowershellLinter autofix capability, by @bdovaz (#2175)
    • Allow local files with EXTENDS configuration, by @bdovaz (#2151)
    • Add Trivy config file parameters, by @bdovaz (#2154)
  • Fixes

    • Change reporter text for better UX, by @ashokm (#2168)
    • Remove workspace prefix from aggregate sarif report, by @janderssonse (#2119)
    • CSpell file name linting does not use (custom) CSpell configuration (#2058)
    • HTML email not rendering correctly (#2120). Set REPORTERS_MARKDOWN_TYPE to simple to avoid external images in PR/MR markdown comments.
    • mega-linter-runner: Fix Value for container-name of type String required, by @AlbanAndrieu ([#2123])(https://github.com/oxsecurity/megalinter/pull/2123)
    • Use warning emoji in reporters, by @ashokm (#2156)
    • Fix branding to use the correct 'OX Security' name, by @ashokm
  • Doc

    • Enclose System.TeamProject in Azure Pipelines, by @ashokm (#2131)
    • Better contributing docs, by @bdovaz (#2162)
  • Linter versions upgrades

Contributors

  • @bdovaz
  • @ashokm
  • @janderssonse
  • @AlbanAndrieu

Full Changelog: https://github.com/oxsecurity/megalinter/compare/v6.15.0...v6.16.0

MegaLinter is graciously provided by OX Security

megalinter - MegaLinter v6.15.0

Published by nvuillam almost 2 years ago

What's Changed

Contributors

Full Changelog: https://github.com/oxsecurity/megalinter/compare/v6.14.0...v6.15.0

MegaLinter is graciously provided by OX Security

megalinter - MegaLinter v6.14.0

Published by nvuillam almost 2 years ago

MegaLinter is graciously provided by OX Security

megalinter - MegaLinter v6.13.0

Published by nvuillam almost 2 years ago

MegaLinter is graciously provided by OX Security

megalinter - MegaLinter v6.12.0

Published by nvuillam about 2 years ago

MegaLinter is graciously provided by OX Security

megalinter - MegaLinter v6.11.1

Published by nvuillam about 2 years ago

  • Remove no-space-check from MegaLinter default .pylintrc file (#1923)

New article: https://nicolas.vuillamy.fr/megalinter-sells-his-soul-and-joins-ox-security-2a91a0027628

MegaLinter is graciously provided by OX Security

megalinter - MegaLinter v6.11.0

Published by nvuillam about 2 years ago

MegaLinter is graciously provided by OX Security

megalinter - MegaLinter v6.10.0

Published by nvuillam about 2 years ago

  • Add git-lfs in Docker image to handle large files in git repositories

  • MegaLinter Docker images size improvements

    • Remove NPM cache
    • Remove Cargo cache
    • Remove rustup when clippy is not embedded in the image
    • Remove npm packages useless files
  • Linter versions upgrades

megalinter - MegaLinter v6.9.1

Published by nvuillam about 2 years ago

  • Linters

  • Core

    • Improve build performances and docker images sizes (reduce from 117 to 36 layers)
      • Use BUILDKIT
      • Join RUN instructions
      • Optimize core Dockerfile items
      • Clean npm, python and cargo caches
    • Create a venv for each python-based linter to avoid issues with dependencies
    • Fix broken link to documentation when using v6
  • Linter versions upgrades

Note: MegaLinter 6.9.0 release has been cancelled: it was fine but the docker image sizes were not optimized enough.

MegaLinter is graciously provided by OX Security

megalinter - MegaLinter v6.8.0

Published by nvuillam about 2 years ago

  • Run MegaLinter pre-commit hooks serially (#1826).

  • Replace deprecated StandardJS VS Code extension with the newer official version

  • When SARIF_REPORTER is active, use sarif-fmt to convert SARIF into text for console and text reporters (#1822).

  • Count checkstyle errors (#1820)

  • Linter versions upgrades

MegaLinter is graciously provided by OX Security

megalinter - MegaLinter v6.7.1

Published by nvuillam about 2 years ago

  • Fix Azure Comments reporter: Use BuildId to build artifacts url
  • Fix actionlint install command

MegaLinter is graciously provided by OX Security

megalinter - MegaLinter v6.7.0

Published by nvuillam about 2 years ago

  • Linters

    • Add PMD java linter
  • Azure Pipelines integration enhancements

    • Update installation instructions
    • Console reporter: manage collapsible groups for easier display & navigation in job logs (requires CI=true and TF_BUILD=true sent as env variables)
    • Azure comments reporter (see documentation)
  • Performances improvements

    • When running linters in parallel, run in the same process only the linters from same descriptor and that can update the same sources (to avoid concurrency). Other linters can be run independently.
    • Define linter_speed of linter descriptors (default 3). Can be from 1 (super slow) to 5 (super fast). This is used to optimize the processing order of linters.
  • Fixes

    • Fix: Properly match files_sub_directory as a prefix instead of partial string matching (#1765)
    • Match regex without workspace and sub_directory
    • Remove config variables that are not applicable to linters analyzing all files or all other linters files
  • Linter versions upgrades

MegaLinter is graciously provided by OX Security