Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation (#3740)
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam authored Jul 4, 2024
1 parent 7ed4677 commit 1a904bb
Show file tree
Hide file tree
Showing 17 changed files with 205 additions and 257 deletions.
181 changes: 76 additions & 105 deletions .automation/generated/linter-helps.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"black": "24.4.2",
"cfn-lint": "1.5.0",
"checkmake": "0.2.0",
"checkov": "3.2.171",
"checkov": "3.2.174",
"checkstyle": "10.17.0",
"chktex": "1.7.8",
"clang-format": "17.0.6",
Expand All @@ -27,7 +27,7 @@
"dotenv-linter": "3.3.0",
"dotnet-format": "8.0.106",
"dustilock": "1.2.0",
"editorconfig-checker": "3.0.1",
"editorconfig-checker": "3.0.3",
"eslint": "8.57.0",
"eslint-plugin-jsonc": "2.15.1",
"flake8": "7.1.0",
Expand All @@ -44,7 +44,7 @@
"isort": "5.13.2",
"jscpd": "4.0.5",
"jsonlint": "14.0.3",
"kics": "2.1.0",
"kics": "2.1.1",
"ktlint": "1.3.1",
"kubeconform": "0.6.6",
"kubescape": "2.9.0",
Expand Down Expand Up @@ -97,7 +97,7 @@
"shellcheck": "0.10.0",
"shfmt": "3.8.0",
"snakefmt": "0.10.2",
"snakemake": "8.14.0",
"snakemake": "8.15.1",
"spectral": "6.11.1",
"sql-lint": "1.0.0",
"sqlfluff": "3.1.0",
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [grype](https://github.com/anchore/grype) from 0.79.1 to **0.79.2** on 2024-07-03
- [cspell](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell) from 8.9.1 to **8.10.0** on 2024-07-03
- [sqlfluff](https://www.sqlfluff.com/) from 3.0.7 to **3.1.0** on 2024-07-03
- [editorconfig-checker](https://editorconfig-checker.github.io/) from 3.0.1 to **3.0.3** on 2024-07-04
- [checkov](https://www.checkov.io/) from 3.2.171 to **3.2.174** on 2024-07-04
- [kics](https://www.kics.io) from 2.1.0 to **2.1.1** on 2024-07-04
- [snakemake](https://snakemake.readthedocs.io/en/stable/) from 8.14.0 to **8.15.1** on 2024-07-04
<!-- linter-versions-end -->

## [v7.12.0] - 2024-06-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=2501&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=2503&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
8 changes: 4 additions & 4 deletions docs/all_linters.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/descriptors/editorconfig_editorconfig_checker.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ description: How to use editorconfig-checker (configure, ignore files, ignore er

## editorconfig-checker documentation

- Version in MegaLinter: **3.0.1**
- Version in MegaLinter: **3.0.3**
- Visit [Official Web Site](https://editorconfig-checker.github.io/){target=_blank}
- See [How to configure editorconfig-checker rules](https://github.com/editorconfig-checker/editorconfig-checker#configuration){target=_blank}
- See [How to disable editorconfig-checker rules in files](https://github.com/editorconfig-checker/editorconfig-checker#excluding){target=_blank}
Expand Down Expand Up @@ -137,7 +137,7 @@ USAGE:
- Dockerfile commands :
```dockerfile
# renovate: datasource=docker depName=mstruebing/editorconfig-checker
ARG EDITORCONFIG_EDITORCONFIG_CHECKER_VERSION=v3.0.1
ARG EDITORCONFIG_EDITORCONFIG_CHECKER_VERSION=v3.0.3
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
COPY --link --from=editorconfig-checker /usr/bin/ec /usr/bin/editorconfig-checker
```
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/kubernetes_kubescape.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Available Commands:
completion Generate autocompletion script
config Handle cached configurations
delete Delete configurations in Kubescape SaaS version
download Download artifacts,attack-tracks,controls-inputs,exceptions,control,framework
download Download controls-inputs,exceptions,control,framework,artifacts,attack-tracks
fix Fix misconfiguration in files
help Help about any command
list List frameworks/controls will list the supported frameworks and controls
Expand Down
6 changes: 3 additions & 3 deletions docs/descriptors/repository_checkov.md

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

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

## kics documentation

- Version in MegaLinter: **2.1.0**
- Version in MegaLinter: **2.1.1**
- Visit [Official Web Site](https://www.kics.io){target=_blank}
- See [How to configure kics rules](https://docs.kics.io/latest/configuration-file/){target=_blank}
- See [How to disable kics rules in files](https://docs.kics.io/latest/running-kics/#using_commands_on_scanned_files_as_comments){target=_blank}
Expand Down Expand Up @@ -110,7 +110,7 @@ Use "kics [command] --help" for more information about a command.
- Dockerfile commands :
```dockerfile
# renovate: datasource=docker depName=checkmarx/kics
ARG REPOSITORY_KICS_VERSION=v2.1.0-alpine
ARG REPOSITORY_KICS_VERSION=v2.1.1-alpine
FROM checkmarx/kics:${REPOSITORY_KICS_VERSION} as kics
COPY --link --from=kics /app/bin/kics /usr/bin/kics
ENV KICS_QUERIES_PATH=/usr/bin/assets/queries KICS_LIBRARIES_PATH=/usr/bin/assets/libraries
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/salesforce.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ description: sfdx-scanner-apex, sfdx-scanner-aura, sfdx-scanner-lwc, lightning-f
- Dockerfile commands :
```dockerfile
# renovate: datasource=npm depName=@salesforce/cli
ARG SALESFORCE_CLI_VERSION=2.47.6
ARG SALESFORCE_CLI_VERSION=2.48.6
# renovate: datasource=npm depName=@salesforce/plugin-packaging
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.7.0
# renovate: datasource=npm depName=sfdx-hardis
Expand Down
5 changes: 2 additions & 3 deletions docs/descriptors/salesforce_lightning_flow_scanner.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,8 @@ sf flow:scan
### Help content

```shell
(node:1755) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(node:1756) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
› Warning: @salesforce/cli update available from 2.47.6 to 2.48.6.
Find and fix potential bugs in Salesforce flows.

USAGE
Expand Down Expand Up @@ -124,7 +123,7 @@ GLOBAL FLAGS
```dockerfile
# Parent descriptor install
# renovate: datasource=npm depName=@salesforce/cli
ARG SALESFORCE_CLI_VERSION=2.47.6
ARG SALESFORCE_CLI_VERSION=2.48.6
# renovate: datasource=npm depName=@salesforce/plugin-packaging
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.7.0
# renovate: datasource=npm depName=sfdx-hardis
Expand Down
10 changes: 4 additions & 6 deletions docs/descriptors/salesforce_sfdx_scanner_apex.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,8 @@ sf scanner:run
### Help content

```shell
(node:1767) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(node:1768) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
› Warning: @salesforce/cli update available from 2.47.6 to 2.48.6.
scan a codebase with a selection of rules

USAGE
Expand Down Expand Up @@ -144,11 +143,10 @@ GLOBAL FLAGS
COMMANDS
scanner run dfa scan codebase with all DFA rules
(node:1779) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(node:1780) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
› Warning: @salesforce/cli update available from 2.47.6 to 2.48.6.
› Warning: Plugin @salesforce/sfdx-scanner (3.26.0) differs from the version
› specified by sf (3.25.0)
› specified by sf (4.3.0)
Warning: You are using Code Analyzer v3, which we no longer support. Update to v4 of Code Analyzer by running this command: "sf plugins install @salesforce/sfdx-scanner". Version 4 of Code Analyzer has the most up-to-date features, including PMD 7.x.
Warning: We're continually improving Salesforce Code Analyzer. Tell us what you think! Give feedback at https://research.net/r/SalesforceCA
name languages categories rulesets [dep] engine is dfa is pilot
Expand Down Expand Up @@ -377,7 +375,7 @@ Warning: We're continually improving Salesforce Code Analyzer. Tell us what you
```dockerfile
# Parent descriptor install
# renovate: datasource=npm depName=@salesforce/cli
ARG SALESFORCE_CLI_VERSION=2.47.6
ARG SALESFORCE_CLI_VERSION=2.48.6
# renovate: datasource=npm depName=@salesforce/plugin-packaging
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.7.0
# renovate: datasource=npm depName=sfdx-hardis
Expand Down
10 changes: 4 additions & 6 deletions docs/descriptors/salesforce_sfdx_scanner_aura.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,8 @@ sf scanner:run
### Help content

```shell
(node:1960) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(node:1962) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
› Warning: @salesforce/cli update available from 2.47.6 to 2.48.6.
scan a codebase with a selection of rules

USAGE
Expand Down Expand Up @@ -140,11 +139,10 @@ GLOBAL FLAGS
COMMANDS
scanner run dfa scan codebase with all DFA rules
(node:1972) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(node:1974) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
› Warning: @salesforce/cli update available from 2.47.6 to 2.48.6.
› Warning: Plugin @salesforce/sfdx-scanner (3.26.0) differs from the version
› specified by sf (3.25.0)
› specified by sf (4.3.0)
Warning: You are using Code Analyzer v3, which we no longer support. Update to v4 of Code Analyzer by running this command: "sf plugins install @salesforce/sfdx-scanner". Version 4 of Code Analyzer has the most up-to-date features, including PMD 7.x.
Warning: We're continually improving Salesforce Code Analyzer. Tell us what you think! Give feedback at https://research.net/r/SalesforceCA
name languages categories rulesets [dep] engine is dfa is pilot
Expand Down Expand Up @@ -373,7 +371,7 @@ Warning: We're continually improving Salesforce Code Analyzer. Tell us what you
```dockerfile
# Parent descriptor install
# renovate: datasource=npm depName=@salesforce/cli
ARG SALESFORCE_CLI_VERSION=2.47.6
ARG SALESFORCE_CLI_VERSION=2.48.6
# renovate: datasource=npm depName=@salesforce/plugin-packaging
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.7.0
# renovate: datasource=npm depName=sfdx-hardis
Expand Down
10 changes: 4 additions & 6 deletions docs/descriptors/salesforce_sfdx_scanner_lwc.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,8 @@ sf scanner:run
### Help content

```shell
(node:2153) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(node:2155) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
› Warning: @salesforce/cli update available from 2.47.6 to 2.48.6.
scan a codebase with a selection of rules

USAGE
Expand Down Expand Up @@ -140,11 +139,10 @@ GLOBAL FLAGS
COMMANDS
scanner run dfa scan codebase with all DFA rules
(node:2165) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(node:2167) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
› Warning: @salesforce/cli update available from 2.47.6 to 2.48.6.
› Warning: Plugin @salesforce/sfdx-scanner (3.26.0) differs from the version
› specified by sf (3.25.0)
› specified by sf (4.3.0)
Warning: You are using Code Analyzer v3, which we no longer support. Update to v4 of Code Analyzer by running this command: "sf plugins install @salesforce/sfdx-scanner". Version 4 of Code Analyzer has the most up-to-date features, including PMD 7.x.
Warning: We're continually improving Salesforce Code Analyzer. Tell us what you think! Give feedback at https://research.net/r/SalesforceCA
name languages categories rulesets [dep] engine is dfa is pilot
Expand Down Expand Up @@ -373,7 +371,7 @@ Warning: We're continually improving Salesforce Code Analyzer. Tell us what you
```dockerfile
# Parent descriptor install
# renovate: datasource=npm depName=@salesforce/cli
ARG SALESFORCE_CLI_VERSION=2.47.6
ARG SALESFORCE_CLI_VERSION=2.48.6
# renovate: datasource=npm depName=@salesforce/plugin-packaging
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.7.0
# renovate: datasource=npm depName=sfdx-hardis
Expand Down
Loading

0 comments on commit 1a904bb

Please sign in to comment.