Skip to content

Commit

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

* [MegaLinter] Apply linters fixes

---------

Co-authored-by: nvuillam <nvuillam@users.noreply.github.com>
  • Loading branch information
nvuillam and nvuillam authored Dec 30, 2024
1 parent 7c1da83 commit 81df284
Show file tree
Hide file tree
Showing 15 changed files with 72 additions and 74 deletions.
4 changes: 2 additions & 2 deletions .automation/generated/linter-helps.json

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

6 changes: 3 additions & 3 deletions .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
"cfn-lint": "1.22.2",
"checkmake": "0.2.0",
"checkov": "3.2.344",
"checkstyle": "10.21.0",
"checkstyle": "10.21.1",
"chktex": "1.7.8",
"clang-format": "17.0.6",
"clippy": "0.1.83",
"clj-kondo": "2024.11.14",
"cljstyle": "0.17.642",
"coffeelint": "5.2.11",
"cpplint": "2.0.0",
"csharpier": "0.30.3",
"csharpier": "0.30.4",
"cspell": "8.17.1",
"dartanalyzer": "0.0.0",
"detekt": "1.23.7",
Expand Down Expand Up @@ -67,7 +67,7 @@
"phpcs": "3.11.2",
"phplint": "9.5.5",
"phpstan": "2.0.4",
"pmd": "7.8.0",
"pmd": "7.9.0",
"powershell": "7.4.2",
"powershell_formatter": "7.4.2",
"prettier": "3.4.2",
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [snakemake](https://snakemake.readthedocs.io/en/stable/) from 8.25.5 to **8.26.0** on 2024-12-24
- [terraform-fmt](https://developer.hashicorp.com/terraform/cli/commands/fmt) from 1.10.2 to **1.10.3** on 2024-12-24
- [terragrunt](https://terragrunt.gruntwork.io) from 0.69.13 to **0.71.1** on 2024-12-24
- [csharpier](https://csharpier.com/) from 0.30.3 to **0.30.4** on 2024-12-30
- [checkstyle](https://checkstyle.org/) from 10.21.0 to **10.21.1** on 2024-12-30
- [pmd](https://pmd.github.io/) from 7.8.0 to **7.9.0** on 2024-12-30
<!-- linter-versions-end -->

## [v8.3.0] - 2024-11-23
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=2821&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=2816&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.

2 changes: 1 addition & 1 deletion docs/descriptors/csharp_csharpier.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: How to use csharpier (configure, ignore files, ignore errors, help

## csharpier documentation

- Version in MegaLinter: **0.30.3**
- Version in MegaLinter: **0.30.4**
- Visit [Official Web Site](https://csharpier.com/){target=_blank}
- See [How to configure csharpier rules](https://csharpier.com/docs/Configuration){target=_blank}
- See [How to ignore files and directories with csharpier](https://csharpier.com/docs/Ignore){target=_blank}
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/java_checkstyle.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ description: How to use checkstyle (configure, ignore files, ignore errors, help

## checkstyle documentation

- Version in MegaLinter: **10.21.0**
- Version in MegaLinter: **10.21.1**
- Visit [Official Web Site](https://checkstyle.org/){target=_blank}
- See [How to configure checkstyle rules](https://checkstyle.org/config.html){target=_blank}
- If custom `sun_checks.xml` config file isn't found, [sun_checks.xml](https://github.com/oxsecurity/megalinter/tree/main/TEMPLATES/sun_checks.xml){target=_blank} will be used
Expand Down
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.8.0**
- Version in MegaLinter: **7.9.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.8.0
ARG PMD_VERSION=7.9.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/salesforce.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ description: sfdx-scanner-apex, sfdx-scanner-aura, sfdx-scanner-lwc, lightning-f
# renovate: datasource=npm depName=@salesforce/cli
ARG SALESFORCE_CLI_VERSION=2.70.7
# renovate: datasource=npm depName=@salesforce/plugin-packaging
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.9.7
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.9.9
# renovate: datasource=npm depName=sfdx-hardis
ARG SFDX_HARDIS_VERSION=5.10.1
ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk
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 @@ -124,7 +124,7 @@ GLOBAL FLAGS
# renovate: datasource=npm depName=@salesforce/cli
ARG SALESFORCE_CLI_VERSION=2.70.7
# renovate: datasource=npm depName=@salesforce/plugin-packaging
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.9.7
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.9.9
# renovate: datasource=npm depName=sfdx-hardis
ARG SFDX_HARDIS_VERSION=5.10.1
ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk
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 @@ -374,7 +374,7 @@ Warning: We're continually improving Salesforce Code Analyzer. Tell us what you
# renovate: datasource=npm depName=@salesforce/cli
ARG SALESFORCE_CLI_VERSION=2.70.7
# renovate: datasource=npm depName=@salesforce/plugin-packaging
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.9.7
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.9.9
# renovate: datasource=npm depName=sfdx-hardis
ARG SFDX_HARDIS_VERSION=5.10.1
ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk
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 @@ -370,7 +370,7 @@ Warning: We're continually improving Salesforce Code Analyzer. Tell us what you
# renovate: datasource=npm depName=@salesforce/cli
ARG SALESFORCE_CLI_VERSION=2.70.7
# renovate: datasource=npm depName=@salesforce/plugin-packaging
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.9.7
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.9.9
# renovate: datasource=npm depName=sfdx-hardis
ARG SFDX_HARDIS_VERSION=5.10.1
ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk
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 @@ -370,7 +370,7 @@ Warning: We're continually improving Salesforce Code Analyzer. Tell us what you
# renovate: datasource=npm depName=@salesforce/cli
ARG SALESFORCE_CLI_VERSION=2.70.7
# renovate: datasource=npm depName=@salesforce/plugin-packaging
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.9.7
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.9.9
# renovate: datasource=npm depName=sfdx-hardis
ARG SFDX_HARDIS_VERSION=5.10.1
ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk
Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/snakemake_snakemake.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ usage: snakemake [-h] [--dry-run] [--profile PROFILE]
[--scheduler-solver-path SCHEDULER_SOLVER_PATH]
[--deploy-sources QUERY CHECKSUM]
[--target-jobs TARGET_JOBS [TARGET_JOBS ...]]
[--mode {default,subprocess,remote}]
[--mode {subprocess,default,remote}]
[--report-html-path VALUE]
[--report-html-stylesheet-path VALUE]
[targets ...]
Expand Down Expand Up @@ -1005,7 +1005,7 @@ INTERNAL:
--target-jobs TARGET_JOBS [TARGET_JOBS ...]
Internal use only: Target particular jobs by
RULE:WILDCARD1=VALUE,WILDCARD2=VALUE,...
--mode {default,subprocess,remote}
--mode {subprocess,default,remote}
Internal use only: Set execution mode of Snakemake.
(default: default)

Expand Down
Loading

0 comments on commit 81df284

Please sign in to comment.