All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Note: Can be used with megalinter/megalinter@beta
in your GitHub Action mega-linter.yml file, or with megalinter/megalinter:beta
docker image
-
Linters
- Disable rstfmt as it is neither stable or maintained
- markdown-links-check: allow 203 as valid return code
-
Fixes
- Github Comment Reporter: switch to using a hidden HTML comment to mark the comment, with the current workflow and jobid. This is more robust than the old method. ([#1355)
- Allow to provide CI_ACTION_RUN_URL to build hlink for GitHub Comments reporter messages ([#1341)
- Display plugin URL in MegaLinter output logs ([#1340)
- Fix public glibc public key download
- Fix
no override and no default toolchain set
when lint rust with clippy via github-action (#975) - Fix cspell FileNotFound error by creating subdirectories under
report
as required (#1397)
-
Doc
- Add instructions to upload artifacts when using MegaLinter with Jenkins
-
Linter versions upgrades
- checkov from 2.0.975 to 2.0.977 on 2022-03-21
- bash-exec from 5.1.0 to 5.1.16 on 2022-03-22
- cfn-lint from 0.58.3 to 0.58.4 on 2022-03-22
- coffeelint from 5.2.4 to 5.2.5 on 2022-03-22
- ktlint from 0.45.0 to 0.45.1 on 2022-03-22
- snakemake from 7.2.1 to 7.3.0 on 2022-03-22
- checkov from 2.0.977 to 2.0.980 on 2022-03-22
- rubocop from 1.26.0 to 1.26.1 on 2022-03-23
- checkov from 2.0.980 to 2.0.983 on 2022-03-23
- ansible-lint from 6.0.1 to 6.0.2 on 2022-03-24
- sfdx-scanner-apex from 2.13.0 to 2.13.1 on 2022-03-24
- sfdx-scanner-aura from 2.13.0 to 2.13.1 on 2022-03-24
- sfdx-scanner-lwc from 2.13.0 to 2.13.1 on 2022-03-24
- snakemake from 7.3.0 to 7.3.1 on 2022-03-24
- stylelint from 14.6.0 to 14.6.1 on 2022-03-26
- golangci-lint from 1.45.0 to 1.45.2 on 2022-03-26
- eslint from 8.11.0 to 8.12.0 on 2022-03-26
- prettier from 2.6.0 to 2.6.1 on 2022-03-26
- luacheck from 0.25.0 to 0.26.0 on 2022-03-26
- phpstan from 1.4.10 to 1.5.0 on 2022-03-26
- mypy from 0.941 to 0.942 on 2022-03-26
- pylint from 2.12.2 to 2.13.1 on 2022-03-26
- snakemake from 7.3.1 to 7.3.2 on 2022-03-26
- cspell from 5.19.2 to 5.19.3 on 2022-03-26
- sqlfluff from 0.11.1 to 0.11.2 on 2022-03-26
- checkov from 2.0.983 to 2.0.995 on 2022-03-26
- checkstyle from 10.0 to 10.1 on 2022-03-27
- pylint from 2.13.1 to 2.13.2 on 2022-03-27
- checkov from 2.0.995 to 2.0.999 on 2022-03-27
- htmlhint from 1.1.2 to 1.1.3 on 2022-03-30
- phpstan from 1.5.0 to 1.5.2 on 2022-03-30
- black from 22.1.0 to 22.3.0 on 2022-03-30
- pylint from 2.13.2 to 2.13.3 on 2022-03-30
- snakemake from 7.3.2 to 7.3.3 on 2022-03-30
- checkov from 2.0.999 to 2.0.1008 on 2022-03-30
- hadolint from 2.9.1 to 2.9.3 on 2022-03-31
- phpstan from 1.5.2 to 1.5.3 on 2022-03-31
- snakemake from 7.3.3 to 7.3.4 on 2022-03-31
- checkov from 2.0.1008 to 2.0.1016 on 2022-03-31
- kics from 1.5.4 to 1.5.5 on 2022-03-31
- pylint from 2.13.3 to 2.13.4 on 2022-03-31
- snakemake from 7.3.4 to 7.3.5 on 2022-03-31
- checkov from 2.0.1016 to 2.0.1021 on 2022-03-31
- cspell from 5.19.3 to 5.19.4 on 2022-04-01
- checkov from 2.0.1021 to 2.0.1024 on 2022-04-01
- terrascan from 1.13.2 to 1.14.0 on 2022-04-01
- cspell from 5.19.4 to 5.19.5 on 2022-04-02
- prettier from 2.6.1 to 2.6.2 on 2022-04-04
- phpstan from 1.5.3 to 1.5.4 on 2022-04-04
- scalafix from 0.9.34 to 0.10.0 on 2022-04-04
- snakemake from 7.3.5 to 7.3.6 on 2022-04-04
- checkov from 2.0.1024 to 2.0.1030 on 2022-04-04
- actionlint from 1.6.10 to 1.6.11 on 2022-04-06
- snakemake from 7.3.6 to 7.3.7 on 2022-04-06
- checkov from 2.0.1030 to 2.0.1037 on 2022-04-06
- ktlint from 0.45.1 to 0.45.2 on 2022-04-07
- pylint from 2.13.4 to 2.13.5 on 2022-04-07
- snakemake from 7.3.7 to 7.3.8 on 2022-04-07
- eslint from 8.12.0 to 8.13.0 on 2022-04-09
- rubocop from 1.26.1 to 1.27.0 on 2022-04-09
- clippy from 0.1.59 to 0.1.60 on 2022-04-09
- cspell from 5.19.5 to 5.19.6 on 2022-04-09
- sqlfluff from 0.11.2 to 0.12.0 on 2022-04-09
- checkov from 2.0.1037 to 2.0.1045 on 2022-04-09
- terraform-fmt from 1.1.7 to 1.1.8 on 2022-04-09
- clj-kondo from 2022.02.09 to 2022.04.08 on 2022-04-10
- hadolint from 2.9.3 to 2.10.0 on 2022-04-10
- cspell from 5.19.6 to 5.19.7 on 2022-04-10
- checkov from 2.0.1045 to 2.0.1046 on 2022-04-10
- Linter versions upgrades
- ansible-lint from 5.4.0 to 6.0.0 on 2022-03-16
- ansible-lint from 6.0.0 to 6.0.1 on 2022-03-19
- checkov from 2.0.939 to 2.0.940 on 2022-03-13
- checkov from 2.0.940 to 2.0.943 on 2022-03-14
- checkov from 2.0.943 to 2.0.949 on 2022-03-15
- checkov from 2.0.949 to 2.0.962 on 2022-03-16
- checkov from 2.0.962 to 2.0.969 on 2022-03-17
- checkov from 2.0.969 to 2.0.970 on 2022-03-17
- checkov from 2.0.970 to 2.0.975 on 2022-03-19
- cspell from 5.19.0 to 5.19.1 on 2022-03-13
- cspell from 5.19.1 to 5.19.2 on 2022-03-14
- golangci-lint from 1.44.2 to 1.45.0 on 2022-03-19
- hadolint from 2.7.0 to 2.9.1 on 2022-03-19
- kics from 1.5.3 to 1.5.4 on 2022-03-17
- ktlint from 0.44.0 to 0.45.0 on 2022-03-19
- markdown-link-check from 3.9.3 to 3.10.0 on 2022-03-20
- mypy from 0.940 to 0.941 on 2022-03-15
- phpstan from 1.4.9 to 1.4.10 on 2022-03-14
- powershell from 7.2.1 to 7.2.2 on 2022-03-17
- prettier from 2.5.1 to 2.6.0 on 2022-03-17
- snakemake from 7.2.0 to 7.2.1 on 2022-03-14
- sqlfluff from 0.11.0 to 0.11.1 on 2022-03-17
- stylelint from 14.5.3 to 14.6.0 on 2022-03-17
- terragrunt from 0.36.3 to 0.36.5 on 2022-03-17
- terragrunt from 0.36.5 to 0.36.6 on 2022-03-19
-
Linters
- New linter kubeconform to validate Kubernetes manifests with updated schemas
-
Core
- Switch from JDK 8 to JDK 11
- Use latest version of npm
-
Flavors
- Add shell linters to ci_light flavor (#1298)
-
Fixes
-
Linter versions upgrades
- actionlint from 1.6.8 to 1.6.9 on 2022-02-25
- actionlint from 1.6.9 to 1.6.10 on 2022-03-12
- bandit from 1.7.2 to 1.7.3 on 2022-02-28
- bandit from 1.7.3 to 1.7.4 on 2022-03-06
- cfn-lint from 0.58.0 to 0.58.1 on 2022-02-21
- cfn-lint from 0.58.1 to 0.58.2 on 2022-02-27
- cfn-lint from 0.58.2 to 0.58.3 on 2022-03-09
- checkov from 2.0.873 to 2.0.885 on 2022-02-21
- checkov from 2.0.885 to 2.0.901 on 2022-02-25
- checkov from 2.0.901 to 2.0.902 on 2022-02-25
- checkov from 2.0.902 to 2.0.903 on 2022-02-27
- checkov from 2.0.903 to 2.0.906 on 2022-02-28
- checkov from 2.0.906 to 2.0.914 on 2022-03-03
- checkov from 2.0.914 to 2.0.917 on 2022-03-04
- checkov from 2.0.917 to 2.0.918 on 2022-03-06
- checkov from 2.0.918 to 2.0.923 on 2022-03-08
- checkov from 2.0.923 to 2.0.924 on 2022-03-08
- checkov from 2.0.924 to 2.0.927 on 2022-03-09
- checkov from 2.0.927 to 2.0.931 on 2022-03-10
- checkov from 2.0.931 to 2.0.935 on 2022-03-11
- checkov from 2.0.935 to 2.0.938 on 2022-03-12
- checkov from 2.0.938 to 2.0.939 on 2022-03-13
- checkstyle from 9.3 to 10.0 on 2022-03-03
- clippy from 0.1.58 to 0.1.59 on 2022-02-25
- clj-kondo from 2022.01.15 to 2022.02.09 on 2022-02-21
- cpplint from 1.5.5 to 1.6.0 on 2022-02-20
- cspell from 5.18.5 to 5.19.0 on 2022-03-13
- eslint from 8.10.0 to 8.11.0 on 2022-03-12
- eslint from 8.9.0 to 8.10.0 on 2022-02-27
- kics from 1.5.2 to 1.5.3 on 2022-03-03
- mypy from 0.931 to 0.940 on 2022-03-12
- phpstan from 1.4.6 to 1.4.7 on 2022-03-03
- phpstan from 1.4.7 to 1.4.8 on 2022-03-06
- phpstan from 1.4.8 to 1.4.9 on 2022-03-11
- protolint from 0.37.0 to 0.37.1 on 2022-02-27
- rst-lint from 1.3.2 to 1.4.0 on 2022-02-25
- rubocop from 1.25.1 to 1.26.0 on 2022-03-10
- sfdx-scanner-apex from 2.12.0 to 2.13.0 on 2022-02-25
- sfdx-scanner-aura from 2.12.0 to 2.13.0 on 2022-02-25
- sfdx-scanner-lwc from 2.12.0 to 2.13.0 on 2022-02-25
- snakefmt from 0.4.4 to 0.6.0 on 2022-03-04
- snakemake from 6.15.5 to 7.0.0 on 2022-02-25
- snakemake from 7.0.0 to 7.0.1 on 2022-02-27
- snakemake from 7.0.1 to 7.0.3 on 2022-03-03
- snakemake from 7.0.3 to 7.0.4 on 2022-03-04
- snakemake from 7.0.4 to 7.1.0 on 2022-03-06
- snakemake from 7.1.0 to 7.1.1 on 2022-03-08
- snakemake from 7.1.1 to 7.2.0 on 2022-03-13
- sqlfluff from 0.10.1 to 0.11.0 on 2022-03-08
- stylelint from 14.5.1 to 14.5.3 on 2022-02-25
- swiftlint from 0.46.2 to 0.46.3 on 2022-02-25
- swiftlint from 0.46.3 to 0.46.4 on 2022-03-08
- swiftlint from 0.46.4 to 0.46.5 on 2022-03-09
- terraform-fmt from 1.1.6 to 1.1.7 on 2022-03-04
- terragrunt from 0.36.1 to 0.36.2 on 2022-02-25
- terragrunt from 0.36.2 to 0.36.3 on 2022-03-04
- terrascan from 1.13.1 to 1.13.2 on 2022-02-25
- tsqllint from 1.14.3.0 to 1.14.5.0 on 2022-02-21
- xmllint from 20912 to 20913 on 2022-03-12
-
Linters
- Improve ansible-lint performances by linting all project in one call, and count number of errors
- Use project cli_lint_mode to improve performances
- terrascan
-
Fixes
- Manage to use local certificate with Gitlab comments reporter using GITLAB_SSL_CERTIFICATE_PATH (#1239)
- Fix GITLAB_ACCESS_TOKEN_MEGALINTER suggestion when trying to push comments to gitlab merge request
- Gitlab Comments Reporter: allow to use certificates with variable GITLAB_CUSTOM_CERTIFICATE (or GITLAB_CERTIFICATE_PATH only if PRE_COMMANDS are used) (#1239)
-
Core
- Allow to check prop existence in active_only_if_file_found and apply to eslint descriptors (#1205)
-
Doc
- Update images with screen records gifs
- Add publish artifact task in azure pipelines doc
-
Linter versions upgrades
- ansible-lint from 5.3.2 to 5.4.0 on 2022-02-13
- checkov from 2.0.782 to 2.0.783 on 2022-02-03
- checkov from 2.0.783 to 2.0.786 on 2022-02-03
- checkov from 2.0.786 to 2.0.791 on 2022-02-05
- checkov from 2.0.791 to 2.0.793 on 2022-02-06
- checkov from 2.0.793 to 2.0.795 on 2022-02-06
- checkov from 2.0.795 to 2.0.812 on 2022-02-09
- checkov from 2.0.812 to 2.0.813 on 2022-02-09
- checkov from 2.0.813 to 2.0.817 on 2022-02-10
- checkov from 2.0.817 to 2.0.830 on 2022-02-13
- checkov from 2.0.830 to 2.0.833 on 2022-02-14
- checkov from 2.0.833 to 2.0.853 on 2022-02-16
- checkov from 2.0.853 to 2.0.866 on 2022-02-18
- checkov from 2.0.866 to 2.0.873 on 2022-02-18
- cspell from 5.18.0 to 5.18.3 on 2022-02-05
- cspell from 5.18.3 to 5.18.4 on 2022-02-09
- cspell from 5.18.4 to 5.18.5 on 2022-02-16
- eslint-plugin-jsonc from 2.1.0 to 2.2.1 on 2022-02-18
- eslint from 8.8.0 to 8.9.0 on 2022-02-13
- golangci-lint from 1.44.0 to 1.44.2 on 2022-02-18
- kics from 1.5.1 to 1.5.2 on 2022-02-18
- ktlint from 0.43.2 to 0.44.0 on 2022-02-16
- markdownlint from 0.30.0 to 0.31.0 on 2022-02-06
- markdownlint from 0.31.0 to 0.31.1 on 2022-02-09
- phpstan from 1.4.5 to 1.4.6 on 2022-02-06
- protolint from 0.36.0 to 0.37.0 on 2022-02-13
- rubocop from 1.25.0 to 1.25.1 on 2022-02-03
- snakemake from 6.15.1 to 6.15.2 on 2022-02-06
- snakemake from 6.15.2 to 6.15.3 on 2022-02-09
- snakemake from 6.15.3 to 6.15.4 on 2022-02-09
- snakemake from 6.15.4 to 6.15.5 on 2022-02-10
- sqlfluff from 0.10.0 to 0.10.1 on 2022-02-18
- sqlfluff from 0.9.4 to 0.10.0 on 2022-02-13
- stylelint from 14.3.0 to 14.4.0 on 2022-02-09
- stylelint from 14.4.0 to 14.5.0 on 2022-02-13
- stylelint from 14.5.0 to 14.5.1 on 2022-02-18
- terraform-fmt from 1.1.4 to 1.1.5 on 2022-02-03
- terraform-fmt from 1.1.5 to 1.1.6 on 2022-02-18
- terrascan from 1.13.0 to 1.13.1 on 2022-02-13
-
Linter updates:
- temporary disable snakefmt to allow latest versions of black and sqlfluff
- cspell: Update .cspell default config with
"version: "2.0", "noConfigSearch": true
- Use list_of_files mode to improve performances
- markdown-link-check
- standard
- stylelint
-
Fixes
-
Linter versions upgrades
- black from 21.12 to 22.1.0 on 2022-02-02
- cfn-lint from 0.57.0 to 0.58.0 on 2022-02-01
- checkov from 2.0.775 to 2.0.777 on 2022-01-31
- checkov from 2.0.777 to 2.0.778 on 2022-02-01
- checkov from 2.0.778 to 2.0.780 on 2022-02-02
- checkov from 2.0.780 to 2.0.782 on 2022-02-02
- cspell from 5.17.0 to 5.18.0 on 2022-01-31
- kics from 1.5.0 to 1.5.1 on 2022-02-02
- markdown-table-formatter from 1.2.0 to 1.3.0 on 2022-01-31
- phpstan from 1.4.3 to 1.4.4 on 2022-02-01
- phpstan from 1.4.4 to 1.4.5 on 2022-02-02
- snakemake from 6.13.1 to 6.15.1 on 2022-02-02
- sqlfluff from 0.9.3 to 0.9.4 on 2022-02-02
- terragrunt from 0.36.0 to 0.36.1 on 2022-02-01
-
Core:
- New reporter GITLAB_COMMENT_REPORTER allowing to post MegaLinter results as comments on Gitlab merge requests
- CI: Update test method to check that the number of errors is correctly calculated (+ fix linter test cases)
-
Linter updates:
- Add configuration file option for SQLFluff (#1200)
- secretlint: Use .gitignore as .secretlintignore if --secretlintignore is not defined and .secretlintignore not found (#1207)
- Update bash-exec documentation
- Display correct number of errors in logs
- actionlint
- chktex
- cpplint
- htmlhint
- perlcritic
- sfdx-scanner
- shellcheck
- shfmt
- Use list_of_files mode to improve performances
- htmlhint
- shellcheck
- shfmt
-
Fixes:
-
Linter versions upgrades
- bandit from 1.7.1 to 1.7.2 on 2022-01-26
- checkov from 2.0.744 to 2.0.745 on 2022-01-23
- checkov from 2.0.745 to 2.0.746 on 2022-01-24
- checkov from 2.0.746 to 2.0.749 on 2022-01-24
- checkov from 2.0.749 to 2.0.754 on 2022-01-24
- checkov from 2.0.754 to 2.0.763 on 2022-01-26
- checkov from 2.0.763 to 2.0.769 on 2022-01-28
- checkov from 2.0.769 to 2.0.772 on 2022-01-29
- checkov from 2.0.772 to 2.0.775 on 2022-01-30
- checkstyle from 9.2.1 to 9.3 on 2022-01-30
- coffeelint from 5.2.3 to 5.2.4 on 2022-01-28
- cspell from 5.16.0 to 5.17.0 on 2022-01-28
- dotenv-linter from 3.1.1 to 3.2.0 on 2022-01-24
- eslint-plugin-jsonc from 2.0.0 to 2.1.0 on 2022-01-28
- eslint from 8.7.0 to 8.8.0 on 2022-01-29
- golangci-lint from 1.43.0 to 1.44.0 on 2022-01-26
- htmlhint from 1.1.0 to 1.1.1 on 2022-01-23
- htmlhint from 1.1.1 to 1.1.2 on 2022-01-28
- markdown-link-check from 3.9.2 to 3.9.3 on 2022-01-29
- phpstan from 1.4.2 to 1.4.3 on 2022-01-29
- rubocop from 0.82.0 to 1.25.0 on 2022-01-29
- shfmt from 3.2.1 to 3.5.0 on 2022-01-30
- shfmt from 3.3.1 to 3.2.1 on 2022-01-30
- snakemake from 6.13.1 to 6.14.0 on 2022-01-28
- snakemake from 6.14.0 to 6.15.0 on 2022-01-29
- snakemake from 6.15.0 to 6.13.1 on 2022-01-30
- sqlfluff from 0.9.1 to 0.9.3 on 2022-01-28
- stylelint from 14.2.0 to 14.3.0 on 2022-01-23
- swiftlint from 0.46.0 to 0.46.2 on 2022-01-28
- tsqllint from 1.14.0.0 to 1.14.3.0 on 2022-01-23
-
Add linters licenses to online documentation
-
Fix issue when config vars are both from ENV and from config file (#1154)
-
Fix issue of --files argument format when calling npm-groovy-lint (#1176)
-
Fix wrong status in reports when DISABLE_ERRORS is used
-
Increase memory size for node.js-based linters (#1149)
-
Make python linters play nice with each other (#1182)
-
Linter versions upgrades
- coffeelint from 5.2.2 to 5.2.3 on 2022-01-09
- phpstan from 1.3.0 to 1.3.3 on 2022-01-09
- mypy from 0.930 to 0.931 on 2022-01-09
- cspell from 5.14.0 to 5.15.1 on 2022-01-09
- checkov from 2.0.702 to 2.0.708 on 2022-01-09
- terraform-fmt from 1.1.2 to 1.1.3 on 2022-01-09
- terrascan from 1.12.0 to 1.13.0 on 2022-01-09
- npm-groovy-lint from 9.3.0 to 9.3.2 on 2022-01-09
- sqlfluff from 0.9.0 to 0.9.1 on 2022-01-09
- cfn-lint from 0.56.3 to 0.56.4 on 2022-01-11
- npm-groovy-lint from 9.3.2 to 9.4.0 on 2022-01-11
- snakemake from 6.12.3 to 6.13.0 on 2022-01-11
- checkov from 2.0.708 to 2.0.709 on 2022-01-11
- scalafix from 0.9.33 to 0.9.34 on 2022-01-12
- snakemake from 6.13.0 to 6.13.1 on 2022-01-12
- cspell from 5.15.1 to 5.15.2 on 2022-01-12
- checkov from 2.0.709 to 2.0.710 on 2022-01-12
- npm-groovy-lint from 9.4.0 to 9.4.1 on 2022-01-13
- checkov from 2.0.710 to 2.0.712 on 2022-01-13
- terragrunt from 0.35.16 to 0.35.18 on 2022-01-13
- clj-kondo from 2021.12.19 to 2022.01.13 on 2022-01-14
- clippy from 0.1.57 to 0.1.58 on 2022-01-14
- checkov from 2.0.712 to 2.0.717 on 2022-01-14
- phpstan from 1.3.3 to 1.4.0 on 2022-01-15
- terragrunt from 0.35.18 to 0.35.19 on 2022-01-15
- terragrunt from 0.35.19 to 0.35.20 on 2022-01-15
- checkov from 2.0.717 to 2.0.718 on 2022-01-16
- eslint from 8.6.0 to 8.7.0 on 2022-01-17
- checkov from 2.0.718 to 2.0.720 on 2022-01-17
- phpstan from 1.4.0 to 1.4.1 on 2022-01-18
- checkov from 2.0.720 to 2.0.727 on 2022-01-18
- clj-kondo from 2022.01.13 to 2022.01.15 on 2022-01-22
- cfn-lint from 0.56.4 to 0.57.0 on 2022-01-22
- markdown-link-check from 3.9.0 to 3.9.2 on 2022-01-22
- phpstan from 1.4.1 to 1.4.2 on 2022-01-22
- protolint from 0.35.2 to 0.36.0 on 2022-01-22
- cspell from 5.15.2 to 5.16.0 on 2022-01-22
- swiftlint from 0.45.1 to 0.46.0 on 2022-01-22
- checkov from 2.0.727 to 2.0.744 on 2022-01-22
- kics from 1.4.9 to 1.5.0 on 2022-01-22
- terraform-fmt from 1.1.3 to 1.1.4 on 2022-01-22
- terragrunt from 0.35.20 to 0.36.0 on 2022-01-22
- Linter versions upgrades
- checkov from 2.0.680 to 2.0.681 on 2021-12-21
- stylelint from 14.1.0 to 14.2.0 on 2021-12-23
- mypy from 0.920 to 0.930 on 2021-12-23
- checkov from 2.0.681 to 2.0.687 on 2021-12-23
- npm-groovy-lint from 9.1.0 to 9.2.0 on 2021-12-23
- checkov from 2.0.687 to 2.0.690 on 2021-12-23
- tflint from 0.34.0 to 0.34.1 on 2021-12-26
- clj-kondo from 2021.06.18 to 2021.12.19 on 2021-12-29
- npm-groovy-lint from 9.2.0 to 9.3.0 on 2021-12-29
- checkstyle from 9.2 to 9.2.1 on 2021-12-29
- cspell from 5.13.4 to 5.14.0 on 2021-12-29
- checkov from 2.0.690 to 2.0.695 on 2021-12-29
- phpstan from 1.2.0 to 1.3.0 on 2021-12-29
- checkov from 2.0.695 to 2.0.701 on 2021-12-31
- htmlhint from 1.0.0 to 1.1.0 on 2022-01-01
- eslint from 8.5.0 to 8.6.0 on 2022-01-01
- checkov from 2.0.701 to 2.0.702 on 2022-01-03
- Linter versions upgrades
- snakemake from 6.12.1 to 6.12.2 on 2021-12-09
- checkov from 2.0.636 to 2.0.639 on 2021-12-09
- checkov from 2.0.639 to 2.0.641 on 2021-12-09
- terraform-fmt from 1.0.11 to 1.1.0 on 2021-12-09
- snakemake from 6.12.2 to 6.12.3 on 2021-12-11
- checkov from 2.0.641 to 2.0.648 on 2021-12-11
- cspell from 5.13.2 to 5.13.3 on 2021-12-11
- terragrunt from 0.35.13 to 0.35.14 on 2021-12-11
- checkov from 2.0.648 to 2.0.649 on 2021-12-12
- phpcs from 3.6.1 to 3.6.2 on 2021-12-14
- sqlfluff from 0.8.2 to 0.9.0 on 2021-12-14
- checkov from 2.0.649 to 2.0.659 on 2021-12-14
- tflint from 0.33.2 to 0.34.0 on 2021-12-14
- npm-groovy-lint from 9.0.0 to 9.1.0 on 2021-12-15
- powershell from 7.2.0 to 7.2.1 on 2021-12-15
- checkov from 2.0.659 to 2.0.660 on 2021-12-15
- mypy from 0.910 to 0.920 on 2021-12-16
- checkov from 2.0.660 to 2.0.662 on 2021-12-16
- checkov from 2.0.662 to 2.0.668 on 2021-12-17
- terraform-fmt from 1.1.0 to 1.1.1 on 2021-12-17
- eslint from 8.4.1 to 8.5.0 on 2021-12-18
- checkov from 2.0.668 to 2.0.672 on 2021-12-18
- cspell from 5.13.3 to 5.13.4 on 2021-12-18
- terraform-fmt from 1.1.1 to 1.1.2 on 2021-12-18
- terragrunt from 0.35.14 to 0.35.16 on 2021-12-18
- coffeelint from 5.2.1 to 5.2.2 on 2021-12-21
- checkov from 2.0.672 to 2.0.680 on 2021-12-21
- kics from 1.4.8 to 1.4.9 on 2021-12-21
-
Fix jscpd typo about
.venv
(#986) -
markdownlint: rename default config file from .markdown-lint.json to .markdownlint.json
-
Deprecate
DEFAULT_BRANCH
setting (#948) -
Correct some broken links in
README
from "Mega-Linter" to "MegaLinter" (#1030) -
Docker run -- clean-up containers when exits (#1033)
-
Add missing Bandit config file and rules path options (#679)
-
Fix getting linter version of npm plugin. (#845)
-
Improve runtime performances when using a flavor and defining
FLAVORS_SUGGESTION: false
-
Do not check for updated files when
APPLY_FIXES
is not active -
Fix CLI_LINT_MODE default value in doc (#1086)
-
Linters
- New linter
phplint
to speed-up linting of php files (#1031)- Fix
phplint
constraint to accept all future bugfix v3.0.x versions (PHP 7.4 support) (#1043)
- Fix
cpplint
: Usecli_lint_mode: project
to improve performances
- New linter
-
Linter versions upgrades
- remark-lint from 14.0.1 to 14.0.2 on 2021-11-19
- php from 7.4.25 to 7.4.26 on 2021-11-19
- checkov from 2.0.587 to 2.0.588 on 2021-11-19
- markdownlint from 0.29.0 to 0.30.0 on 2021-11-21
- checkov from 2.0.588 to 2.0.591 on 2021-11-21
- terragrunt from 0.35.10 to 0.35.12 on 2021-11-21
- eslint from 8.2.0 to 8.3.0 on 2021-11-21
- checkov from 2.0.591 to 2.0.595 on 2021-11-21
- cfn-lint from 0.56.1 to 0.56.2 on 2021-11-22
- sqlfluff from 0.8.1 to 0.8.2 on 2021-11-22
- checkov from 2.0.595 to 2.0.597 on 2021-11-22
- htmlhint from 0.16.1 to 0.16.2 on 2021-11-24
- checkov from 2.0.597 to 2.0.600 on 2021-11-24
- htmlhint from 0.16.2 to 0.16.3 on 2021-11-25
- markdown-link-check from 0.0.0 to 3.9.0 on 2021-11-25
- cspell from 5.13.0 to 5.13.1 on 2021-11-25
- checkov from 2.0.600 to 2.0.603 on 2021-11-25
- kics from 1.4.7 to 1.4.8 on 2021-11-25
- prettier from 2.4.1 to 2.5.0 on 2021-11-26
- pylint from 2.11.1 to 2.12.1 on 2021-11-26
- snakemake from 6.10.0 to 6.11.0 on 2021-11-26
- checkov from 2.0.603 to 2.0.605 on 2021-11-26
- terragrunt from 0.35.12 to 0.35.13 on 2021-11-26
- htmlhint from 0.16.3 to 1.0.0 on 2021-11-27
- scalafix from 0.9.32 to 0.9.33 on 2021-11-27
- snakemake from 6.11.0 to 6.11.1 on 2021-11-27
- checkstyle from 9.1 to 9.2 on 2021-11-29
- checkov from 2.0.605 to 2.0.606 on 2021-11-29
- snakemake from 6.11.1 to 6.12.1 on 2021-11-30
- swiftlint from 0.45.0 to 0.45.1 on 2021-11-30
- checkov from 2.0.606 to 2.0.609 on 2021-11-30
- v8r from 0.6.1 to 0.7.0 on 2021-11-30
- v8r from 0.7.0 to 0.6.1 on 2021-12-01
- checkov from 2.0.614 to 2.0.616 on 2021-12-01
- checkov from 2.0.616 to 2.0.618 on 2021-12-01
- coffeelint from 5.2.0 to 5.2.1 on 2021-12-02
- checkov from 2.0.618 to 2.0.621 on 2021-12-02
- ktlint from 0.40.0 to 0.43.2 on 2021-12-02
- clippy from 0.1.56 to 0.1.57 on 2021-12-03
- checkov from 2.0.621 to 2.0.625 on 2021-12-03
- cfn-lint from 0.56.2 to 0.56.3 on 2021-12-04
- pylint from 2.12.1 to 2.12.2 on 2021-12-04
- checkov from 2.0.625 to 2.0.626 on 2021-12-04
- eslint from 8.3.0 to 8.4.0 on 2021-12-04
- prettier from 2.5.0 to 2.5.1 on 2021-12-05
- black from 21.11 to 21.12 on 2021-12-06
- checkov from 2.0.626 to 2.0.628 on 2021-12-06
- checkov from 2.0.628 to 2.0.632 on 2021-12-07
- eslint from 8.4.0 to 8.4.1 on 2021-12-07
- cspell from 5.13.1 to 5.13.2 on 2021-12-07
- checkov from 2.0.632 to 2.0.634 on 2021-12-07
- tflint from 0.33.1 to 0.33.2 on 2021-12-07
- checkov from 2.0.634 to 2.0.636 on 2021-12-08
-
Fix release doc CI
-
Add <utteranc.es> comments in online documentation
-
Add link to MegaLinter documentation in console logs
-
Linter versions upgrades
- actionlint from 1.6.7 to 1.6.8 on 2021-11-15
- checkov from 2.0.572 to 2.0.573 on 2021-11-15
- checkov from 2.0.573 to 2.0.574 on 2021-11-15
- cfn-lint from 0.56.0 to 0.56.1 on 2021-11-17
- checkov from 2.0.574 to 2.0.580 on 2021-11-17
- black from 21.10 to 21.11 on 2021-11-17
- cspell from 5.12.6 to 5.13.0 on 2021-11-17
- checkov from 2.0.580 to 2.0.582 on 2021-11-17
- checkov from 2.0.582 to 2.0.583 on 2021-11-18
- phpstan from 1.1.2 to 1.2.0 on 2021-11-18
- checkov from 2.0.583 to 2.0.587 on 2021-11-18
-
Fix config issue with IGNORE_GITIGNORED_FILES (#932)
-
Bypass random CI issue with sql_tsqllint_test test version and test help
-
New configuration PRINT_ALL_FILES (default:
true
). If set tofalse
, console log only displays updated and error files, not all of them -
Update black configuration, that now uses a
pyproject.toml
file (#949) -
Allows
list_of_files
cli_lint_mode on Psalm linter to improve performance compare tofile
mode -
mega-linter-runner: Upgrade yeoman environment to allow spaces in path
-
Documentation versioning with mike
-
Accordingly, to official PHPStan documentation, the TEMPLATES/phpstan.neon.dist config file set default level to zero.
-
Downgrade dotnet from 6.0 to 5.0, to be compliant with tsqllint
-
Allow GithubStatusReporter to work for other CI platforms
-
Add license badge in linters documentation (All linters)
-
Upgrade checkov install instructions to use alpine-oriented ones
-
Fix wrong errors count displayed with PHPStan and Psalm linters (#985)
-
Fix typo error in
.jscpd.json
config file (#986) -
Deprecate
DEFAULT_BRANCH
, and change its default frommaster
toHEAD
(#915) -
Linter versions upgrades
- cspell from 5.12.5 to 5.12.6 on 2021-11-04
- cfn-lint from 0.55.0 to 0.56.0 on 2021-11-06
- coffeelint from 5.1.0 to 5.1.1 on 2021-11-06
- jscpd from 3.3.26 to 3.4.1 on 2021-11-06
- hadolint from 2.7.0 to 2.8.0 on 2021-11-06
- eslint-plugin-jsonc from 1.7.0 to 2.0.0 on 2021-11-06
- phpstan from 1.0.2 to 1.1.0 on 2021-11-06
- jscpd from 3.4.1 to 3.4.2 on 2021-11-07
- shellcheck from 0.7.2 to 0.8.0 on 2021-11-07
- coffeelint from 5.1.1 to 5.2.0 on 2021-11-07
- jscpd from 3.4.2 to 3.3.26 on 2021-11-07
- hadolint from 2.8.0 to 2.7.0 on 2021-11-07
- sqlfluff from 0.7.1 to 0.8.0 on 2021-11-07
- sqlfluff from 0.8.0 to 0.8.1 on 2021-11-08
- swiftlint from 0.43.1 to 0.44.0 on 2021-11-08
- actionlint from 1.6.6 to 1.6.7 on 2021-11-08
- eslint from 7.32.0 to 8.2.0 on 2021-11-08
- swiftlint from 0.44.0 to 0.45.0 on 2021-11-08
- powershell from 7.1.5 to 7.2.0 on 2021-11-08
- protolint from 0.35.1 to 0.35.2 on 2021-11-09
- isort from 5.10.0 to 5.10.1 on 2021-11-09
- phpstan from 1.1.1 to 1.1.2 on 2021-11-09
- kics from 1.4.6 to 1.4.7 on 2021-11-11
- terraform-fmt from 1.0.10 to 1.0.11 on 2021-11-11
- terragrunt from 0.35.6 to 0.35.8 on 2021-11-11
- htmlhint from 0.16.0 to 0.16.1 on 2021-11-12
- checkov from 2.0.524 to 2.0.566 on 2021-11-12
- terragrunt from 0.35.8 to 0.35.9 on 2021-11-12
- bandit from 1.7.0 to 1.7.1 on 2021-11-13
- scalafix from 0.9.31 to 0.9.32 on 2021-11-13
- checkov from 2.0.566 to 2.0.569 on 2021-11-13
- terragrunt from 0.35.9 to 0.35.10 on 2021-11-13
- checkov from 2.0.569 to 2.0.571 on 2021-11-14
- stylelint from 14.0.1 to 14.1.0 on 2021-11-14
- checkov from 2.0.571 to 2.0.572 on 2021-11-14
-
Fix that upgrader removed all jobs after cancel_duplicates but the last (#925)
-
Linter versions upgrades
- cfn-lint from 0.54.4 to 0.55.0 on 2021-11-03
- phpstan from 1.0.0 to 1.0.1 on 2021-11-03
- golangci-lint from 1.42.1 to 1.43.0 on 2021-11-04
- phpstan from 1.0.1 to 1.0.2 on 2021-11-04
- isort from 5.9.3 to 5.10.0 on 2021-11-04
- Use GH actions concurrency to cancel runs (#921)
-
Fix
mega-linter-runner --install
template for Github Action Workflow -
Replace expression "abusive copy-paste" by "excessive copy-paste"
-
Linter versions upgrades
- coffeelint from 5.0.5 to 5.1.0 on 2021-11-02
- phpstan from 0.12.99 to 1.0.0 on 2021-11-02
- black from 21.9 to 21.10 on 2021-11-02
- cspell from 5.12.4 to 5.12.5 on 2021-11-02
- terragrunt from 0.35.5 to 0.35.6 on 2021-11-02
-
Quick build to fix stargazers badge regression (see issue #873) (#909)
-
Improve Azure Pipeline template documentation (#908)
-
Take in account legacy docker images for total docker pull count (#910)
-
Upgrade stale github action
-
Linter versions upgrades
- cspell from 5.12.3 to 5.12.4 on 2021-10-31
- checkstyle from 9.0.1 to 9.1 on 2021-10-31
- tflint from 0.33.0 to 0.33.1 on 2021-10-31
- Fix mega-linter-runner bug related to v5
- Fix online documentation
- Migration from github individual repo nvuillam/mega-linter to github organization repo megalinter/megalinter
- Migration from docker hub space nvuillam to space megalinter
- Docker images are now megalinter/megalinter or megalinter/megalinter-FLAVOR
- Documentation is now hosted at https://megalinter.github.io/
- Tool to upgrade user repos configuration files using
npx mega-linter-runner --upgrade
(will upgrade references to nvuillam/mega-linter into megalinter/megalinter) - Version management: Now mega-linter docker images, github action and mega-linter-runner versions are aligned
- latest for latest official release
- beta for current content of main branch
- alpha for current content of alpha branch
- docker image, github action and mega-linter-runner can still be called with exact version number
- Being more inclusive: rename
master
branch intomain
- IGNORE_GITIGNORED_FILES parameter default to
true
-
Upgrades
- Base docker image python:3.9.6-alpine3.13 to python:3.9.7-alpine3.13
- Automerge internal job pascalgn/automerge-action-0.14.2 to pascalgn/automerge-action-0.14.3
-
Config reporter: Parse
.vscode/extensions.json
as json5 (with comments) -
Add eslint-plugin-jsx-a11y dependency
-
Rename default PHPStan config file, from
phpstan.neon
tophpstan.neon.dist
accordingly to PHPStan resolution priority -
Allows
list_of_files
cli_lint_mode on PHPSTAN linter to improve performance compare tofile
mode -
phpstan
is now installed withphive
rather thancomposer
(reduces disk usage) -
Allows
list_of_files
cli_lint_mode on PHPCS linter to improve performance compare tofile
mode -
Allows
list_of_files
cli_lint_mode on EditorConfig-Checker linter to improve performance compare tofile
mode -
Fix internal CSS because of StyleLint new rule
selector-class-pattern
-
Fix ansible-lint version collection
-
Message to recommend to upgrade to MegaLinter v5
-
Linter versions upgrades
- cfn-lint from 0.54.1 to 0.54.2 on 2021-09-23
- eslint-plugin-jsonc from 1.6.0 to 1.7.0 on 2021-09-23
- checkov from 2.0.430 to 2.0.436 on 2021-09-23
- coffeelint from 5.0.3 to 5.0.4 on 2021-09-24
- checkov from 2.0.436 to 2.0.438 on 2021-09-24
- php from 7.4.21 to 7.4.24 on 2021-09-24
- terragrunt from 0.32.3 to 0.32.4 on 2021-09-24
- snakemake from 6.8.0 to 6.8.1 on 2021-09-25
- checkov from 2.0.438 to 2.0.441 on 2021-09-25
- secretlint from 4.0.0 to 4.1.0 on 2021-09-25
- checkov from 2.0.441 to 2.0.442 on 2021-09-26
- checkov from 2.0.442 to 2.0.443 on 2021-09-27
- protolint from 0.32.0 to 0.35.1 on 2021-09-26
- protolint from 0.32.0 to 0.35.1 on 2021-09-27
- checkov from 2.0.443 to 2.0.446 on 2021-09-27
- cspell from 5.10.1 to 5.11.0 on 2021-09-29
- checkov from 2.0.446 to 2.0.448 on 2021-09-29
- npm-groovy-lint from 8.2.0 to 9.0.0 on 2021-09-30
- sfdx-scanner-apex from 2.11.0 to 2.12.0 on 2021-09-30
- sfdx-scanner-aura from 2.11.0 to 2.12.0 on 2021-09-30
- sfdx-scanner-lwc from 2.11.0 to 2.12.0 on 2021-09-30
- snakemake from 6.8.1 to 6.9.0 on 2021-09-30
- cspell from 5.11.0 to 5.11.1 on 2021-09-30
- checkov from 2.0.448 to 2.0.454 on 2021-09-30
- snakemake from 6.9.0 to 6.9.1 on 2021-09-30
- checkov from 2.0.454 to 2.0.461 on 2021-09-30
- checkstyle from 9.0 to 9.0.1 on 2021-10-03
- luacheck from 0.23.0 to 0.25.0 on 2021-10-03
- checkov from 2.0.461 to 2.0.467 on 2021-10-03
- terraform-fmt from 1.0.7 to 1.0.8 on 2021-10-03
- terragrunt from 0.32.4 to 0.34.0 on 2021-10-03
- sqlfluff from 0.6.6 to 0.6.7 on 2021-10-05
- checkov from 2.0.467 to 2.0.469 on 2021-10-05
- markdownlint from 0.28.1 to 0.29.0 on 2021-10-06
- cspell from 5.11.1 to 5.12.0 on 2021-10-06
- sqlfluff from 0.6.7 to 0.6.8 on 2021-10-06
- checkov from 2.0.469 to 2.0.475 on 2021-10-06
- cspell from 5.12.0 to 5.12.1 on 2021-10-06
- checkov from 2.0.475 to 2.0.476 on 2021-10-06
- cspell from 5.12.1 to 5.12.2 on 2021-10-07
- terragrunt from 0.34.0 to 0.34.1 on 2021-10-07
- checkov from 2.0.476 to 2.0.477 on 2021-10-07
- terrascan from 1.10.0 to 1.11.0 on 2021-10-07
- cspell from 5.12.2 to 5.12.3 on 2021-10-09
- checkov from 2.0.477 to 2.0.479 on 2021-10-09
- sqlfluff from 0.6.8 to 0.6.9 on 2021-10-10
- checkov from 2.0.479 to 2.0.481 on 2021-10-10
- checkov from 2.0.481 to 2.0.482 on 2021-10-10
- phpcs from 3.6.0 to 3.6.1 on 2021-10-12
- flake8 from 3.9.2 to 4.0.1 on 2021-10-12
- checkov from 2.0.482 to 2.0.484 on 2021-10-12
- terragrunt from 0.34.1 to 0.34.3 on 2021-10-12
- checkov from 2.0.484 to 2.0.485 on 2021-10-13
- powershell from 7.1.4 to 7.1.5 on 2021-10-16
- sqlfluff from 0.6.9 to 0.7.0 on 2021-10-16
- checkov from 2.0.485 to 2.0.491 on 2021-10-16
- terraform-fmt from 1.0.8 to 1.0.9 on 2021-10-16
- terragrunt from 0.34.3 to 0.35.3 on 2021-10-16
- tflint from 0.32.1 to 0.33.0 on 2021-10-16
- checkov from 2.0.491 to 2.0.492 on 2021-10-17
- actionlint from 1.6.5 to 1.6.6 on 2021-10-17
- cfn-lint from 0.54.2 to 0.54.3 on 2021-10-21
- coffeelint from 5.0.4 to 5.0.5 on 2021-10-21
- snakefmt from 0.4.3 to 0.4.4 on 2021-10-21
- tekton-lint from 0.5.2 to 0.6.0 on 2021-10-21
- checkov from 2.0.492 to 2.0.497 on 2021-10-21
- terragrunt from 0.35.3 to 0.35.4 on 2021-10-21
- stylelint from 13.13.1 to 14.0.0 on 2021-10-24
- clippy from 0.1.55 to 0.1.56 on 2021-10-24
- snakemake from 6.9.1 to 6.10.0 on 2021-10-24
- sqlfluff from 0.7.0 to 0.7.1 on 2021-10-24
- checkov from 2.0.497 to 2.0.509 on 2021-10-24
- terrascan from 1.11.0 to 1.12.0 on 2021-10-24
- checkov from 2.0.509 to 2.0.510 on 2021-10-25
- checkov from 2.0.510 to 2.0.516 on 2021-10-26
- stylelint from 14.0.0 to 14.0.1 on 2021-10-26
- checkov from 2.0.516 to 2.0.524 on 2021-10-26
- php from 7.4.24 to 7.4.25 on 2021-10-27
- cfn-lint from 0.54.3 to 0.54.4 on 2021-10-28
- htmlhint from 0.15.2 to 0.16.0 on 2021-10-29
- terraform-fmt from 1.0.9 to 1.0.10 on 2021-10-29
- terragrunt from 0.35.4 to 0.35.5 on 2021-10-29
-
Add openssh apk for git repos using ssh
-
Change default yamllint config file name from
.yaml-lint.yml
to.yamllint.yml
-
Allow to disable console reporter using
CONSOLE_REPORTER: false
-
Override
cli_lint_mode
of linters using configuration : LINTER_CLI_LINT_MODE -
Performances
- Use list_of_files linting mode for yamllint , black and prettier
-
Fixes
- Add CONFIG_REPORTER in json schema
- Fix Broken CI due to mega-linter test plugin
-
Linter versions upgrades
- checkov from 2.0.396 to 2.0.399 on 2021-09-06
- golangci-lint from 1.42.0 to 1.42.1 on 2021-09-07
- snakemake from 6.7.0 to 6.8.0 on 2021-09-07
- cfn-lint from 0.53.1 to 0.54.1 on 2021-09-12
- prettier from 2.3.2 to 2.4.0 on 2021-09-12
- clippy from 0.1.54 to 0.1.55 on 2021-09-12
- sqlfluff from 0.6.4 to 0.6.5 on 2021-09-12
- checkov from 2.0.399 to 2.0.407 on 2021-09-12
- terragrunt from 0.31.8 to 0.31.10 on 2021-09-12
- tflint from 0.31.0 to 0.32.1 on 2021-09-12
- cspell from 5.9.0 to 5.9.1 on 2021-09-12
- phpstan from 0.12.98 to 0.12.99 on 2021-09-15
- puppet-lint from 2.5.0 to 2.5.2 on 2021-09-15
- black from 21.8 to 21.9 on 2021-09-15
- checkov from 2.0.407 to 2.0.414 on 2021-09-15
- terragrunt from 0.31.10 to 0.31.11 on 2021-09-15
- terragrunt from 0.31.11 to 0.32.1 on 2021-09-15
- secretlint from 3.3.0 to 4.0.0 on 2021-09-18
- htmlhint from 0.15.1 to 0.15.2 on 2021-09-18
- prettier from 2.4.0 to 2.4.1 on 2021-09-18
- pylint from 2.10.2 to 2.11.1 on 2021-09-18
- scalafix from 0.9.30 to 0.9.31 on 2021-09-18
- cspell from 5.9.1 to 5.10.1 on 2021-09-18
- checkov from 2.0.414 to 2.0.421 on 2021-09-18
- terraform-fmt from 1.0.6 to 1.0.7 on 2021-09-18
- terragrunt from 0.32.1 to 0.32.2 on 2021-09-18
- checkov from 2.0.421 to 2.0.425 on 2021-09-19
- checkov from 2.0.425 to 2.0.426 on 2021-09-19
- checkov from 2.0.426 to 2.0.427 on 2021-09-20
- coffeelint from 5.0.2 to 5.0.3 on 2021-09-21
- rstfmt from 0.0.9 to 0.0.10 on 2021-09-21
- sqlfluff from 0.6.5 to 0.6.6 on 2021-09-21
- checkov from 2.0.427 to 2.0.428 on 2021-09-21
- checkov from 2.0.428 to 2.0.430 on 2021-09-21
- terragrunt from 0.32.2 to 0.32.3 on 2021-09-21
-
New CONFIG_REPORTER to generate "ready to copy" folder containing default linter configurations and IDE extensions recommendations
-
New JSON_REPORTER to generate an output json file in report folder
-
Manage pre_commands and post_commands at linter level
- Default commands defined at linter descriptor level
- Overridable by user in linterName_PRE_COMMANDS and linterName_POST_COMMANDS in
.mega-linter.yml
-
Fix tflint config so no custom PRE_COMMAND is necessary
-
Use dotnet installer to setup tsqllint. tsqllint is now part of the main MegaLinter flavor, but removed from JAVASCRIPT flavor
-
Ignore linter_FILTER_REGEX_INCLUDE/linter_FILTER_REGEX_EXCLUDE for linters running on the whole project directory
-
mega-linter-runner updates
- New CLI argument
--json
, to get the full report as JSON in stdout last line - Fix mega-linter-runner --install when local folder path contain spaces
- Upgrade mega-linter-runner dependencies (npm audit fix)
- Better comments for generated .mega-linter.yml config file
- New CLI argument
-
Linter versions upgrades
- markdown-table-formatter from 1.1.0 to 1.2.0 on 2021-08-20
- phpstan from 0.12.94 to 0.12.95 on 2021-08-20
- pylint from 2.9.6 to 2.10.1 on 2021-08-21
- sqlfluff from 0.6.3 to 0.6.4 on 2021-08-21
- phpstan from 0.12.95 to 0.12.96 on 2021-08-21
- pylint from 2.10.1 to 2.10.2 on 2021-08-22
- cspell from 5.7.2 to 5.8.0 on 2021-08-22
- yamllint from 1.26.2 to 1.26.3 on 2021-08-22
- eslint-plugin-jsonc from 1.5.0 to 1.6.0 on 2021-08-23
- checkov from 2.0.363 to 2.0.367 on 2021-08-23
- cspell from 5.8.0 to 5.8.1 on 2021-08-24
- terragrunt from 0.31.5 to 0.31.6 on 2021-08-24
- hadolint from 2.6.0 to 2.7.0 on 2021-08-28
- dotenv-linter from 3.1.0 to 3.1.1 on 2021-08-28
- cspell from 5.8.1 to 5.8.2 on 2021-08-28
- checkov from 2.0.367 to 2.0.376 on 2021-08-28
- terragrunt from 0.31.6 to 0.31.7 on 2021-08-28
- terrascan from 1.9.0 to 1.10.0 on 2021-08-28
- checkov from 2.0.376 to 2.0.377 on 2021-08-29
- cfn-lint from 0.53.0 to 0.53.1 on 2021-08-31
- tsqllint from 1.13.5.0 to 1.14.0.0 on 2021-08-31
- checkov from 2.0.377 to 2.0.380 on 2021-08-31
- terragrunt from 0.31.7 to 0.31.8 on 2021-08-31
- checkstyle from 8.45.1 to 9.0 on 2021-09-01
- cspell from 5.8.2 to 5.9.0 on 2021-09-01
- checkov from 2.0.380 to 2.0.387 on 2021-09-01
- phpstan from 0.12.96 to 0.12.97 on 2021-09-02
- checkov from 2.0.387 to 2.0.392 on 2021-09-02
- checkov from 2.0.392 to 2.0.393 on 2021-09-02
- phpstan from 0.12.97 to 0.12.98 on 2021-09-03
- checkov from 2.0.393 to 2.0.395 on 2021-09-03
- checkov from 2.0.395 to 2.0.396 on 2021-09-04
- black from 20.8 to 21.8 on 2021-09-04
- snakefmt from 0.4.2 to 0.4.3 on 2021-09-04
- terraform-fmt from 1.0.5 to 1.0.6 on 2021-09-04
-
Upgrade tflint descriptor to use ghcr.io/terraform-linters/tflint docker image and initialize tflint
-
Add page for flavors stats in online documentation
-
Unable to list git ignored files when IGNORED_GITIGNORED_FILES: true (#PR605, by David Bernard with the contribution of Tim Pansino)
-
Linter versions upgrades
- powershell from 7.1.3 to 7.1.4 on 2021-08-13
- checkov from 2.0.347 to 2.0.348 on 2021-08-13
- cspell from 5.6.6 to 5.6.7 on 2021-08-14
- terragrunt from 0.31.3 to 0.31.4 on 2021-08-14
- tflint from 0.29.1 to 0.31.0 on 2021-08-14
- cspell from 5.6.7 to 5.7.1 on 2021-08-15
- eslint-plugin-jsonc from 1.4.0 to 1.5.0 on 2021-08-15
- checkov from 2.0.348 to 2.0.350 on 2021-08-15
- coffeelint from 5.0.1 to 5.0.2 on 2021-08-17
- scalafix from 0.9.29 to 0.9.30 on 2021-08-17
- cspell from 5.7.1 to 5.7.2 on 2021-08-17
- sqlfluff from 0.6.2 to 0.6.3 on 2021-08-17
- checkov from 2.0.350 to 2.0.352 on 2021-08-17
- golangci-lint from 1.41.1 to 1.42.0 on 2021-08-18
- checkov from 2.0.352 to 2.0.361 on 2021-08-18
- sfdx-scanner-apex from 2.10.1005 to 2.11.0 on 2021-08-19
- sfdx-scanner-aura from 2.10.1005 to 2.11.0 on 2021-08-19
- sfdx-scanner-lwc from 2.10.1005 to 2.11.0 on 2021-08-19
- checkov from 2.0.361 to 2.0.363 on 2021-08-19
- terraform-fmt from 1.0.4 to 1.0.5 on 2021-08-19
- terragrunt from 0.31.4 to 0.31.5 on 2021-08-19
-
Add secretlint to check for credentials , secrets and passwords stored in linted repository
-
Linter versions upgrades
-
Add tsqllint to lint TSQL files
-
Store docker pulls statistics history
-
add
IGNORE_GENERATED_FILES
in json schema -
allow commonjs config file for eslint - #629, by vitalitytv
-
Linter versions upgrades
- checkov from 2.0.295 to 2.0.297 on 2021-07-25
- puppet-lint from 2.4.2 to 2.5.0 on 2021-07-26
- checkov from 2.0.297 to 2.0.303 on 2021-07-26
- checkov from 2.0.303 to 2.0.307 on 2021-07-28
- v8r from 0.5.0 to 0.6.0 on 2021-07-29
- pylint from 2.9.5 to 2.9.6 on 2021-07-29
- checkov from 2.0.307 to 2.0.313 on 2021-07-29
- isort from 5.9.2 to 5.9.3 on 2021-07-30
- clippy from 0.1.53 to 0.1.54 on 2021-07-30
- snakefmt from 0.4.1 to 0.4.2 on 2021-07-30
- checkov from 2.0.313 to 2.0.317 on 2021-07-30
- terragrunt from 0.31.1 to 0.31.2 on 2021-07-30
- eslint from 7.31.0 to 7.32.0 on 2021-07-31
- phpstan from 0.12.93 to 0.12.94 on 2021-07-31
- checkov from 2.0.317 to 2.0.318 on 2021-07-31
- terragrunt from 0.31.2 to 0.31.3 on 2021-07-31
- checkstyle from 8.44 to 8.45 on 2021-08-01
- shfmt from 3.3.0 to 3.3.1 on 2021-08-02
- checkov from 2.0.318 to 2.0.323 on 2021-08-02
- cfn-lint from 0.52.0 to 0.53.0 on 2021-08-03
- checkov from 2.0.323 to 2.0.327 on 2021-08-03
- remark-lint from 13.0.0 to 14.0.1 on 2021-08-04
- checkov from 2.0.327 to 2.0.330 on 2021-08-04
- yamllint from 1.26.1 to 1.26.2 on 2021-08-04
- checkov from 2.0.330 to 2.0.334 on 2021-08-05
- terraform-fmt from 1.0.3 to 1.0.4 on 2021-08-05
- checkov from 2.0.334 to 2.0.336 on 2021-08-05
- sfdx-scanner-apex from 2.10.0 to 2.10.1005 on 2021-08-06
- sfdx-scanner-aura from 2.10.0 to 2.10.1005 on 2021-08-06
- sfdx-scanner-lwc from 2.10.0 to 2.10.1005 on 2021-08-06
- v8r from 0.6.0 to 0.6.1 on 2021-08-07
- checkov from 2.0.336 to 2.0.337 on 2021-08-07
- terrascan from 1.8.1 to 1.9.0 on 2021-08-07
- checkov from 2.0.337 to 2.0.338 on 2021-08-08
- checkstyle from 8.45 to 8.45.1 on 2021-08-09
- checkov from 2.0.338 to 2.0.340 on 2021-08-09
- checkov from 2.0.340 to 2.0.342 on 2021-08-10
- checkov from 2.0.342 to 2.0.344 on 2021-08-10
-
New config variable IGNORE_GITIGNORED_FILES (default:
false
). If set totrue
, MegaLinter will skips files ignored by git using.gitignore
files -
New config variable IGNORE_GENERATED_FILES (default:
false
). If set totrue
, MegaLinter will skips files containing@generated
marker and not containing@not-generated
marker -
Linter versions upgrades
- sfdx-scanner-apex from 2.9.2 to 2.9.1 on 2021-07-14
- sfdx-scanner-aura from 2.9.2 to 2.9.1 on 2021-07-14
- sfdx-scanner-lwc from 2.9.2 to 2.9.1 on 2021-07-14
- checkov from 2.0.267 to 2.0.269 on 2021-07-14
- snakemake from 6.5.3 to 6.6.0 on 2021-07-17
- sqlfluff from 0.6.0 to 0.6.1 on 2021-07-17
- checkov from 2.0.269 to 1.0.860 on 2021-07-17
- checkov from 1.0.860 to 2.0.276 on 2021-07-17
- eslint from 7.30.0 to 7.31.0 on 2021-07-17
- checkov from 2.0.276 to 2.0.278 on 2021-07-18
- checkov from 2.0.278 to 2.0.279 on 2021-07-18
- checkov from 2.0.279 to 2.0.280 on 2021-07-18
- snakemake from 6.6.0 to 6.6.1 on 2021-07-20
- checkov from 2.0.280 to 2.0.283 on 2021-07-20
- terraform-fmt from 1.0.1 to 1.0.2 on 2021-07-20
- phpstan from 0.12.92 to 0.12.93 on 2021-07-21
- pylint from 2.9.3 to 2.9.4 on 2021-07-21
- checkov from 2.0.283 to 2.0.287 on 2021-07-21
- terragrunt from 0.31.0 to 0.31.1 on 2021-07-21
- markdownlint from 0.27.1 to 0.28.1 on 2021-07-25
- pylint from 2.9.4 to 2.9.5 on 2021-07-25
- sfdx-scanner-apex from 2.9.1 to 2.10.0 on 2021-07-25
- sfdx-scanner-aura from 2.9.1 to 2.10.0 on 2021-07-25
- sfdx-scanner-lwc from 2.9.1 to 2.10.0 on 2021-07-25
- sqlfluff from 0.6.1 to 0.6.2 on 2021-07-25
- checkov from 2.0.287 to 2.0.295 on 2021-07-25
- terraform-fmt from 1.0.2 to 1.0.3 on 2021-07-25
- terrascan from 1.8.0 to 1.8.1 on 2021-07-25
- xmllint from 20910 to 20912 on 2021-07-25
-
Add mypy python linter
-
mega-linter-runner: Add possibility to send the docker image to use, including from another registry than docker hub, with argument
--image
-
Linter versions upgrades
-
Add mypy python linter
-
mega-linter-runner: Add possibility to send the docker image to use, including from another registry than docker hub, with argument
--image
-
Linter versions upgrades
-
New python linter: bandit, added by Tom Pansino
-
Manage Github action versioning: Match MegaLinter docker image version
-
Linter versions upgrades
- snakemake from 6.5.2 to 6.5.3 on 2021-07-07
- checkov from 2.0.251 to 2.0.253 on 2021-07-07
- php from 7.4.19 to 7.4.21 on 2021-07-07
- sql-lint from 0.0.18 to 0.0.19 on 2021-07-08
- checkov from 2.0.253 to 2.0.257 on 2021-07-08
- isort from 5.9.1 to 5.9.2 on 2021-07-10
- checkov from 2.0.257 to 2.0.259 on 2021-07-10
-
Downgrade npm to npm@latest-6 to avoid idealTree error when using npm install
-
Use pip to install ansible & ansible-lint as alpine apk package ansible disappeared
-
Add
--doc
argument to build.sh to generate doc only when requested (manually, or from CI job Auto-Update-Linters) -
Add rust in default installations as it is required for latest pip cryptography package
-
Linter versions upgrades
- rstfmt from 0.0.0 to 0.0.9 on 2021-06-24
- sfdx-scanner-apex from 2.9.1 to 2.9.2 on 2021-06-24
- sfdx-scanner-aura from 2.9.1 to 2.9.2 on 2021-06-24
- sfdx-scanner-lwc from 2.9.1 to 2.9.2 on 2021-06-24
- snakemake from 6.4.1 to 6.5.0 on 2021-06-24
- terraform-fmt from Terraform.v1.0.0 to 1.0.0 on 2021-06-24
- terragrunt from 0.30.7 to 0.31.0 on 2021-06-24
- snakemake from 6.5.0 to 6.5.1 on 2021-06-24
- terraform-fmt from 1.0.0 to 1.0.1 on 2021-06-24
- prettier from 2.3.1 to 2.3.2 on 2021-06-27
- checkstyle from 8.43 to 8.44 on 2021-06-28
- checkov from 2.0.226 to 2.0.228 on 2021-06-28
- checkov from 2.0.228 to 2.0.229 on 2021-06-28
- checkov from 2.0.229 to 2.0.230 on 2021-06-28
- checkov from 2.0.230 to 2.0.232 on 2021-06-28
- cfn-lint from 0.51.0 to 0.52.0 on 2021-07-05
- hadolint from 2.5.0 to 2.6.0 on 2021-07-05
- eslint from 7.29.0 to 7.30.0 on 2021-07-05
- eslint-plugin-jsonc from 1.3.1 to 1.4.0 on 2021-07-05
- phpstan from 0.12.90 to 0.12.91 on 2021-07-05
- pylint from 2.8.3 to 2.9.3 on 2021-07-05
- snakemake from 6.5.1 to 6.5.2 on 2021-07-05
- checkov from 2.0.232 to 2.0.250 on 2021-07-05
- terrascan from 1.7.0 to 1.8.0 on 2021-07-05
- checkov from 2.0.250 to 2.0.251 on 2021-07-05
-
Fix Phive (php package manager) installation
-
Fix dependency error with importlib_metadata before build
-
Linter versions upgrades
- clj-kondo from 2021.04.23 to 2021.06.18 on 2021-06-22
- cfn-lint from 0.50.0 to 0.51.0 on 2021-06-22
- hadolint from 2.4.1 to 2.5.0 on 2021-06-22
- dotenv-linter from 3.0.0 to 3.1.0 on 2021-06-22
- golangci-lint from 1.40.1 to 1.41.1 on 2021-06-22
- npm-groovy-lint from 8.1.0 to 8.2.0 on 2021-06-22
- htmlhint from 0.14.2 to 0.15.1 on 2021-06-22
- eslint from 7.28.0 to 7.29.0 on 2021-06-22
- eslint-plugin-jsonc from 1.2.1 to 1.3.1 on 2021-06-22
- phpstan from 0.12.88 to 0.12.90 on 2021-06-22
- isort from 5.8.0 to 5.9.1 on 2021-06-22
- clippy from 0.1.52 to 0.1.53 on 2021-06-22
- snakefmt from 0.4.0 to 0.4.1 on 2021-06-22
- cspell from 5.6.0 to 5.6.6 on 2021-06-22
- sqlfluff from 0.5.6 to 0.6.0 on 2021-06-22
- terraform-fmt from Terraform.v0.15.5 to Terraform.v1.0.0 on 2021-06-22
- terragrunt from 0.29.8 to 0.30.7 on 2021-06-22
- terrascan from 1.6.0 to 1.7.0 on 2021-06-22
- tflint from 0.29.0 to 0.29.1 on 2021-06-22
-
Fix #304: Display error message when docker is not found when running mega-linter-runner
-
Calculate sum of docker pulls for main page counter badge
-
Check _RULES_PATH for active_only_if_file_found check (#418, by Omeed Musavi)
-
Upgrade clj-kondo 2021.04.23-alpine
-
Upgrade to python:3.9.5-alpine
-
Partial fix #481: Allow applying fixes on push events (PR487 by Vít Kučera)
-
Fix build.sh on windows
-
Add trivy security check of all built MegaLinter docker images
-
Linter versions upgrades
- terragrunt from 0.29.2 to 0.29.3 on 2021-05-16
- shfmt from 3.2.4 to 3.3.0 on 2021-05-18
- phpstan from 0.12.87 to 0.12.88 on 2021-05-18
- cfn-lint from 0.49.1 to 0.49.2 on 2021-05-19
- cpplint from 1.5.4 to 1.5.5 on 2021-05-21
- scalafix from 0.9.27 to 0.9.28 on 2021-05-21
- snakemake from 6.3.0 to 6.4.0 on 2021-05-21
- terraform-fmt from Terraform.v0.15.3 to Terraform.v0.15.4 on 2021-05-21
- terragrunt from 0.29.3 to 0.29.4 on 2021-05-21
- sfdx-scanner-apex from 2.8.0 to 2.9.1 on 2021-05-22
- sfdx-scanner-aura from 2.8.0 to 2.9.1 on 2021-05-22
- sfdx-scanner-lwc from 2.8.0 to 2.9.1 on 2021-05-22
- jscpd from 3.3.25 to 3.3.26 on 2021-05-24
- eslint from 7.26.0 to 7.27.0 on 2021-05-24
- clj-kondo from 2021.02.13 to 2021.04.23 on 2021-05-24
- terragrunt from 0.29.4 to 0.29.5 on 2021-05-24
- snakemake from 6.4.0 to 6.4.1 on 2021-05-28
- terragrunt from 0.29.5 to 0.29.6 on 2021-05-28
- terragrunt from 0.29.6 to 0.29.7 on 2021-05-29
- cspell from 4.1.3 to 5.5.2 on 2021-05-30
- checkstyle from 8.42 to 8.43 on 2021-05-30
- scalafix from 0.9.28 to 0.9.29 on 2021-05-30
- pylint from 2.8.2 to 2.8.3 on 2021-06-01
- cfn-lint from 0.49.2 to 0.50.0 on 2021-06-04
- terraform-fmt from Terraform.v0.15.4 to Terraform.v0.15.5 on 2021-06-04
- terragrunt from 0.29.7 to 0.29.8 on 2021-06-04
- eslint from 7.27.0 to 7.28.0 on 2021-06-05
- prettier from 2.3.0 to 2.3.1 on 2021-06-07
- protolint from 0.31.0 to 0.32.0 on 2021-06-07
- cspell from 5.5.2 to 5.6.0 on 2021-06-07
- sql-lint from 0.0.17 to 0.0.18 on 2021-06-07
- tflint from 0.28.1 to 0.29.0 on 2021-06-07
-
Fix bug in MegaLinter plugins installation (related to #PR403)
-
Linter versions upgrades
- sqlfluff from 0.5.3 to 0.5.5 on 2021-05-14
- hadolint from 2.4.0 to 2.4.1 on 2021-05-15
- golangci-lint from 1.40.0 to 1.40.1 on 2021-05-15
- sqlfluff from 0.5.5 to 0.5.6 on 2021-05-15
-
Split Salesforce sfdx-scanner into pmd, eslint aura and eslint lwc
-
Linter versions upgrades
- snakemake from 6.1.1 to 6.1.2 on 2021-04-20
- stylelint from 13.12.0 to 13.13.0 on 2021-04-25
- hadolint from 2.2.0 to 2.3.0 on 2021-04-25
- eslint from 7.24.0 to 7.25.0 on 2021-04-25
- pylint from 2.7.4 to 2.8.0 on 2021-04-25
- snakemake from 6.1.2 to 6.2.1 on 2021-04-25
- terrascan from 1.4.0 to 1.5.0 on 2021-04-25
- checkstyle from 8.41.1 to 8.42 on 2021-04-25
- pylint from 2.8.0 to 2.8.1 on 2021-04-25
- tflint from 0.27.0 to 0.28.0 on 2021-04-25
- pylint from 2.8.1 to 2.8.2 on 2021-04-27
- cfn-lint from 0.48.3 to 0.49.0 on 2021-04-28
- phpstan from 0.12.84 to 0.12.85 on 2021-04-28
- terragrunt from 0.28.21 to 0.29.0 on 2021-04-28
- snakemake from 6.2.1 to 6.3.0 on 2021-04-30
- terrascan from 1.5.0 to 1.5.1 on 2021-04-30
-
Fix #376 : Link-title to license
-
Add support from prettier as JSON formatter (#421, by Omeed Musavi
-
Linter versions upgrades
- phpstan from 0.12.82 to 0.12.83 on 2021-04-03
- markdown-table-formatter from 1.0.4 to 1.1.0 on 2021-04-05
- tflint from 0.25.0 to 0.26.0 on 2021-04-05
- sqlfluff from 0.4.1 to 0.5.0 on 2021-04-06
- cfn-lint from 0.48.1 to 0.48.2 on 2021-04-07
- yamllint from 1.26.0 to 1.26.1 on 2021-04-07
- snakemake from 6.1.0 to 6.1.1 on 2021-04-08
- terragrunt from 0.28.16 to 0.28.19 on 2021-04-09
- phpcs from 3.5.8 to 3.6.0 on 2021-04-09
- eslint from 7.23.0 to 7.24.0 on 2021-04-10
- sqlfluff from 0.5.0 to 0.5.1 on 2021-04-10
- protolint from 0.30.1 to 0.31.0 on 2021-04-11
- sqlfluff from 0.5.1 to 0.5.2 on 2021-04-11
- sfdx-scanner from 2.7.0 to 2.8.0 on 2021-04-14
- terragrunt from 0.28.19 to 0.28.21 on 2021-04-15
- cfn-lint from 0.48.2 to 0.48.3 on 2021-04-17
- flake8 from 3.9.0 to 3.9.1 on 2021-04-17
- tflint from 0.26.0 to 0.27.0 on 2021-04-19
- hadolint from 2.1.0 to 2.2.0 on 2021-04-19
- phpstan from 0.12.83 to 0.12.84 on 2021-04-19
- shellcheck from 0.7.1 to 0.7.2 on 2021-04-19
-
Keep license pre-formatted in docs
-
Use Python virtual-environment in dev-dependencies shell example
-
Fix #367 : Display editorconfig-checker version
-
Fix #379 : New configuration FAIL_IF_MISSING_LINTER_IN_FLAVOR
-
Linter versions upgrades
- flake8 from 3.8.4 to 3.9.0 on 2021-03-15
- ktlint from 0.40.0 to 0.41.0 on 2021-03-21
- phpstan from 0.12.81 to 0.12.82 on 2021-03-21
- isort from 5.7.0 to 5.8.0 on 2021-03-21
- sfdx-scanner from 2.6.0 to 2.7.0 on 2021-03-21
- sql-lint from 0.0.15 to 0.0.16 on 2021-03-21
- swiftlint from 0.43.0 to 0.43.1 on 2021-03-21
- editorconfig-checker from 0.0.0 to 2.3.4 on 2021-03-22
- ktlint from 0.41.0 to 0.40.0 on 2021-03-22
- cfn-lint from 0.47.2 to 0.48.1 on 2021-03-30
- coffeelint from 4.1.3 to 4.1.4 on 2021-03-30
- hadolint from 1.23.0 to 2.0.0 on 2021-03-30
- golangci-lint from 1.38.0 to 1.39.0 on 2021-03-30
- checkstyle from 8.41 to 8.41.1 on 2021-03-30
- eslint from 7.22.0 to 7.23.0 on 2021-03-30
- kubeval from 0.15.0 to 0.16.1 on 2021-03-30
- perlcritic from 1.138 to 1.140 on 2021-03-30
- pylint from 2.7.2 to 2.7.4 on 2021-03-30
- clippy from 0.0.212 to 0.1.51 on 2021-03-30
- scalafix from 0.9.26 to 0.9.27 on 2021-03-30
- terragrunt from 0.28.9 to 0.28.16 on 2021-03-30
- kubeval from 0.16.0 to 0.16.1 on 2021-03-30
- pylint from 2.7.3 to 2.7.4 on 2021-03-30
- editorconfig-checker from 2.3.4 to 2.3.5 on 2021-03-31
- hadolint from 2.0.0 to 2.1.0 on 2021-04-02
- snakemake from 6.0.5 to 6.1.0 on 2021-04-02
-
Fix #361 - Not respecting
*_DISABLE_ERRORS: false
-
New variable FORMATTERS_DISABLE_ERRORS to force all formatters to be blocking if errors are found
-
Add *.svg in .jscpd (copy-paste detector) default ignore paths
-
Linter versions upgrades
- cfn-lint from 0.47.1 to 0.47.2 on 2021-03-13
- eslint from 7.21.0 to 7.22.0 on 2021-03-13
- eslint-plugin-jsonc from 1.1.0 to 1.2.1 on 2021-03-14
-
Fix regex to list Salesforce errors
-
Fix Updated Files Reporter when MegaLinter is not running on GitHub Action
-
Fix #359 - invalid literal with _DISABLE_ERRORS_IF_LESS_THAN
-
Linter versions upgrades
- clj-kondo from 2021.01.20 to 2021.02.13 on 2021-03-01
- jscpd from 3.3.24 to 3.3.25 on 2021-03-06
- hadolint from 1.22.1 to 1.23.0 on 2021-03-06
- golangci-lint from 1.37.1 to 1.38.0 on 2021-03-06
- markdownlint from 0.26.0 to 0.27.1 on 2021-03-06
- snakemake from 6.0.0 to 6.0.2 on 2021-03-06
- sqlfluff from 0.4.0 to 0.4.1 on 2021-03-06
- swiftlint from 0.42.0 to 0.43.0 on 2021-03-06
- terrascan from 1.3.3 to 1.4.0 on 2021-03-06
- stylelint from 13.11.0 to 13.12.0 on 2021-03-06
- tflint from 0.24.1 to 0.25.0 on 2021-03-06
- shfmt from 3.2.2 to 3.2.4 on 2021-03-10
- cfn-lint from 0.46.0 to 0.47.0 on 2021-03-10
- git_diff from 2.30.1 to 2.30.2 on 2021-03-10
- phpstan from 0.12.80 to 0.12.81 on 2021-03-10
- protolint from 0.29.0 to 0.30.1 on 2021-03-10
- snakefmt from 0.3.1 to 0.4.0 on 2021-03-10
- snakemake from 6.0.2 to 6.0.3 on 2021-03-10
- cfn-lint from 0.47.0 to 0.47.1 on 2021-03-12
- powershell from 7.1.2 to 7.1.3 on 2021-03-12
- snakemake from 6.0.3 to 6.0.5 on 2021-03-12
- terragrunt from 0.28.6 to 0.28.9 on 2021-03-12
-
Feature: <LINTER_NAME>_DISABLE_ERRORS_IF_LESS_THAN : set linter status to warning if maximum allowed errors is not reached
-
Add colors in logs
-
Linter versions upgrades
- pylint from 2.6.0 to 2.6.2 on 2021-02-16
- golangci-lint from 1.36.0 to 1.37.0 on 2021-02-19
- phpstan from 0.12.76 to 0.12.77 on 2021-02-19
- sfdx-scanner from 2.5.1 to 2.6.0 on 2021-02-19
- terragrunt from 0.28.2 to 0.28.6 on 2021-02-19
- terrascan from 1.3.2 to 1.3.3 on 2021-02-19
- stylelint from 13.10.0 to 13.11.0 on 2021-02-21
- golangci-lint from 1.37.0 to 1.37.1 on 2021-02-21
- phpstan from 0.12.77 to 0.12.78 on 2021-02-21
- pylint from 2.6.2 to 2.7.0 on 2021-02-22
- cfn-lint from 0.45.0 to 0.46.0 on 2021-02-24
- pylint from 2.7.0 to 2.7.1 on 2021-02-24
- eslint-plugin-jsonc from 0.9.0 to 1.0.0 on 2021-02-25
- phpstan from 0.12.78 to 0.12.79 on 2021-02-25
- protolint from 0.28.2 to 0.29.0 on 2021-02-25
- jscpd from 3.3.23 to 3.3.24 on 2021-02-28
- eslint from 7.20.0 to 7.21.0 on 2021-02-28
- scalafix from 0.9.25 to 0.9.26 on 2021-02-28
- snakemake from 5.32.2 to 6.0.0 on 2021-02-28
- checkstyle from 8.40 to 8.41 on 2021-03-01
- eslint-plugin-jsonc from 1.0.0 to 1.1.0 on 2021-03-01
- phpstan from 0.12.79 to 0.12.80 on 2021-03-01
- pylint from 2.7.1 to 2.7.2 on 2021-03-01
- clj-kondo from 2021.01.20 to 2021.02.13 on 2021-03-01
-
Linters
- Format YAML with prettier
-
Core
- Lint docker image using Dockle
-
Fixes
- Fix ansible-lint test cases for new version
- Update --help expected return code for shfmt ash formatter and revive go linter
- Add --write to update files fixed by eslint
- Pimp MegaLinter sources by adding newLines when missing (manually and from build.py) + fix logger initialization error + call python3 by default (PR329 by Tom Klingenberg)
- Increase max line length to 500 in yaml-lint default configuration
-
Linter versions upgrades
- ansible-lint from 4.2.0 to 5.0.0 on 2021-02-09
- bash-exec from 5.0.17 to 5.1.0 on 2021-02-09
- cfn-lint from 0.44.6 to 0.44.7 on 2021-02-09
- hadolint from 1.21.0 to 1.22.1 on 2021-02-09
- git_diff from 2.26.2 to 2.30.1 on 2021-02-09
- php from 7.3.26 to 7.4.15 on 2021-02-09
- phpstan from 0.12.71 to 0.12.74 on 2021-02-09
- protolint from 0.28.0 to 0.28.2 on 2021-02-09
- lintr from 2.0.1.9000 to 0.0.0 on 2021-02-09
- snakemake from 5.32.0 to 5.32.1 on 2021-02-09
- terragrunt from 0.27.1 to 0.28.2 on 2021-02-09
- ansible-lint from 5.0.0 to 0.0.0 on 2021-02-09
- dotnet-format from 4.1.131201 to 5.0.211103 on 2021-02-12
- stylelint from 13.9.0 to 13.10.0 on 2021-02-12
- phpstan from 0.12.74 to 0.12.75 on 2021-02-12
- powershell from 7.0.4 to 7.1.2 on 2021-02-12
- snakemake from 5.32.1 to 5.32.2 on 2021-02-12
- coffeelint from 4.1.2 to 4.1.3 on 2021-02-14
- eslint from 7.19.0 to 7.20.0 on 2021-02-14
- phpstan from 0.12.75 to 0.12.76 on 2021-02-14
- black from 19.10 to 20.8 on 2021-02-15
- snakefmt from 0.2.6 to 0.3.0 on 2021-02-15
- sqlfluff from 0.3.6 to 0.4.0 on 2021-02-15
- cfn-lint from 0.44.7 to 0.45.0 on 2021-02-16
- snakefmt from 0.3.0 to 0.3.1 on 2021-02-16
- Linter versions upgrades
- shfmt from 3.2.1 to 3.2.2 on 2021-01-30
- yamllint from 1.25.0 to 1.26.0 on 2021-01-30
- hadolint from 1.20.0 to 1.21.0 on 2021-02-02
- checkstyle from 8.39 to 8.40 on 2021-02-02
- eslint from 7.18.0 to 7.19.0 on 2021-02-02
- phpstan from 0.12.70 to 0.12.71 on 2021-02-02
- tflint from 0.23.1 to 0.24.1 on 2021-02-02
- cfn-lint from 0.44.5 to 0.44.6 on 2021-02-03
- terrascan from 1.3.1 to 1.3.2 on 2021-02-04
-
Fixes
-
Linter versions upgrades
- phpstan from 0.12.68 to 0.12.69 on 2021-01-24
- cfn-lint from 0.44.4 to 0.44.5 on 2021-01-25
- golangci-lint from 1.35.2 to 1.36.0 on 2021-01-27
- protolint from 0.27.0 to 0.28.0 on 2021-01-27
- hadolint from 1.19.0 to 1.20.0 on 2021-01-28
- phpstan from 0.12.69 to 0.12.70 on 2021-01-28
- clj-kondo from 2020.09.09 to 2021.01.20 on 2021-01-28
-
Core architecture
- Manage remote
mega-linter.yml
configuration files - New property EXTENDS, allowing to inherit from remote
mega-linter.yml
configuration files - Add docker-in-docker management (reuse running docker instance)
- Allow to skip auto apply fixes with commit or PR if latest commit text contains
skip fix
- Provide new issue link to create a new flavor to improve performances
- Manage remote
-
Linters
-
Linter versions upgrades
- snakefmt from 0.2.5 to 0.2.6 on 2021-01-22
- terrascan from 1.3.0 to 1.3.1 on 2021-01-22
- eslint-plugin-jsonc from 6.14.10 to 0.9.0 on 2021-01-24
-
Linters
- Add SQL linter sqlfluff
-
Fixes
- #269 eslint: .eslintrc.yml is considered as found whereas it's not located in workspace root
-
Linter versions upgrades
- stylelint from 13.8.0 to 13.9.0 on 2021-01-19
- markdown-table-formatter from 1.0.1 to 1.0.4 on 2021-01-19
- terrascan from 1.2.0 to 1.3.0 on 2021-01-19
- cfn-lint from 0.44.3 to 0.44.4 on 2021-01-19
- powershell from 7.1.1 to 7.0.4 on 2021-01-19
- sfdx-scanner from 2.4.0 to 2.5.1 on 2021-01-21
- terragrunt from 0.26.7 to 0.27.1 on 2021-01-22
-
mega-linter-runner --install
- Create .jscpd.json file if copy-paste detection is activated
- Display ending message
-
Fixes
- #266: shfmt error in python flavor, and reactivate BASH_SHFMT and DOCKERFILE_HADOLINT for own sources linting)
-
Linter versions upgrades
- powershell from 7.1.0 to 7.1.1 on 2021-01-15
- eslint from 7.17.0 to 7.18.0 on 2021-01-16
- eslint-plugin-jsonc from 7.17.0 to 7.18.0 on 2021-01-16
- scalafix from 0.9.24 to 0.9.25 on 2021-01-16
- snakemake from 5.31.1 to 5.32.0 on 2021-01-16
- protolint from 0.26.1 to 0.27.0 on 2021-01-18
- phpstan from 0.12.67 to 0.12.68 on 2021-01-19
-
Linters
- Add markdown-table-formatter
- Fix python error when CSpell found no errors
-
Linter versions upgrades
-
Fix
.cspell.json
file updater -
Linter versions upgrades
- v8r from 0.4.0 to 0.5.0 on 2021-01-14
- mega-linter-runner --install:
- Fix
.mega-linter.yml
DISABLE property when nothing in it - Add default
.cspell.json
if spelling mistakes detector is activated
- Fix
- Core
- Refactor part of Linter & reporters to manage correctly logs when linter cli_lint_mode is
project
orlist_of_files
- Generate ConsoleLinter and Text reports based from Linter.files_lint_results instead of at each loop
- When TAP Reporter active, switch linters with cli_lint_mode == "list_of_files" to "files"
- Fix linter output when cli_lint_mode == "list_of_files"
- Decrease number of Dockerfile steps
- Refactor part of Linter & reporters to manage correctly logs when linter cli_lint_mode is
-
Core
- If the linter is a formatter, errors are not considered as blocking errors by default
-
Linters
- Add prettier to format Javascript and Typescript. standard remains default
- Add remark-lint to check and fix Markdown files. markdownlint remains default
-
Linter versions upgrades
- golangci-lint from 1.35.1 to 1.35.2 on 2021-01-11
- golangci-lint from 1.35.0 to 1.35.1 on 2021-01-11
- golangci-lint from 1.34.1 to 1.35.0 on 2021-01-08
- cfn-lint from 0.44.2 to 0.44.3 on 2021-01-09
- tflint from 0.23.0 to 0.23.1 on 2021-01-10
- dotenv-linter from 2.2.1 to 3.0.0 on 2021-01-11
- Update MegaLinter to call dotenv-linter v3 with
fix
and not--fix
anymore
- Update MegaLinter to call dotenv-linter v3 with
- phpstan from 0.12.65 to 0.12.66 on 2021-01-11
- golangci-lint from 1.35.1 to 1.35.2 on 2021-01-11
-
Core
- Improve
warning
status in logs - Remove timestamp at each log line
- Improve
-
Enhance integration with GitLab CI
- Update configuration generator
- Update core to clean logs when in GitLab CI context
-
Core
- Allow user to configure custom scripts in
.mega-linter.yml
to run before and after linting, with variablesPRE_RUN
andPOST_RUN
- Fix wrong linter status bug
- Enhance configuration variables performances
- Rename XXX_FILE_NAME into XXX_CONFIG_FILE
- Allow user to configure custom scripts in
-
Linters
- Add JSONC (json with comments) linting with eslint-plugin-jsonc
-
Linters
- Add misspell spell checker
- Allow to define cli_lint_errors_regex in descriptors to extract number of errors from linter output stdout
- Call linters CLIs with list of files instead of once by file, to improve performances
- eslint
- markdownlint
- pylint
- flake8
- isort
-
Core
- Implement architecture for MegaLinter plugins
- Count number of errors in linter logs with regexes (
cli_lint_errors_count
andcli_lint_errors_regex
in descriptor files) - Cleanup unused legacy from Super-Linter
-
Reports
- Better icons for Console, GitHub Comment and Text reporters: ✅ ❌
-
Documentation
- Add Install button for VsCode IDE extensions when available
- Add Install button for JetBrains IDEs extensions when available
- Add a new page All linters listing all linters and references to MegaLinter in their documentation
- Add json-schema documentation generation and references
-
CI
- Use
quick build
andTEST_KEYWORDS
in commit messages, to improve contributor experience
- Use
-
Fixes
- Upgrade .tflint default config to work with new tflint version
-
Flavors
- Add ci_light flavor for only CI config files (Dockerfile,Jenkinsfile,JSON,YAML,XML)
- Add salesforce flavor for Salesforce projects (DX or Metadata)
- If all required linters are not in the current flavor, just skip them with a warning message
-
Core
- Add Json Schema for descriptors (allows validation and auto-completion from IDEs)
- Add Json Schema for .mega-linter.yml configuration files
-
Installation
- Add a yeoman generator in mega-linter-runner to initialize configuration in a repository:
npx mega-linter-runner --install
- Add a yeoman generator in mega-linter-runner to initialize configuration in a repository:
-
Linters
- New linter v8r to validate json and yaml files with schemastore.org
-
Core
- Do not suggest flavors when MegaLinter validates only the diff files (
VALIDATE_ALL_CODE_BASE: false
) - Fix ConsoleReporter active linters table content
- Check if linter is able to fix before flagging it as a fixing linter during runtime
- Do not suggest flavors when MegaLinter validates only the diff files (
-
Flavors
- New flavor: documentation
-
Reporters
- Support GitHub Enterprise for GitHub Comment Reporter
- Support GitHub Enterprise for GitHub Status Reporter
-
Doc
- Add docker pulls badge in flavors documentation
- Generate list of references to MegaLinter
- Core
- Allow to use remote linters configuration files with LINTER_RULES_PATH
- Add
.jekyll-cache
in the list of ignored folders by default - Arrange display of Flavor suggestions (text and order) in reporter logs
- Build
- Dynamically generate (build.py) the list of flavors in github actions workflows
- Doc
- Reorganize online documentation menus
- Linters
- Add new linter git_diff to check for git conflicts markers
- Fix rakudo installation
- Fix phpstan installation
-
Flavored MegaLinters
- Generate lightweight docker images to improve MegaLinter performances on some language based projects
- During MegaLinter run, suggest user to use a flavor and write it in reporters
- Update descriptor YML files to define flavours
- Update build.py to create one Dockerfile by MegaLinter flavour & flavors documentation
- New GHA workflows to build all flavoured MegaLinters when pushing in master
-
Fixes
- Output reporter problems as warnings
- Do not make MegaLinter fail in case GitHubStatusReporter fails
-
Doc
- Rename "index" pages into more meaningful labels
-
Add Vue.js linting (eslint-plugin-vue added in dependencies)
-
Configuration parameters changes:
- Change config setting logic:
EXCLUDED_DIRECTORIES
is now replacing original directory list instead of extending it - Add config setting:
ADDITIONAL_EXCLUDED_DIRECTORIES
extendsEXCLUDED_DIRECTORIES
directory list - Add config setting:
<LINTER_KEY>_FILE_EXTENSIONS
to override corresponding value from linter descriptor file - Add config setting:
<LINTER_KEY>_FILE_NAMES_REGEX
to override corresponding value from linter descriptor file
- Change config setting logic:
-
Descriptor yaml schema changes:
- Rename
files_names_not_ends_with
tofile_names_not_ends_with
- Rename
files_names
tofiles_names_regex
and change behavior to expect regular expressions in the list. They are applied using full match (i.e. the whole text should match the regular expression)
- Rename
-
Fix error message from Email Reporter when SMTP password is not set
-
Fix automerge action yml (skip if secrets.PAT is not set)
-
Improve caching of compiled regular expressions
-
Override mkdocs theme to make analytics work
-
CI
- Auto update linters and documentation: Create update PR only if linter versions has been updated
- Build and deploy docker images only when it is relevant (not in case of just documentation update for example)
- Quick fix Github Comment Reporter
- Reorder linters for reports
- Fixes
- Fix python error when File.io does not respond, + harmonize reporter logs
-
Linters
- Add Salesforce linter: sfdx-scanner
-
Core architecture
- Allow to call extra commands to build help content
-
Major updates in online documentation generation
- Reorganize TOC
- Generate individual pages from README sections and update their internal links targets
- Open external links in a new browser tab
-
New configuration parameters
- Allow disabling printing alpaca image to console using PRINT_ALPACA config parameter
- Support list of additional excluded directory basenames via EXCLUDED_DIRECTORIES configuration parameter
-
New reporters:
- Email reporter, to send mega-linter reports by mail if smtp server is configured
- File.io reporter, to access reports with a file.io hyperlink
-
Fixes
- Fix markdown comments generator when build on Windows
- Fix terrascan unit test case
- Run some actions/steps only when PR is from same repository
- Add comments in markdown generated by build.py
- Fix boolean variables not taken in account in .mega-linter.yml config file
-
Performance
- Change way to install linters in Dockerfile (replace FROM ... COPY) by package or sh installation, to reduce the docker build steps from 93 to 87
- shellcheck
- editorconfig-checker
- dotenv-linter
- golangci-lint
- kubeval
- Change way to install linters in Dockerfile (replace FROM ... COPY) by package or sh installation, to reduce the docker build steps from 93 to 87
- Performances
- Update default workflow to get ride of has_updates action (replace by output
has_updated_files
from mega-linter github action) - Avoid duplicate runs in mega-linter.yml template and internal workflows, using skip-duplicate-actions
- Give a proper name to each internal workflow
- Fix issue about mkdirs failing
- Update default workflow to get ride of has_updates action (replace by output
- Manage parallel processing of linters to improve performances
-
Fallback to default behaviours instead of crashes when git not available
-
mega-linter-runner
- Allow to send env parameters to mega-linter-runner cli
- Add examples in documentation
- Publish mega-linter-runner beta version when pushing in master branch
-
Add link to linters rules index in documentation
-
Remove ANSI color codes from log files
-
Add performances by linter in console log
-
New option SHOW_ELAPSED_TIME , allowing the number of seconds elapsed by linter in reports
-
NPM package MegaLinter runner
- runs MegaLinter locally, using .mega-linter.yml configuration (requires docker installed on your computer)
- test cases added in CI
-
Core
- Allow configuration to be defined in a
.mega-linter.yml
file
- Allow configuration to be defined in a
-
Linters
-
Logs
- Store log files as artifacts during test cases
- Add examples of success and failed linter logs in documentation
- Remove
/tmp/lint
and/github/workspace
from log files
-
Documentation
- Add list of supported IDE in each linter documentation
- Generate GitHub card on linter doc when available
- Store link preview info during build
- New reporter: Updated sources
- Activate auto-fix for Groovy
- Update markdown-link-check default config
- Add tip in documentation about .cspell.json generated by MegaLinter
- Remove /tmp/lint from logs
- Improve summary table for linters in project mode (all project linted in one call, not one file by one file)
- Add Reporters in documentation, with screenshots
- New MegaLinter variables to activate/deactivate/configure reporters
- Automatic build of documentation with mkdocs-material
- Automatic deployment to https://megalinter.github.io/
- Add markdown-link-check
- Add Visual Basic .NET language & dotnet-format
- Refactor removal of arguments for formatters (from custom class to Linter generic class)
- Perl: lint files with no extension containing Perl shebang
- Add automerge for PR issues from linter versions updates
- Fix ignored root files issue
- Add Python iSort
- Quick fix "PR Comment" reporter (orange light emoji)
- Refresh fork
-
Add spell checker cspell
-
Add Github Action Workflow to automatically:
- update linters dependencies
- rebuild MegaLinter documentation
- create a PR with updates
-
Apply fixes performed by linters:
- User configuration (APPLY_FIXES vars)
- Descriptors configuration: cli_lint_fix_arg_name set on linter in YML when it can format and/or auto-fix issues
- Provide fixed files info in reports
- Test cases for all fixable file types: sample_project_fixes
- Generate README linters table with column "Fix"
- Provide fix capability in linters docs
- Update Workflows YMLs to create PR or commit to apply fixes
-
Core Archi:
- All linters now have a name different than descriptor_id
- replace calls from os.path.exists to os.path.isfile and os.path.isdir
-
Other:
- fix Phive install
- Upgrade linter versions & help
- Initial version