Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation (#4644)
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam authored Feb 3, 2025
1 parent 1adeafb commit dc32ce2
Show file tree
Hide file tree
Showing 13 changed files with 56 additions and 55 deletions.
6 changes: 3 additions & 3 deletions .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"black": "25.1.0",
"cfn-lint": "1.23.1",
"checkmake": "0.2.0",
"checkov": "3.2.360",
"checkov": "3.2.362",
"checkstyle": "10.21.2",
"chktex": "1.7.8",
"clang-format": "19.1.4",
Expand Down Expand Up @@ -67,13 +67,13 @@
"phpcs": "3.11.3",
"phplint": "9.5.6",
"phpstan": "2.1.2",
"pmd": "7.9.0",
"pmd": "7.10.0",
"powershell": "7.5.0",
"powershell_formatter": "7.5.0",
"prettier": "3.4.2",
"proselint": "0.14.0",
"protolint": "0.52.0",
"psalm": "Psalm.6.1.0@",
"psalm": "Psalm.6.2.0@",
"puppet-lint": "4.2.4",
"pylint": "3.3.4",
"pyright": "1.1.393",
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- mega-linter-runner

- Linter versions upgrades (N)
- [pmd](https://pmd.github.io/) from 7.9.0 to **7.10.0** on 2025-02-03
- [psalm](https://psalm.dev) from Psalm.6.1.0@ to **Psalm.6.2.0@** on 2025-02-03
- [checkov](https://www.checkov.io/) from 3.2.360 to **3.2.362** on 2025-02-03
<!-- linter-versions-end -->

## [v8.4.2] - 2024-02-02
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=2832&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=2829&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
6 changes: 3 additions & 3 deletions docs/all_linters.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/descriptors/java_pmd.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: How to use pmd (configure, ignore files, ignore errors, help & vers

## pmd documentation

- Version in MegaLinter: **7.9.0**
- Version in MegaLinter: **7.10.0**
- Visit [Official Web Site](https://pmd.github.io/){target=_blank}
- See [How to configure pmd rules](https://docs.pmd-code.org/pmd-doc-6.55.0/pmd_userdocs_configuring_rules.html){target=_blank}
- If custom `java-pmd-ruleset.xml` config file isn't found, [java-pmd-ruleset.xml](https://github.com/oxsecurity/megalinter/tree/main/TEMPLATES/java-pmd-ruleset.xml){target=_blank} will be used
Expand Down Expand Up @@ -108,7 +108,7 @@ ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk
ENV PATH="$JAVA_HOME/bin:${PATH}"
# Linter install
# renovate: datasource=github-tags depName=pmd/pmd extractVersion=^pmd_releases/(?<version>.*)$
ARG PMD_VERSION=7.9.0
ARG PMD_VERSION=7.10.0

RUN wget --quiet https://github.com/pmd/pmd/releases/download/pmd_releases%2F${PMD_VERSION}/pmd-dist-${PMD_VERSION}-bin.zip && \
unzip pmd-dist-${PMD_VERSION}-bin.zip || echo "Error unzipping" && \
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/php_psalm.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ description: How to use psalm (configure, ignore files, ignore errors, help & ve

## psalm documentation

- Version in MegaLinter: **Psalm.6.1.0@**
- Version in MegaLinter: **Psalm.6.2.0@**
- Visit [Official Web Site](https://psalm.dev){target=_blank}
- See [How to configure psalm rules](https://psalm.dev/docs/running_psalm/configuration/){target=_blank}
- If custom `psalm.xml` config file isn't found, [psalm.xml](https://github.com/oxsecurity/megalinter/tree/main/TEMPLATES/psalm.xml){target=_blank} will be used
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/repository_checkov.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/descriptors/salesforce.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ ARG SALESFORCE_CLI_VERSION=2.74.6
# renovate: datasource=npm depName=@salesforce/plugin-packaging
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.9.14
# renovate: datasource=npm depName=sfdx-hardis
ARG SFDX_HARDIS_VERSION=5.17.4
ARG SFDX_HARDIS_VERSION=5.18.0
ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk
ENV PATH="$JAVA_HOME/bin:${PATH}"
RUN sf plugins install @salesforce/plugin-packaging@${SALESFORCE_PLUGIN_PACKAGING_VERSION} \
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/salesforce_lightning_flow_scanner.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ ARG SALESFORCE_CLI_VERSION=2.74.6
# renovate: datasource=npm depName=@salesforce/plugin-packaging
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.9.14
# renovate: datasource=npm depName=sfdx-hardis
ARG SFDX_HARDIS_VERSION=5.17.4
ARG SFDX_HARDIS_VERSION=5.18.0
ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk
ENV PATH="$JAVA_HOME/bin:${PATH}"
RUN sf plugins install @salesforce/plugin-packaging@${SALESFORCE_PLUGIN_PACKAGING_VERSION} \
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/salesforce_sfdx_scanner_apex.md
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ ARG SALESFORCE_CLI_VERSION=2.74.6
# renovate: datasource=npm depName=@salesforce/plugin-packaging
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.9.14
# renovate: datasource=npm depName=sfdx-hardis
ARG SFDX_HARDIS_VERSION=5.17.4
ARG SFDX_HARDIS_VERSION=5.18.0
ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk
ENV PATH="$JAVA_HOME/bin:${PATH}"
RUN sf plugins install @salesforce/plugin-packaging@${SALESFORCE_PLUGIN_PACKAGING_VERSION} \
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/salesforce_sfdx_scanner_aura.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ ARG SALESFORCE_CLI_VERSION=2.74.6
# renovate: datasource=npm depName=@salesforce/plugin-packaging
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.9.14
# renovate: datasource=npm depName=sfdx-hardis
ARG SFDX_HARDIS_VERSION=5.17.4
ARG SFDX_HARDIS_VERSION=5.18.0
ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk
ENV PATH="$JAVA_HOME/bin:${PATH}"
RUN sf plugins install @salesforce/plugin-packaging@${SALESFORCE_PLUGIN_PACKAGING_VERSION} \
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/salesforce_sfdx_scanner_lwc.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ ARG SALESFORCE_CLI_VERSION=2.74.6
# renovate: datasource=npm depName=@salesforce/plugin-packaging
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.9.14
# renovate: datasource=npm depName=sfdx-hardis
ARG SFDX_HARDIS_VERSION=5.17.4
ARG SFDX_HARDIS_VERSION=5.18.0
ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk
ENV PATH="$JAVA_HOME/bin:${PATH}"
RUN sf plugins install @salesforce/plugin-packaging@${SALESFORCE_PLUGIN_PACKAGING_VERSION} \
Expand Down
Loading

0 comments on commit dc32ce2

Please sign in to comment.