Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation (#4059)
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 <[email protected]>
  • Loading branch information
nvuillam and nvuillam authored Sep 29, 2024
1 parent b3292de commit e2ce5bb
Show file tree
Hide file tree
Showing 13 changed files with 36 additions and 35 deletions.
22 changes: 11 additions & 11 deletions .automation/generated/linter-helps.json

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

2 changes: 1 addition & 1 deletion .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"cfn-lint": "1.15.1",
"checkmake": "0.2.0",
"checkov": "3.2.255",
"checkstyle": "10.18.1",
"checkstyle": "10.18.2",
"chktex": "1.7.8",
"clang-format": "17.0.6",
"clippy": "0.1.81",
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [trufflehog](https://github.com/trufflesecurity/trufflehog) from 3.82.5 to **3.82.6** on 2024-09-27
- [scalafix](https://scalacenter.github.io/scalafix/) from 0.12.1 to **0.13.0** on 2024-09-27
- [actionlint](https://rhysd.github.io/actionlint/) from 1.7.2 to **1.7.3** on 2024-09-29
- [checkstyle](https://checkstyle.org/) from 10.18.1 to **10.18.2** on 2024-09-29
<!-- linter-versions-end -->

## [v8.0.0] - 2024-08-19
Expand Down
2 changes: 1 addition & 1 deletion docs/all_linters.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
| [**cfn-lint**](https://github.com/aws-cloudformation/cfn-lint){target=_blank} | 1.15.1 | [MIT-0](licenses/cfn-lint.md) | [![GitHub stars](https://img.shields.io/github/stars/aws-cloudformation/cfn-lint?cacheSeconds=3600)](https://github.com/aws-cloudformation/cfn-lint){target=_blank} | [CLOUDFORMATION](descriptors/cloudformation_cfn_lint.md) | :white_circle: | [Repository](https://github.com/aws-cloudformation/cfn-lint){target=_blank} |
| [**checkmake**](https://github.com/mrtazz/checkmake){target=_blank} | 0.2.0 | [MIT](licenses/checkmake.md) | [![GitHub stars](https://img.shields.io/github/stars/mrtazz/checkmake?cacheSeconds=3600)](https://github.com/mrtazz/checkmake){target=_blank} | [MAKEFILE](descriptors/makefile_checkmake.md) | :white_circle: | [Repository](https://github.com/mrtazz/checkmake){target=_blank} |
| [**checkov**](https://github.com/bridgecrewio/checkov){target=_blank} | 3.2.255 | [Apache-2.0](licenses/checkov.md) | [![GitHub stars](https://img.shields.io/github/stars/bridgecrewio/checkov?cacheSeconds=3600)](https://github.com/bridgecrewio/checkov){target=_blank} | [REPOSITORY](descriptors/repository_checkov.md) | :no_entry_sign: | [Repository](https://github.com/bridgecrewio/checkov){target=_blank} |
| [**checkstyle**](https://github.com/checkstyle/checkstyle){target=_blank} | 10.18.1 | [LGPL-2.1](licenses/checkstyle.md) | [![GitHub stars](https://img.shields.io/github/stars/checkstyle/checkstyle?cacheSeconds=3600)](https://github.com/checkstyle/checkstyle){target=_blank} | [JAVA](descriptors/java_checkstyle.md) | :heart: | [MegaLinter reference](https://checkstyle.org/index.html#Related_Tools_Active_Tools){target=_blank} |
| [**checkstyle**](https://github.com/checkstyle/checkstyle){target=_blank} | 10.18.2 | [LGPL-2.1](licenses/checkstyle.md) | [![GitHub stars](https://img.shields.io/github/stars/checkstyle/checkstyle?cacheSeconds=3600)](https://github.com/checkstyle/checkstyle){target=_blank} | [JAVA](descriptors/java_checkstyle.md) | :heart: | [MegaLinter reference](https://checkstyle.org/index.html#Related_Tools_Active_Tools){target=_blank} |
| [**chktex**](https://www.nongnu.org/chktex){target=_blank} | 1.7.8 | <!-- --> | <!-- --> | [LATEX](descriptors/latex_chktex.md) | :white_circle: | [Web Site](https://www.nongnu.org/chktex){target=_blank} |
| [**clang-format**](https://github.com/llvm/llvm-project){target=_blank} | 17.0.6 | [Other](licenses/clang-format.md) | [![GitHub stars](https://img.shields.io/github/stars/llvm/llvm-project?cacheSeconds=3600)](https://github.com/llvm/llvm-project){target=_blank} | [C](descriptors/c_clang_format.md)<br/> [CPP](descriptors/cpp_clang_format.md) | :white_circle: | [Repository](https://github.com/llvm/llvm-project){target=_blank} |
| [**clippy**](https://github.com/rust-lang/rust-clippy){target=_blank} | 0.1.81 | [Other](licenses/clippy.md) | [![GitHub stars](https://img.shields.io/github/stars/rust-lang/rust-clippy?cacheSeconds=3600)](https://github.com/rust-lang/rust-clippy){target=_blank} | [RUST](descriptors/rust_clippy.md) | :white_circle: | [Repository](https://github.com/rust-lang/rust-clippy){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.18.1**
- Version in MegaLinter: **10.18.2**
- 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
2 changes: 1 addition & 1 deletion docs/descriptors/kubernetes_kubescape.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Available Commands:
completion Generate autocompletion script
config Handle cached configurations
delete Delete configurations in Kubescape SaaS version
download Download attack-tracks,controls-inputs,exceptions,control,framework,artifacts
download Download control,framework,artifacts,attack-tracks,controls-inputs,exceptions
fix Fix misconfiguration in files
help Help about any command
list List frameworks/controls will list the supported frameworks and controls
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/markdown_markdown_link_check.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ markdown-link-check -c .markdown-link-check.json myfile.md
### Help content

```shell
(node:1521) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(node:1524) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Usage: markdown-link-check [options] [filenamesOrUrls...]

Expand Down
4 changes: 2 additions & 2 deletions 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_lightning_flow_scanner.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ sf flow:scan
### Help content

```shell
(node:1742) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(node:1744) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Find and fix potential bugs in Salesforce flows.

Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/salesforce_sfdx_scanner_apex.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ sf scanner:run
### Help content

```shell
(node:1754) [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)
Scan a codebase with all the rules in the registry, or use parameters to filter the rules based on rulename, category, or ruleset.

Expand Down Expand Up @@ -149,7 +149,7 @@ GLOBAL FLAGS
COMMANDS
scanner run dfa Scan codebase with all DFA rules by default.

(node:1766) [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: Plugin @salesforce/sfdx-scanner (4.6.0) differs from the version
› specified by sf (4.5.0)
Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/salesforce_sfdx_scanner_lwc.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ sf scanner:run
### Help content

```shell
(node:2137) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(node:2136) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Scan a codebase with all the rules in the registry, or use parameters to filter the rules based on rulename, category, or ruleset.

Expand Down Expand Up @@ -145,7 +145,7 @@ GLOBAL FLAGS
COMMANDS
scanner run dfa Scan codebase with all DFA rules by default.

(node:2149) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(node:2148) [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: Plugin @salesforce/sfdx-scanner (4.6.0) differs from the version
› specified by sf (4.5.0)
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 @@ -176,7 +176,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 {subprocess,remote,default}]
[--mode {remote,default,subprocess}]
[--report-html-path VALUE]
[--report-html-stylesheet-path VALUE]
[targets ...]
Expand Down Expand Up @@ -985,7 +985,7 @@ INTERNAL:
--target-jobs TARGET_JOBS [TARGET_JOBS ...]
Internal use only: Target particular jobs by
RULE:WILDCARD1=VALUE,WILDCARD2=VALUE,...
--mode {subprocess,remote,default}
--mode {remote,default,subprocess}
Internal use only: Set execution mode of Snakemake.
(default: default)

Expand Down
Loading

0 comments on commit e2ce5bb

Please sign in to comment.