From cef055fd440c632d8f743786553638feed0584a6 Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Mon, 3 Mar 2025 01:38:44 +0000 Subject: [PATCH] [automation] Auto-update linters version, help and documentation --- .automation/generated/linter-helps.json | 2 +- .automation/generated/linter-versions.json | 2 +- CHANGELOG.md | 1 + README.md | 2 +- docs/all_linters.md | 2 +- docs/descriptors/go_golangci_lint.md | 4 ++-- docs/descriptors/json_eslint_plugin_jsonc.md | 2 +- docs/descriptors/kubernetes_kubescape.md | 2 +- docs/descriptors/makefile_checkmake.md | 2 +- docs/descriptors/markdown_remark_lint.md | 2 +- docs/descriptors/snakemake_snakemake.md | 2 +- docs/descriptors/xml_xmllint.md | 2 +- docs/used-by-stats.md | 19 +++++++++---------- 13 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.automation/generated/linter-helps.json b/.automation/generated/linter-helps.json index 44f109e1fd8..f4eda87e96f 100644 --- a/.automation/generated/linter-helps.json +++ b/.automation/generated/linter-helps.json @@ -3479,7 +3479,7 @@ " --server string Backend discovery server URL", "", "Use \"kubescape [command] --help\" for more information about a command.", - "{\"level\":\"info\",\"ts\":\"2025-03-02T21:34:49Z\",\"msg\":\"Received interrupt signal, exiting...\"}" + "{\"level\":\"info\",\"ts\":\"2025-03-03T01:29:05Z\",\"msg\":\"Received interrupt signal, exiting...\"}" ], "kubeval": [ "Validate a Kubernetes YAML file against the relevant schema", diff --git a/.automation/generated/linter-versions.json b/.automation/generated/linter-versions.json index eab7262e44d..9888c2a234d 100644 --- a/.automation/generated/linter-versions.json +++ b/.automation/generated/linter-versions.json @@ -34,7 +34,7 @@ "gherkin-lint": "0.0.0", "git_diff": "2.47.2", "gitleaks": "8.24.0", - "golangci-lint": "1.64.5", + "golangci-lint": "1.64.6", "goodcheck": "3.1.0", "graphql-schema-linter": "3.0.1", "grype": "0.87.0", diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c411ece36c..5f21f0b418a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -130,6 +130,7 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l - [pmd](https://pmd.github.io/) from 7.10.0 to **7.11.0** on 2025-03-02 - [kubescape](https://github.com/kubescape/kubescape) from 3.0.29 to **3.0.30** on 2025-03-02 - [pyright](https://github.com/Microsoft/pyright) from 1.1.395 to **1.1.396** on 2025-03-02 + - [golangci-lint](https://golangci-lint.run/) from 1.64.5 to **1.64.6** on 2025-03-03 ## [v8.4.2] - 2024-02-02 diff --git a/README.md b/README.md index 5facf844378..9ce24de4900 100644 --- a/README.md +++ b/README.md @@ -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) -[![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=2857&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/blob/main/./docs/used-by-stats.md) +[![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=2856&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/blob/main/./docs/used-by-stats.md) [![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) diff --git a/docs/all_linters.md b/docs/all_linters.md index 36fec7f6a6c..630448f6fb3 100644 --- a/docs/all_linters.md +++ b/docs/all_linters.md @@ -39,7 +39,7 @@ | [**gherkin-lint**](https://github.com/vsiakka/gherkin-lint){target=_blank} | N/A | [ISC](licenses/gherkin-lint.md) | [![GitHub stars](https://img.shields.io/github/stars/vsiakka/gherkin-lint?cacheSeconds=3600)](https://github.com/vsiakka/gherkin-lint){target=_blank} | [GHERKIN](descriptors/gherkin_gherkin_lint.md) | :white_circle: | [Repository](https://github.com/vsiakka/gherkin-lint){target=_blank} | | [**git_diff**](https://github.com/git/git){target=_blank} | 2.47.2 | [LGPL-2.1](licenses/git_diff.md) | [![GitHub stars](https://img.shields.io/github/stars/git/git?cacheSeconds=3600)](https://github.com/git/git){target=_blank} | [REPOSITORY](descriptors/repository_git_diff.md) | | [Repository](https://github.com/git/git){target=_blank} | | [**gitleaks**](https://github.com/gitleaks/gitleaks){target=_blank} | 8.24.0 | [MIT](licenses/gitleaks.md) | [![GitHub stars](https://img.shields.io/github/stars/gitleaks/gitleaks?cacheSeconds=3600)](https://github.com/gitleaks/gitleaks){target=_blank} | [REPOSITORY](descriptors/repository_gitleaks.md) | :white_circle: | [Repository](https://github.com/gitleaks/gitleaks){target=_blank} | -| [**golangci-lint**](https://github.com/golangci/golangci-lint){target=_blank} | 1.64.5 | [GPL-3.0](licenses/golangci-lint.md) | [![GitHub stars](https://img.shields.io/github/stars/golangci/golangci-lint?cacheSeconds=3600)](https://github.com/golangci/golangci-lint){target=_blank} | [GO](descriptors/go_golangci_lint.md) | :white_circle: | [Repository](https://github.com/golangci/golangci-lint){target=_blank} | +| [**golangci-lint**](https://github.com/golangci/golangci-lint){target=_blank} | 1.64.6 | [GPL-3.0](licenses/golangci-lint.md) | [![GitHub stars](https://img.shields.io/github/stars/golangci/golangci-lint?cacheSeconds=3600)](https://github.com/golangci/golangci-lint){target=_blank} | [GO](descriptors/go_golangci_lint.md) | :white_circle: | [Repository](https://github.com/golangci/golangci-lint){target=_blank} | | [**graphql-schema-linter**](https://github.com/cjoudrey/graphql-schema-linter){target=_blank} | 3.0.1 | [MIT](licenses/graphql-schema-linter.md) | [![GitHub stars](https://img.shields.io/github/stars/cjoudrey/graphql-schema-linter?cacheSeconds=3600)](https://github.com/cjoudrey/graphql-schema-linter){target=_blank} | [GRAPHQL](descriptors/graphql_graphql_schema_linter.md) | :hammer_and_wrench: | [Pull Request](https://github.com/cjoudrey/graphql-schema-linter/pull/272){target=_blank} | | [**grype**](https://github.com/anchore/grype){target=_blank} | 0.87.0 | [Apache-2.0](licenses/grype.md) | [![GitHub stars](https://img.shields.io/github/stars/anchore/grype?cacheSeconds=3600)](https://github.com/anchore/grype){target=_blank} | [REPOSITORY](descriptors/repository_grype.md) | :white_circle: | [Repository](https://github.com/anchore/grype){target=_blank} | | [**hadolint**](https://github.com/hadolint/hadolint){target=_blank} | 2.12.0 | [GPL-3.0](licenses/hadolint.md) | [![GitHub stars](https://img.shields.io/github/stars/hadolint/hadolint?cacheSeconds=3600)](https://github.com/hadolint/hadolint){target=_blank} | [DOCKERFILE](descriptors/dockerfile_hadolint.md) | :heart: | [MegaLinter reference](https://github.com/hadolint/hadolint/blob/master/docs/INTEGRATION.md#mega-linter){target=_blank} | diff --git a/docs/descriptors/go_golangci_lint.md b/docs/descriptors/go_golangci_lint.md index 460413ed3f8..46a08311d57 100644 --- a/docs/descriptors/go_golangci_lint.md +++ b/docs/descriptors/go_golangci_lint.md @@ -15,7 +15,7 @@ description: How to use golangci-lint (configure, ignore files, ignore errors, h ## golangci-lint documentation -- Version in MegaLinter: **1.64.5** +- Version in MegaLinter: **1.64.6** - Visit [Official Web Site](https://golangci-lint.run/){target=_blank} - See [How to configure golangci-lint rules](https://golangci-lint.run/usage/configuration/#config-file){target=_blank} - If custom `.golangci.yml` config file isn't found, [.golangci.yml](https://github.com/oxsecurity/megalinter/tree/main/TEMPLATES/.golangci.yml){target=_blank} will be used @@ -130,7 +130,7 @@ Use "golangci-lint [command] --help" for more information about a command. - Dockerfile commands : ```dockerfile # renovate: datasource=github-tags depName=golangci/golangci-lint -ARG GO_GOLANGCI_LINT_VERSION=1.64.5 +ARG GO_GOLANGCI_LINT_VERSION=1.64.6 RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s "v${GO_GOLANGCI_LINT_VERSION}" \ && golangci-lint --version diff --git a/docs/descriptors/json_eslint_plugin_jsonc.md b/docs/descriptors/json_eslint_plugin_jsonc.md index 6d23c7328ba..4a4c5a936d1 100644 --- a/docs/descriptors/json_eslint_plugin_jsonc.md +++ b/docs/descriptors/json_eslint_plugin_jsonc.md @@ -15,7 +15,7 @@ description: How to use eslint-plugin-jsonc (configure, ignore files, ignore err _This linter has been disabled in this version_ -_Disabled reason: Bug in eslint-plugin-jsonc: _ +_Disabled reason: Bug in eslint-plugin-jsonc: https://github.com/ota-meshi/eslint-plugin-jsonc/issues/328_ **eslint-plugin-jsonc** uses eslint to lint [**json**](https://www.json.org/), [**jsonc**](https://github.com/microsoft/node-jsonc-parser) and [**json5**](https://json5.org/) (extended JSON with comments & more). diff --git a/docs/descriptors/kubernetes_kubescape.md b/docs/descriptors/kubernetes_kubescape.md index bb6efac576d..9b771fae906 100644 --- a/docs/descriptors/kubernetes_kubescape.md +++ b/docs/descriptors/kubernetes_kubescape.md @@ -145,7 +145,7 @@ Flags: --server string Backend discovery server URL Use "kubescape [command] --help" for more information about a command. -{"level":"info","ts":"2025-03-02T21:34:49Z","msg":"Received interrupt signal, exiting..."} +{"level":"info","ts":"2025-03-03T01:29:05Z","msg":"Received interrupt signal, exiting..."} ``` ### Installation on mega-linter Docker image diff --git a/docs/descriptors/makefile_checkmake.md b/docs/descriptors/makefile_checkmake.md index f30c91fb268..3fc93f4b0f3 100644 --- a/docs/descriptors/makefile_checkmake.md +++ b/docs/descriptors/makefile_checkmake.md @@ -9,7 +9,7 @@ description: How to use checkmake (configure, ignore files, ignore errors, help _This linter has been disabled in this version_ -_Disabled reason: Security issues: _ +_Disabled reason: Security issues: https://github.com/mrtazz/checkmake/issues/99_ ## checkmake documentation diff --git a/docs/descriptors/markdown_remark_lint.md b/docs/descriptors/markdown_remark_lint.md index 242e0c6d713..120e6e31155 100644 --- a/docs/descriptors/markdown_remark_lint.md +++ b/docs/descriptors/markdown_remark_lint.md @@ -9,7 +9,7 @@ description: How to use remark-lint (configure, ignore files, ignore errors, hel _This linter has been disabled in this version_ -_Disabled reason: Bug in remark-lint: _ +_Disabled reason: Bug in remark-lint: https://github.com/remarkjs/remark-lint/issues/322_ ## remark-lint documentation diff --git a/docs/descriptors/snakemake_snakemake.md b/docs/descriptors/snakemake_snakemake.md index 787f3c3f346..e128c4da630 100644 --- a/docs/descriptors/snakemake_snakemake.md +++ b/docs/descriptors/snakemake_snakemake.md @@ -15,7 +15,7 @@ description: How to use snakemake (configure, ignore files, ignore errors, help _This linter has been disabled in this version_ -_Disabled reason: Dependency datrie not maintained, and issue open in snakemake repo since july - _ +_Disabled reason: Dependency datrie not maintained, and issue open in snakemake repo since july - https://github.com/snakemake/snakemake/issues/2970_ ## snakemake documentation diff --git a/docs/descriptors/xml_xmllint.md b/docs/descriptors/xml_xmllint.md index 92d78938d11..dc82a38dc72 100644 --- a/docs/descriptors/xml_xmllint.md +++ b/docs/descriptors/xml_xmllint.md @@ -25,7 +25,7 @@ To apply file formatting you must set `XML_XMLLINT_CLI_LINT_MODE: file` and `XML | Variable | Description | Default value | |-----------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------| | XML_XMLLINT_AUTOFORMAT | If set to `true`, it will reformat and reindent the output | `false` | -| XML_XMLLINT_INDENT | The number of indentation spaces when `XML_XMLLINT_AUTOFORMAT` is `true` | `` | +| XML_XMLLINT_INDENT | The number of indentation spaces when `XML_XMLLINT_AUTOFORMAT` is `true` | ` ` | | XML_XMLLINT_ARGUMENTS | User custom arguments to add in linter CLI call
Ex: `-s --foo "bar"` | | | XML_XMLLINT_COMMAND_REMOVE_ARGUMENTS | User custom arguments to remove from command line before calling the linter
Ex: `-s --foo "bar"` | | | XML_XMLLINT_FILTER_REGEX_INCLUDE | Custom regex including filter
Ex: `(src\|lib)` | Include every file | diff --git a/docs/used-by-stats.md b/docs/used-by-stats.md index bde6384182e..c41e253ed86 100644 --- a/docs/used-by-stats.md +++ b/docs/used-by-stats.md @@ -1,9 +1,9 @@ # Dependents stats for oxsecurity/megalinter -[![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=2857&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) -[![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by%20(public)&message=2857&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) -[![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by%20(private)&message=-2857&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) -[![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by%20(stars)&message=93174&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) +[![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=2856&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) +[![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by%20(public)&message=2856&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) +[![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by%20(private)&message=-2856&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) +[![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by%20(stars)&message=93002&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) | Repository | Stars | |:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------:| @@ -13,9 +13,9 @@ |   [privacyguides](https://github.com/privacyguides) / [privacyguides.org](https://github.com/privacyguides/privacyguides.org) | 3074 | |   [stepancheg](https://github.com/stepancheg) / [rust-protobuf](https://github.com/stepancheg/rust-protobuf) | 2857 | |   [PowerDNS-Admin](https://github.com/PowerDNS-Admin) / [PowerDNS-Admin](https://github.com/PowerDNS-Admin/PowerDNS-Admin) | 2537 | -|   [ever-co](https://github.com/ever-co) / [ever-gauzy](https://github.com/ever-co/ever-gauzy) | 2486 | +|   [ever-co](https://github.com/ever-co) / [ever-gauzy](https://github.com/ever-co/ever-gauzy) | 2487 | |   [microsoft](https://github.com/microsoft) / [code-with-engineering-playbook](https://github.com/microsoft/code-with-engineering-playbook) | 2372 | -|   [meichthys](https://github.com/meichthys) / [foss_photo_libraries](https://github.com/meichthys/foss_photo_libraries) | 2233 | +|   [meichthys](https://github.com/meichthys) / [foss_photo_libraries](https://github.com/meichthys/foss_photo_libraries) | 2234 | |   [oxsecurity](https://github.com/oxsecurity) / [megalinter](https://github.com/oxsecurity/megalinter) | 2060 | |   [cisagov](https://github.com/cisagov) / [ScubaGear](https://github.com/cisagov/ScubaGear) | 1982 | |   [Romanitho](https://github.com/Romanitho) / [Winget-AutoUpdate](https://github.com/Romanitho/Winget-AutoUpdate) | 1339 | @@ -32,7 +32,7 @@ |   [ruzickap](https://github.com/ruzickap) / [packer-templates](https://github.com/ruzickap/packer-templates) | 449 | |   [leosuncin](https://github.com/leosuncin) / [nest-auth-example](https://github.com/leosuncin/nest-auth-example) | 434 | |   [llaville](https://github.com/llaville) / [php-compatinfo](https://github.com/llaville/php-compatinfo) | 379 | -|   [Boeing](https://github.com/Boeing) / [config-file-validator](https://github.com/Boeing/config-file-validator) | 366 | +|   [Boeing](https://github.com/Boeing) / [config-file-validator](https://github.com/Boeing/config-file-validator) | 367 | |   [OCSInventory-NG](https://github.com/OCSInventory-NG) / [OCSInventory-Server](https://github.com/OCSInventory-NG/OCSInventory-Server) | 365 | |   [brettdottech](https://github.com/brettdottech) / [info-orbs](https://github.com/brettdottech/info-orbs) | 354 | |   [ahmadnassri](https://github.com/ahmadnassri) / [action-dependabot-auto-merge](https://github.com/ahmadnassri/action-dependabot-auto-merge) | 345 | @@ -71,7 +71,7 @@ |   [practicalli](https://github.com/practicalli) / [spacemacs](https://github.com/practicalli/spacemacs) | 114 | |   [unixorn](https://github.com/unixorn) / [ha-mqtt-discoverable](https://github.com/unixorn/ha-mqtt-discoverable) | 113 | |   [philips-software](https://github.com/philips-software) / [amp-devcontainer](https://github.com/philips-software/amp-devcontainer) | 113 | -|   [leosuncin](https://github.com/leosuncin) / [nest-api-example](https://github.com/leosuncin/nest-api-example) | 107 | +|   [leosuncin](https://github.com/leosuncin) / [nest-api-example](https://github.com/leosuncin/nest-api-example) | 108 | |   [Azure](https://github.com/Azure) / [ARO-RP](https://github.com/Azure/ARO-RP) | 105 | |   [ahmadnassri](https://github.com/ahmadnassri) / [docker-vscode-server](https://github.com/ahmadnassri/docker-vscode-server) | 100 | |   [practicalli](https://github.com/practicalli) / [clojure](https://github.com/practicalli/clojure) | 96 | @@ -276,6 +276,7 @@ |   [quiltdata](https://github.com/quiltdata) / [nf-quilt](https://github.com/quiltdata/nf-quilt) | 9 | |   [camaraproject](https://github.com/camaraproject) / [OTPValidation](https://github.com/camaraproject/OTPValidation) | 9 | |   [camaraproject](https://github.com/camaraproject) / [ConnectivityInsights](https://github.com/camaraproject/ConnectivityInsights) | 9 | +|   [scolladon](https://github.com/scolladon) / [apex-mutation-testing](https://github.com/scolladon/apex-mutation-testing) | 9 | |   [CodandoTV](https://github.com/CodandoTV) / [jujubaSVG](https://github.com/CodandoTV/jujubaSVG) | 9 | |   [github](https://github.com/github) / [issue-parser](https://github.com/github/issue-parser) | 9 | |   [issue-ops](https://github.com/issue-ops) / [parser](https://github.com/issue-ops/parser) | 9 | @@ -296,7 +297,6 @@ |   [cdzombak](https://github.com/cdzombak) / [feedbin-auto-archiver](https://github.com/cdzombak/feedbin-auto-archiver) | 8 | |   [axelrindle](https://github.com/axelrindle) / [github-version-checker](https://github.com/axelrindle/github-version-checker) | 8 | |   [ahmadnassri](https://github.com/ahmadnassri) / [action-google-cloud-sql-proxy](https://github.com/ahmadnassri/action-google-cloud-sql-proxy) | 8 | -|   [scolladon](https://github.com/scolladon) / [apex-mutation-testing](https://github.com/scolladon/apex-mutation-testing) | 8 | |   [ahmadnassri](https://github.com/ahmadnassri) / [node-oas-fastify](https://github.com/ahmadnassri/node-oas-fastify) | 8 | |   [ahmadnassri](https://github.com/ahmadnassri) / [template-js-lib](https://github.com/ahmadnassri/template-js-lib) | 8 | |   [roman-sherman](https://github.com/roman-sherman) / [cdn-maintenance-toggle](https://github.com/roman-sherman/cdn-maintenance-toggle) | 8 | @@ -1545,7 +1545,6 @@ |   [domalab](https://github.com/domalab) / [unraid-api](https://github.com/domalab/unraid-api) | 0 | |   [domalab](https://github.com/domalab) / [ha-nemy](https://github.com/domalab/ha-nemy) | 0 | |   [brorlarsnicklas](https://github.com/brorlarsnicklas) / [knipp](https://github.com/brorlarsnicklas/knipp) | 0 | -|   [JacekZubielik](https://github.com/JacekZubielik) / [k3s-autopilot](https://github.com/JacekZubielik/k3s-autopilot) | 0 | |   [kecajtop](https://github.com/kecajtop) / [hassio-addons](https://github.com/kecajtop/hassio-addons) | 0 | |   [ruzickap](https://github.com/ruzickap) / [k8s-multicluster-gitops](https://github.com/ruzickap/k8s-multicluster-gitops) | 0 | |   [sjzhu0v0](https://github.com/sjzhu0v0) / [O2Physics_local](https://github.com/sjzhu0v0/O2Physics_local) | 0 |