Skip to content

Commit

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

* [MegaLinter] Apply linters fixes

* Upgrade powershell

* trvy

* Fix cspell

---------

Co-authored-by: nvuillam <nvuillam@users.noreply.github.com>
Co-authored-by: nvuillam <nicolas.vuillamy@cloudity.com>
  • Loading branch information
3 people authored Mar 9, 2024
1 parent fed8f3e commit 2d0e209
Show file tree
Hide file tree
Showing 47 changed files with 771 additions and 743 deletions.
581 changes: 291 additions & 290 deletions .automation/generated/linter-helps.json

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@
"actionlint": "1.6.27",
"ansible-lint": "24.2.0",
"arm-ttk": "0.0.0",
"bandit": "1.7.7",
"bandit": "1.7.8",
"bash-exec": "5.2.21",
"bicep_linter": "0.25.53",
"black": "24.2.0",
"cfn-lint": "0.85.3",
"cfn-lint": "0.86.0",
"checkmake": "0.2.0",
"checkov": "3.2.28",
"checkov": "3.2.33",
"checkstyle": "10.14.0",
"chktex": "1.7.8",
"clang-format": "17.0.5",
"clippy": "0.1.76",
"clj-kondo": "2024.02.12",
"clj-kondo": "2024.03.05",
"cljstyle": "0.15.0",
"coffeelint": "5.2.11",
"cpplint": "1.6.1",
"csharpier": "0.27.3",
"cspell": "8.5.0",
"cspell": "8.6.0",
"dartanalyzer": "0.0.0",
"devskim": "1.0.30",
"devskim": "1.0.32",
"djlint": "1.34.1",
"dockerfilelint": "1.8.0",
"dotenv-linter": "3.3.0",
Expand Down Expand Up @@ -48,22 +48,22 @@
"kubeconform": "0.6.4",
"kubescape": "2.9.0",
"kubeval": "0.16.1",
"lightning-flow-scanner": "2.17.0",
"lightning-flow-scanner": "2.18.0",
"lintr": "0.0.0",
"luacheck": "1.1.2",
"lychee": "0.14.3",
"markdown-link-check": "3.11.2",
"markdown-table-formatter": "1.5.0",
"markdownlint": "0.39.0",
"misspell": "0.3.4",
"mypy": "1.8.0",
"mypy": "1.9.0",
"npm-groovy-lint": "14.2.3",
"npm-package-json-lint": "7.1.0",
"perlcritic": "1.152",
"php": "7.4.26",
"phpcs": "3.9.0",
"phplint": "9.1.2",
"phpstan": "1.10.59",
"phpstan": "1.10.60",
"pmd": "6.55.0",
"powershell": "7.4.0",
"powershell_formatter": "7.4.0",
Expand All @@ -73,47 +73,47 @@
"psalm": "Psalm.5.22.2@",
"puppet-lint": "4.2.4",
"pylint": "3.1.0",
"pyright": "1.1.352",
"pyright": "1.1.353",
"raku": "2020.10",
"remark-lint": "14.0.2",
"revive": "1.3.7",
"roslynator": "0.8.3.0",
"rst-lint": "1.4.0",
"rstcheck": "6.2.0",
"rstfmt": "0.0.14",
"rubocop": "1.61.0",
"ruff": "0.3.0",
"scalafix": "0.11.1",
"rubocop": "1.62.0",
"ruff": "0.3.1",
"scalafix": "0.12.0",
"scss-lint": "0.60.0",
"secretlint": "8.1.2",
"semgrep": "3.12",
"sfdx-scanner": "2.8.0",
"sfdx-scanner-apex": "3.21.0",
"sfdx-scanner-aura": "3.21.0",
"sfdx-scanner-lwc": "3.21.0",
"shellcheck": "0.9.0",
"shellcheck": "0.10.0",
"shfmt": "3.8.0",
"snakefmt": "0.10.0",
"snakemake": "8.5.3",
"snakemake": "8.5.5",
"spectral": "6.11.0",
"sql-lint": "1.0.0",
"sqlfluff": "2.3.5",
"standard": "17.1.0",
"stylelint": "16.2.1",
"swiftlint": "0.54.0",
"syft": "1.0.0",
"syft": "1.0.1",
"tekton-lint": "1.0.0",
"terraform-fmt": "1.7.4",
"terragrunt": "0.55.9",
"terrascan": "1.18.11",
"tflint": "0.50.3",
"trivy": "0.49.1",
"trivy-sbom": "0.49.1",
"trufflehog": "3.68.4",
"trufflehog": "3.69.0",
"ts-standard": "12.0.2",
"tsqllint": "1.15.3.0",
"v8r": "3.0.0",
"vale": "3.2.1",
"vale": "3.2.2",
"xmllint": "21107",
"yamllint": "1.35.1"
}
1 change: 1 addition & 0 deletions .trivyignore
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ CVE-2023-52425
CVE-2024-0056
CVE-2024-0057
CVE-2024-21626
CVE-2024-21907
CVE-2024-23651
CVE-2024-23652
CVE-2024-23653
Expand Down
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,24 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [terraform-fmt](https://developer.hashicorp.com/terraform/cli/commands/fmt) from 1.7.3 to **1.7.4** on 2024-03-01
- [terragrunt](https://terragrunt.gruntwork.io) from 0.55.2 to **0.55.9** on 2024-03-01
- [trufflehog](https://github.com/trufflesecurity/trufflehog) from 3.68.3 to **3.68.4** on 2024-03-02
- [shellcheck](https://github.com/koalaman/shellcheck) from 0.9.0 to **0.10.0** on 2024-03-08
- [clj-kondo](https://github.com/borkdude/clj-kondo) from 2024.02.12 to **2024.03.05** on 2024-03-08
- [cfn-lint](https://github.com/aws-cloudformation/cfn-lint) from 0.85.3 to **0.86.0** on 2024-03-08
- [phpstan](https://phpstan.org/) from 1.10.59 to **1.10.60** on 2024-03-08
- [bandit](https://bandit.readthedocs.io/en/latest/) from 1.7.7 to **1.7.8** on 2024-03-08
- [mypy](https://mypy.readthedocs.io/en/stable/) from 1.8.0 to **1.9.0** on 2024-03-08
- [pyright](https://github.com/Microsoft/pyright) from 1.1.352 to **1.1.353** on 2024-03-08
- [ruff](https://github.com/astral-sh/ruff) from 0.3.0 to **0.3.1** on 2024-03-08
- [checkov](https://www.checkov.io/) from 3.2.28 to **3.2.33** on 2024-03-08
- [devskim](https://github.com/microsoft/DevSkim) from 1.0.30 to **1.0.32** on 2024-03-08
- [syft](https://github.com/anchore/syft) from 1.0.0 to **1.0.1** on 2024-03-08
- [trufflehog](https://github.com/trufflesecurity/trufflehog) from 3.68.4 to **3.69.0** on 2024-03-08
- [rubocop](https://rubocop.org/) from 1.61.0 to **1.62.0** on 2024-03-08
- [lightning-flow-scanner](https://github.com/Lightning-Flow-Scanner) from 2.17.0 to **2.18.0** on 2024-03-08
- [scalafix](https://scalacenter.github.io/scalafix/) from 0.11.1 to **0.12.0** on 2024-03-08
- [snakemake](https://snakemake.readthedocs.io/en/stable/) from 8.5.3 to **8.5.5** on 2024-03-08
- [cspell](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell) from 8.5.0 to **8.6.0** on 2024-03-08
- [vale](https://vale.sh/) from 3.2.1 to **3.2.2** on 2024-03-08
<!-- linter-versions-end -->

## [v7.9.0] - 2024-02-11
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ COPY --link --from=terragrunt /bin/terraform /usr/bin/
#OTHER__START
RUN rc-update add docker boot && rc-service docker start || true \
# ARM installation
&& curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.4.0/powershell-7.4.0-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
&& curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell-7.4.1-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
&& mkdir -p /opt/microsoft/powershell/7 \
&& tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/7 \
&& chmod +x /opt/microsoft/powershell/7/pwsh \
Expand Down Expand Up @@ -462,7 +462,7 @@ RUN --mount=type=secret,id=GITHUB_TOKEN GITHUB_AUTH_TOKEN="$(cat /run/secrets/GI

# POWERSHELL installation
# Next line commented because already managed by another linter
# RUN curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.4.0/powershell-7.4.0-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
# RUN curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell-7.4.1-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
# && mkdir -p /opt/microsoft/powershell/7 \
# && tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/7 \
# && chmod +x /opt/microsoft/powershell/7/pwsh \
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=2370&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=2378&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 2d0e209

Please sign in to comment.