Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation (#3559)
Browse files Browse the repository at this point in the history
* [automation] Auto-update linters version, help and documentation

* [MegaLinter] Apply linters fixes

* Downgrade lightning flow scanner

Until bug is fixed: https://github.com/Lightning-Flow-Scanner/lightning-flow-scanner-vsce/issues/100

* Downgrade ansible-lint to v24.2.3

Related to ansible/ansible-lint#4177

* fix pylint issues

* [MegaLinter] Apply linters fixes

---------

Co-authored-by: nvuillam <nvuillam@users.noreply.github.com>
  • Loading branch information
nvuillam and nvuillam authored May 19, 2024
1 parent 7ff56aa commit c84ddeb
Show file tree
Hide file tree
Showing 49 changed files with 832 additions and 798 deletions.
659 changes: 332 additions & 327 deletions .automation/generated/linter-helps.json

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"actionlint": "1.7.0",
"ansible-lint": "24.2.3",
"ansible-lint": "24.5.0",
"arm-ttk": "0.0.0",
"bandit": "1.7.8",
"bash-exec": "5.2.21",
"bicep_linter": "0.27.1",
"black": "24.4.2",
"cfn-lint": "0.87.2",
"cfn-lint": "0.87.3",
"checkmake": "0.2.0",
"checkov": "3.2.91",
"checkov": "3.2.95",
"checkstyle": "10.16.0",
"chktex": "1.7.8",
"clang-format": "17.0.5",
Expand All @@ -25,14 +25,14 @@
"djlint": "1.34.1",
"dockerfilelint": "1.8.0",
"dotenv-linter": "3.3.0",
"dotnet-format": "8.0.104",
"dotnet-format": "8.0.105",
"dustilock": "1.2.0",
"editorconfig-checker": "3.0.1",
"eslint": "8.57.0",
"eslint-plugin-jsonc": "2.15.1",
"flake8": "7.0.0",
"gherkin-lint": "0.0.0",
"git_diff": "2.43.0",
"git_diff": "2.43.4",
"gitleaks": "8.18.2",
"golangci-lint": "1.58.1",
"goodcheck": "3.1.0",
Expand All @@ -49,7 +49,7 @@
"kubeconform": "0.6.6",
"kubescape": "2.9.0",
"kubeval": "0.16.1",
"lightning-flow-scanner": "2.24.0",
"lightning-flow-scanner": "2.25.0",
"lintr": "0.0.0",
"luacheck": "1.1.2",
"lychee": "0.15.1",
Expand All @@ -63,8 +63,8 @@
"perlcritic": "1.152",
"php": "7.4.26",
"phpcs": "3.9.2",
"phplint": "9.2.0",
"phpstan": "1.11.0",
"phplint": "9.3.1",
"phpstan": "1.11.1",
"pmd": "7.1.0",
"powershell": "7.4.2",
"powershell_formatter": "7.4.2",
Expand All @@ -73,8 +73,8 @@
"protolint": "0.49.7",
"psalm": "Psalm.5.24.0@",
"puppet-lint": "4.2.4",
"pylint": "3.1.1",
"pyright": "1.1.362",
"pylint": "3.2.1",
"pyright": "1.1.363",
"raku": "2020.10",
"remark-lint": "14.0.2",
"revive": "1.3.7",
Expand All @@ -95,7 +95,7 @@
"shellcheck": "0.10.0",
"shfmt": "3.8.0",
"snakefmt": "0.10.2",
"snakemake": "8.11.4",
"snakemake": "8.11.6",
"spectral": "6.11.1",
"sql-lint": "1.0.0",
"sqlfluff": "3.0.6",
Expand All @@ -105,16 +105,16 @@
"syft": "1.4.1",
"tekton-lint": "1.0.2",
"terraform-fmt": "1.8.3",
"terragrunt": "0.58.4",
"terragrunt": "0.58.5",
"terrascan": "1.18.11",
"tflint": "0.51.0",
"trivy": "0.51.1",
"trivy-sbom": "0.51.1",
"trufflehog": "3.75.1",
"trufflehog": "3.76.3",
"ts-standard": "12.0.2",
"tsqllint": "1.15.3.0",
"v8r": "3.0.0",
"vale": "3.4.2",
"xmllint": "21107",
"xmllint": "21108",
"yamllint": "1.35.1"
}
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,20 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [phpstan](https://phpstan.org/) from 1.10.67 to **1.11.0** on 2024-05-13
- [pylint](https://pylint.readthedocs.io) from 3.1.0 to **3.1.1** on 2024-05-13
- [lychee](https://lychee.cli.rs) from 0.15.0 to **0.15.1** on 2024-05-13
- [ansible-lint](https://ansible-lint.readthedocs.io/) from 24.2.3 to **24.5.0** on 2024-05-18
- [cfn-lint](https://github.com/aws-cloudformation/cfn-lint) from 0.87.2 to **0.87.3** on 2024-05-18
- [dotnet-format](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-format) from 8.0.104 to **8.0.105** on 2024-05-18
- [phplint](https://github.com/overtrue/phplint) from 9.2.0 to **9.3.1** on 2024-05-18
- [phpstan](https://phpstan.org/) from 1.11.0 to **1.11.1** on 2024-05-18
- [pylint](https://pylint.readthedocs.io) from 3.1.1 to **3.2.1** on 2024-05-18
- [pyright](https://github.com/Microsoft/pyright) from 1.1.362 to **1.1.363** on 2024-05-18
- [checkov](https://www.checkov.io/) from 3.2.91 to **3.2.95** on 2024-05-18
- [git_diff](https://git-scm.com) from 2.43.0 to **2.43.4** on 2024-05-18
- [trufflehog](https://github.com/trufflesecurity/trufflehog) from 3.75.1 to **3.76.3** on 2024-05-18
- [lightning-flow-scanner](https://github.com/Lightning-Flow-Scanner) from 2.24.0 to **2.25.0** on 2024-05-18
- [snakemake](https://snakemake.readthedocs.io/en/stable/) from 8.11.4 to **8.11.6** on 2024-05-18
- [terragrunt](https://terragrunt.gruntwork.io) from 0.58.4 to **0.58.5** on 2024-05-18
- [xmllint](https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home) from 21107 to **21108** on 2024-05-18
<!-- linter-versions-end -->

## [v7.11.1] - 2024-04-23
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ ENV PATH="/root/.cargo/bin:${PATH}"

#PIPVENV__START
RUN PYTHONDONTWRITEBYTECODE=1 pip3 install --no-cache-dir --upgrade pip virtualenv \
&& mkdir -p "/venvs/ansible-lint" && cd "/venvs/ansible-lint" && virtualenv . && source bin/activate && PYTHONDONTWRITEBYTECODE=1 pip3 install --no-cache-dir ansible-lint && deactivate && cd ./../.. \
&& mkdir -p "/venvs/ansible-lint" && cd "/venvs/ansible-lint" && virtualenv . && source bin/activate && PYTHONDONTWRITEBYTECODE=1 pip3 install --no-cache-dir ansible-lint=='24.2.3' && deactivate && cd ./../.. \
&& mkdir -p "/venvs/cpplint" && cd "/venvs/cpplint" && virtualenv . && source bin/activate && PYTHONDONTWRITEBYTECODE=1 pip3 install --no-cache-dir cpplint && deactivate && cd ./../.. \
&& mkdir -p "/venvs/cfn-lint" && cd "/venvs/cfn-lint" && virtualenv . && source bin/activate && PYTHONDONTWRITEBYTECODE=1 pip3 install --no-cache-dir cfn-lint && deactivate && cd ./../.. \
&& mkdir -p "/venvs/djlint" && cd "/venvs/djlint" && virtualenv . && source bin/activate && PYTHONDONTWRITEBYTECODE=1 pip3 install --no-cache-dir djlint && deactivate && cd ./../.. \
Expand Down Expand Up @@ -727,7 +727,7 @@ RUN curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh |
# && rm -rf /root/.npm/_cacache

# lightning-flow-scanner installation
&& echo y|sf plugins install lightning-flow-scanner \
&& echo y|sf plugins install lightning-flow-scanner@2.24.0 \
&& npm cache clean --force || true \
&& rm -rf /root/.npm/_cacache \

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
[![MegaLinter](https://github.com/oxsecurity/megalinter/workflows/MegaLinter/badge.svg?branch=main)](https://github.com/oxsecurity/megalinter/actions?query=workflow%3AMegaLinter+branch%3Amain)
[![codecov](https://codecov.io/gh/oxsecurity/megalinter/branch/main/graph/badge.svg)](https://codecov.io/gh/oxsecurity/megalinter)
<!-- gh-dependents-info-used-by-start -->
[![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=2474&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/blob/main/./docs/used-by-stats.md)<!-- gh-dependents-info-used-by-end -->
[![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=2482&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/blob/main/./docs/used-by-stats.md)<!-- gh-dependents-info-used-by-end -->
[![Secured with Trivy](https://img.shields.io/badge/Trivy-secured-green?logo=docker)](https://github.com/aquasecurity/trivy)
[![GitHub contributors](https://img.shields.io/github/contributors/oxsecurity/megalinter.svg)](https://github.com/oxsecurity/megalinter/graphs/contributors/)
[![GitHub Sponsors](https://img.shields.io/github/sponsors/nvuillam)](https://github.com/sponsors/nvuillam)
Expand Down
Loading

0 comments on commit c84ddeb

Please sign in to comment.