Skip to content

Commit

Permalink
Release MegaLinter v6.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam committed Aug 28, 2022
1 parent 5b1a8da commit 67921c0
Show file tree
Hide file tree
Showing 141 changed files with 2,086 additions and 2,084 deletions.
122 changes: 61 additions & 61 deletions .automation/generated/megalinter-users.json

Large diffs are not rendered by default.

65 changes: 33 additions & 32 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,43 +8,44 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-linter.yml file, or with `oxsecurity/megalinter:beta` docker image

- Add [PMD](https://pmd.github.io/latest/) java linter
- Fix: Properly match `files_sub_directory` as a prefix instead of partial string matching ([#1765](https://github.com/oxsecurity/megalinter/pull/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
- 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.
- Azure Pipelines integration enhancements
- Linter versions upgrades
<!-- linter-versions-end -->

## [v6.7.0] - 2022-08-28

- Linters
- Add [PMD](https://pmd.github.io/latest/) java linter

- [Azure Pipelines](https://azure.microsoft.com/en-us/services/devops/pipelines/) integration enhancements
- Update [installation instructions](https://oxsecurity.github.io/megalinter/latest/installation/#azure-pipelines)
- 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](https://oxsecurity.github.io/megalinter/latest/reporters/AzureCommentReporter/))

- 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](https://github.com/oxsecurity/megalinter/pull/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
- [checkov](https://www.checkov.io/) from 2.1.139 to **2.1.142** on 2022-08-22
- [rubocop](https://rubocop.org/) from 1.35.0 to **1.35.1** on 2022-08-22
- [djlint](https://djlint.com/) from 1.11.0 to **1.11.1** on 2022-08-22
- [checkov](https://www.checkov.io/) from 2.1.142 to **2.1.145** on 2022-08-22
- [checkov](https://www.checkov.io/) from 2.1.145 to **2.1.148** on 2022-08-23
- [checkov](https://www.checkov.io/) from 2.1.148 to **2.1.149** on 2022-08-24
- [tflint](https://github.com/terraform-linters/tflint) from 0.35.0 to **0.39.3** on 2022-08-24
- [golangci-lint](https://golangci-lint.run/) from 1.48.0 to **1.49.0** on 2022-08-24
- [djlint](https://djlint.com/) from 1.11.1 to **1.12.0** on 2022-08-24
- [luacheck](https://luacheck.readthedocs.io) from 0.26.1 to **1.0.0** on 2022-08-24
- [checkov](https://www.checkov.io/) from 2.1.149 to **2.1.156** on 2022-08-24
- [secretlint](https://github.com/secretlint/secretlint) from 5.2.3 to **5.2.4** on 2022-08-24
- [cfn-lint](https://github.com/aws-cloudformation/cfn-lint) from 0.62.0 to **0.63.0** on 2022-08-25
- [terraform-fmt](https://www.terraform.io/docs/cli/commands/fmt.html) from 1.2.7 to **1.2.8** on 2022-08-25
- [checkov](https://www.checkov.io/) from 2.1.156 to **2.1.157** on 2022-08-25
- [checkov](https://www.checkov.io/) from 2.1.157 to **2.1.159** on 2022-08-25
- [snakemake](https://snakemake.readthedocs.io/en/stable/) from 7.12.1 to **7.13.0** on 2022-08-25
- [eslint](https://eslint.org) from 8.22.0 to **8.23.0** on 2022-08-27
- [pylint](https://www.pylint.org) from 2.14.5 to **2.15.0** on 2022-08-27
- [checkov](https://www.checkov.io/) from 2.1.159 to **2.1.160** on 2022-08-27
- [cspell](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell) from 6.8.0 to **6.8.1** on 2022-08-27
- [terragrunt](https://terragrunt.gruntwork.io) from 0.38.7 to **0.38.8** on 2022-08-27
- [gitleaks](https://github.com/zricethezav/gitleaks) from 8.11.0 to **8.11.2** on 2022-08-27
<!-- linter-versions-end -->
- [cfn-lint](https://github.com/aws-cloudformation/cfn-lint) from 0.62.0 to **0.63.0**
- [checkov](https://www.checkov.io/) from 2.1.139 to **2.1.160**
- [cspell](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell) from 6.8.0 to **6.8.1**
- [djlint](https://djlint.com/) from 1.11.0 to **1.12.0**
- [eslint](https://eslint.org) from 8.22.0 to **8.23.0**
- [gitleaks](https://github.com/zricethezav/gitleaks) from 8.11.0 to **8.11.2**
- [golangci-lint](https://golangci-lint.run/) from 1.48.0 to **1.49.0**
- [luacheck](https://luacheck.readthedocs.io) from 0.26.1 to **1.0.0**
- [pylint](https://www.pylint.org) from 2.14.5 to **2.15.0**
- [rubocop](https://rubocop.org/) from 1.35.0 to **1.35.1**
- [secretlint](https://github.com/secretlint/secretlint) from 5.2.3 to **5.2.4**
- [snakemake](https://snakemake.readthedocs.io/en/stable/) from 7.12.1 to **7.13.0**
- [terraform-fmt](https://www.terraform.io/docs/cli/commands/fmt.html) from 1.2.7 to **1.2.8**
- [terragrunt](https://terragrunt.gruntwork.io) from 0.38.7 to **0.38.8**
- [tflint](https://github.com/terraform-linters/tflint) from 0.35.0 to **0.39.3**

## [v6.6.0] - 2022-08-21

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ _The following table does not display docker pulls from [MegaLinter v4 & v5 imag
<!-- flavors-table-start -->
| <!-- --> | Flavor | Description | Embedded linters | Info |
|:--------------------------------------------------------------------------------------------------------------------------------------------------------:|:---------------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------|:----------------:|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
| <img src="https://github.com/oxsecurity/megalinter/raw/main/docs/assets/images/mega-linter-square.png" alt="" height="32px" class="megalinter-icon"></a> | [all](https://oxsecurity.github.io/megalinter/beta/supported-linters/) | Default MegaLinter Flavor | 106 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/oxsecurity/megalinter/v6) ![Docker Pulls](https://img.shields.io/docker/pulls/oxsecurity/megalinter) |
| <img src="https://github.com/oxsecurity/megalinter/raw/main/docs/assets/images/mega-linter-square.png" alt="" height="32px" class="megalinter-icon"></a> | [all](https://oxsecurity.github.io/megalinter/6.7.0/supported-linters/) | Default MegaLinter Flavor | 106 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/oxsecurity/megalinter/v6) ![Docker Pulls](https://img.shields.io/docker/pulls/oxsecurity/megalinter) |
| <img src="https://github.com/oxsecurity/megalinter/raw/main/docs/assets/icons/ci_light.ico" alt="" height="32px" class="megalinter-icon"></a> | [ci_light](https://github.com/oxsecurity/megalinter/tree/main/docs/flavors/ci_light.md#readme) | Optimized for CI items (Dockerfile, Jenkinsfile, JSON/YAML schemas,XML | 20 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/oxsecurity/megalinter-ci_light/v6) ![Docker Pulls](https://img.shields.io/docker/pulls/oxsecurity/megalinter-ci_light) |
| <img src="https://github.com/oxsecurity/megalinter/raw/main/docs/assets/icons/documentation.ico" alt="" height="32px" class="megalinter-icon"></a> | [documentation](https://github.com/oxsecurity/megalinter/tree/main/docs/flavors/documentation.md#readme) | MegaLinter for documentation projects | 45 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/oxsecurity/megalinter-documentation/v6) ![Docker Pulls](https://img.shields.io/docker/pulls/oxsecurity/megalinter-documentation) |
| <img src="https://github.com/oxsecurity/megalinter/raw/main/docs/assets/icons/dotnet.ico" alt="" height="32px" class="megalinter-icon"></a> | [dotnet](https://github.com/oxsecurity/megalinter/tree/main/docs/flavors/dotnet.md#readme) | Optimized for C, C++, C# or VB based projects | 54 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/oxsecurity/megalinter-dotnet/v6) ![Docker Pulls](https://img.shields.io/docker/pulls/oxsecurity/megalinter-dotnet) |
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ outputs:
description: "0 if no source file has been updated, 1 if source files has been updated"
runs:
using: "docker"
image: "docker://oxsecurity/megalinter:v6.6.0"
image: "docker://oxsecurity/megalinter:v6.7.0"
args:
- "-v"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
1 change: 1 addition & 0 deletions docs/articles.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
- [How to linter basic things like trailing whitespaces and newlines](https://nklya.medium.com/hot-to-linter-basic-things-like-trailing-whitespaces-and-newlines-7b40da8f688d){target=_blank}, by [Nicolai Antiferov](https://nklya.medium.com/){target=_blank}
- [How to apply security at the source using GitOps](https://dev.to/minwi/how-to-apply-security-at-the-source-using-gitops-21bk){target=_blank}, by [Edu Minguez](https://dev.to/minwi){target=_blank}
- [Linting - What is all the fluff about?](https://rse.shef.ac.uk/blog/2022-04-19-linting/), by [Neil Shepard](https://www.linkedin.com/in/neil-shephard-a43a83211/?originalSubdomain=uk), University Of Sheffield
- [Talk about the Kotlin plugins Kover, Ktlint and Detekt. Made for the AmsterdamJUG meetup.](https://www.slideshare.net/SimonedeGijt/pluginandplayv4amsterdamjugpptx-251796070), by [Simone de Gijt](https://github.com/SimonedeGijt)

<!-- articles-section-end -->
Loading

0 comments on commit 67921c0

Please sign in to comment.