Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam authored Jan 30, 2022
1 parent 99177d0 commit 40f5ec4
Show file tree
Hide file tree
Showing 9 changed files with 56 additions and 49 deletions.
64 changes: 32 additions & 32 deletions .automation/generated/flavors-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -525,8 +525,8 @@
2430982
],
[
"2022-01-30T03:52:27",
2431441
"2022-01-30T15:11:08",
2431774
]
],
"ci_light": [
Expand Down Expand Up @@ -1055,8 +1055,8 @@
6778
],
[
"2022-01-30T03:52:27",
6784
"2022-01-30T15:11:08",
6788
]
],
"dart": [
Expand Down Expand Up @@ -1585,8 +1585,8 @@
2037
],
[
"2022-01-30T03:52:27",
2040
"2022-01-30T15:11:08",
2044
]
],
"documentation": [
Expand Down Expand Up @@ -2115,8 +2115,8 @@
34766
],
[
"2022-01-30T03:52:27",
34806
"2022-01-30T15:11:08",
34864
]
],
"dotnet": [
Expand Down Expand Up @@ -2645,8 +2645,8 @@
273447
],
[
"2022-01-30T03:52:27",
273612
"2022-01-30T15:11:08",
273800
]
],
"go": [
Expand Down Expand Up @@ -3175,8 +3175,8 @@
7485
],
[
"2022-01-30T03:52:27",
7489
"2022-01-30T15:11:08",
7494
]
],
"java": [
Expand Down Expand Up @@ -3705,8 +3705,8 @@
54003
],
[
"2022-01-30T03:52:27",
54023
"2022-01-30T15:11:08",
54045
]
],
"javascript": [
Expand Down Expand Up @@ -4235,8 +4235,8 @@
80306
],
[
"2022-01-30T03:52:27",
80502
"2022-01-30T15:11:08",
80583
]
],
"php": [
Expand Down Expand Up @@ -4765,8 +4765,8 @@
3841
],
[
"2022-01-30T03:52:27",
3844
"2022-01-30T15:11:08",
3847
]
],
"python": [
Expand Down Expand Up @@ -5295,8 +5295,8 @@
51015
],
[
"2022-01-30T03:52:27",
51203
"2022-01-30T15:11:08",
51353
]
],
"ruby": [
Expand Down Expand Up @@ -5821,8 +5821,8 @@
1786
],
[
"2022-01-30T03:52:27",
1789
"2022-01-30T15:11:08",
1799
]
],
"rust": [
Expand Down Expand Up @@ -6347,8 +6347,8 @@
1526
],
[
"2022-01-30T03:52:27",
1529
"2022-01-30T15:11:08",
1533
]
],
"salesforce": [
Expand Down Expand Up @@ -6877,8 +6877,8 @@
10121
],
[
"2022-01-30T03:52:27",
10135
"2022-01-30T15:11:08",
10141
]
],
"scala": [
Expand Down Expand Up @@ -7403,8 +7403,8 @@
1374
],
[
"2022-01-30T03:52:27",
1377
"2022-01-30T15:11:08",
1381
]
],
"swift": [
Expand Down Expand Up @@ -7929,8 +7929,8 @@
1415
],
[
"2022-01-30T03:52:27",
1418
"2022-01-30T15:11:08",
1422
]
],
"terraform": [
Expand Down Expand Up @@ -8459,8 +8459,8 @@
34611
],
[
"2022-01-30T03:52:27",
34688
"2022-01-30T15:11:08",
34704
]
]
}
6 changes: 3 additions & 3 deletions .automation/generated/linter-helps.json
Original file line number Diff line number Diff line change
Expand Up @@ -1397,8 +1397,8 @@
" of opening bracket's line.",
" --ignore errors Comma-separated list of errors and warnings to ignore",
" (or skip). For example, ``--ignore=E4,E51,W234``.",
" (Default: ['E121', 'W503', 'E126', 'E24', 'W504',",
" 'E704', 'E226', 'E123'])",
" (Default: ['E226', 'E123', 'E126', 'E704', 'W504',",
" 'W503', 'E24', 'E121'])",
" --extend-ignore errors",
" Comma-separated list of errors and warnings to add to",
" the list of ignored ones. For example, ``--extend-",
Expand Down Expand Up @@ -5709,7 +5709,7 @@
"",
"Parser options:",
"",
" -ln str language variant to parse (bash/posix/mksh/bats, default \"bash\")",
" -ln str language dialect (bash/posix/mksh/bats, default \"auto\")",
" -p shorthand for -ln=posix",
" -filename str provide a name for the standard input file",
"",
Expand Down
6 changes: 3 additions & 3 deletions .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"bash-exec": "5.1.0",
"black": "21.12",
"cfn-lint": "0.57.0",
"checkov": "2.0.772",
"checkstyle": "9.2.1",
"checkov": "2.0.775",
"checkstyle": "9.3",
"chktex": "1.7.6",
"clippy": "0.1.58",
"clj-kondo": "2022.01.15",
Expand Down Expand Up @@ -68,7 +68,7 @@
"sfdx-scanner-aura": "2.12.0",
"sfdx-scanner-lwc": "2.12.0",
"shellcheck": "0.8.0",
"shfmt": "3.2.1",
"shfmt": "3.5.0",
"snakefmt": "0.4.4",
"snakemake": "6.13.1",
"spectral": "5.6.0",
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ Fixes:
- [shfmt](https://github.com/mvdan/sh) from 3.3.1 to **3.2.1** on 2022-01-30
- [snakemake](https://snakemake.readthedocs.io/en/stable/) from 6.15.0 to **6.13.1** on 2022-01-30
- [shfmt](https://github.com/mvdan/sh) from 3.2.1 to **3.4.2** on 2022-01-30
- [shfmt](https://github.com/mvdan/sh) from 3.2.1 to **3.5.0** on 2022-01-30
- [checkstyle](https://checkstyle.sourceforge.io) from 9.2.1 to **9.3** on 2022-01-30
- [checkov](https://www.checkov.io/) from 2.0.772 to **2.0.775** on 2022-01-30
<!-- linter-versions-end -->

## [v5.6.0] - 2022-01-22
Expand Down
6 changes: 3 additions & 3 deletions docs/all_linters.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
| [**bash-exec**](https://tiswww.case.edu/php/chet/bash/bashtop.html){target=_blank} | 5.1.0 | <!-- --> | [BASH](descriptors/bash_bash_exec.md) | <!-- --> | [Web Site](https://tiswww.case.edu/php/chet/bash/bashtop.html){target=_blank} |
| [**black**](https://github.com/psf/black){target=_blank} | 21.12 | [MIT](licenses/black.md) | [PYTHON](descriptors/python_black.md) | :white_circle: | [Repository](https://github.com/psf/black){target=_blank} |
| [**cfn-lint**](https://github.com/martysweet/cfn-lint){target=_blank} | 0.57.0 | <!-- --> | [CLOUDFORMATION](descriptors/cloudformation_cfn_lint.md) | :white_circle: | [Web Site](https://github.com/martysweet/cfn-lint){target=_blank} |
| [**checkov**](https://github.com/bridgecrewio/checkov){target=_blank} | 2.0.772 | [Apache-2.0](licenses/checkov.md) | [TERRAFORM](descriptors/terraform_checkov.md) | :no_entry_sign: | [Repository](https://github.com/bridgecrewio/checkov){target=_blank} |
| [**checkstyle**](https://github.com/checkstyle/checkstyle){target=_blank} | 9.2.1 | [Other](licenses/checkstyle.md) | [JAVA](descriptors/java_checkstyle.md) | :heart: | [MegaLinter reference](https://checkstyle.sourceforge.io/index.html#Related_Tools_Active_Tools){target=_blank} |
| [**checkov**](https://github.com/bridgecrewio/checkov){target=_blank} | 2.0.775 | [Apache-2.0](licenses/checkov.md) | [TERRAFORM](descriptors/terraform_checkov.md) | :no_entry_sign: | [Repository](https://github.com/bridgecrewio/checkov){target=_blank} |
| [**checkstyle**](https://github.com/checkstyle/checkstyle){target=_blank} | 9.3 | [Other](licenses/checkstyle.md) | [JAVA](descriptors/java_checkstyle.md) | :heart: | [MegaLinter reference](https://checkstyle.sourceforge.io/index.html#Related_Tools_Active_Tools){target=_blank} |
| [**chktex**](https://www.nongnu.org/chktex){target=_blank} | 1.7.6 | <!-- --> | [LATEX](descriptors/latex_chktex.md) | :white_circle: | [Web Site](https://www.nongnu.org/chktex){target=_blank} |
| [**clippy**](https://github.com/rust-lang/rust-clippy){target=_blank} | 0.1.58 | <!-- --> | [RUST](descriptors/rust_clippy.md) | :white_circle: | [Web Site](https://github.com/rust-lang/rust-clippy){target=_blank} |
| [**clj-kondo**](https://github.com/borkdude/clj-kondo){target=_blank} | 2022.01.15 | <!-- --> | [CLOJURE](descriptors/clojure_clj_kondo.md) | :heart: | [MegaLinter reference](https://github.com/borkdude/clj-kondo/blob/master/doc/ci-integration.md#github){target=_blank} |
Expand Down Expand Up @@ -73,7 +73,7 @@
| [**sfdx-scanner-aura**](https://github.com/forcedotcom/sfdx-scanner){target=_blank} | 2.12.0 | [MIT](licenses/sfdx-scanner-aura.md) | [SALESFORCE](descriptors/salesforce_sfdx_scanner_aura.md) | :hammer_and_wrench: | [Pull Request](https://github.com/forcedotcom/sfdx-scanner/pull/307){target=_blank} |
| [**sfdx-scanner-lwc**](https://github.com/forcedotcom/sfdx-scanner){target=_blank} | 2.12.0 | [MIT](licenses/sfdx-scanner-lwc.md) | [SALESFORCE](descriptors/salesforce_sfdx_scanner_lwc.md) | :hammer_and_wrench: | [Pull Request](https://github.com/forcedotcom/sfdx-scanner/pull/307){target=_blank} |
| [**shellcheck**](https://github.com/koalaman/shellcheck){target=_blank} | 0.8.0 | <!-- --> | [BASH](descriptors/bash_shellcheck.md) | <!-- --> | [Web Site](https://github.com/koalaman/shellcheck){target=_blank} |
| [**shfmt**](https://github.com/mvdan/sh){target=_blank} | 3.2.1 | <!-- --> | [BASH](descriptors/bash_shfmt.md) | :no_entry_sign: | [Web Site](https://github.com/mvdan/sh){target=_blank} |
| [**shfmt**](https://github.com/mvdan/sh){target=_blank} | 3.5.0 | <!-- --> | [BASH](descriptors/bash_shfmt.md) | :no_entry_sign: | [Web Site](https://github.com/mvdan/sh){target=_blank} |
| [**snakefmt**](https://github.com/snakemake/snakefmt){target=_blank} | 0.4.4 | <!-- --> | [SNAKEMAKE](descriptors/snakemake_snakefmt.md) | :white_circle: | [Web Site](https://github.com/snakemake/snakefmt){target=_blank} |
| [**snakemake**](https://github.com/snakemake/snakemake){target=_blank} | 6.13.1 | [MIT](licenses/snakemake.md) | [SNAKEMAKE](descriptors/snakemake_snakemake.md) | :white_circle: | [Repository](https://github.com/snakemake/snakemake){target=_blank} |
| [**spectral**](https://github.com/stoplightio/spectral){target=_blank} | 5.6.0 | [Apache-2.0](licenses/spectral.md) | [OPENAPI](descriptors/openapi_spectral.md) | :white_circle: | [Repository](https://github.com/stoplightio/spectral){target=_blank} |
Expand Down
12 changes: 8 additions & 4 deletions docs/descriptors/bash_shfmt.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## shfmt documentation

- Version in MegaLinter: **3.2.1**
- Version in MegaLinter: **3.5.0**
- Visit [Official Web Site](https://github.com/mvdan/sh#readme){target=_blank}

[![sh - GitHub](https://gh-card.dev/repos/mvdan/sh.svg?fullname=)](https://github.com/mvdan/sh){target=_blank}
Expand Down Expand Up @@ -107,7 +107,7 @@ directory, all shell scripts found under that directory will be used.
Parser options:
-ln str language variant to parse (bash/posix/mksh/bats, default "bash")
-ln str language dialect (bash/posix/mksh/bats, default "auto")
-p shorthand for -ln=posix
-filename str provide a name for the standard input file
Expand All @@ -130,8 +130,12 @@ For more information, see 'man shfmt' and https://github.com/mvdan/sh.
### Installation on mega-linter Docker image
- APK packages (Linux):
- [shfmt](https://pkgs.alpinelinux.org/packages?branch=edge&name=shfmt)
- Dockerfile commands :
```dockerfile
FROM mvdan/shfmt:latest-alpine as shfmt
COPY --from=shfmt /bin/shfmt /usr/bin/
```
### Example success log
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 @@ -9,7 +9,7 @@

## checkstyle documentation

- Version in MegaLinter: **9.2.1**
- Version in MegaLinter: **9.3**
- Visit [Official Web Site](https://checkstyle.sourceforge.io){target=_blank}
- See [How to configure checkstyle rules](https://checkstyle.sourceforge.io/config.html#Overview){target=_blank}
- If custom `sun_checks.xml` config file is not found, [sun_checks.xml](https://github.com/megalinter/megalinter/tree/main/TEMPLATES/sun_checks.xml){target=_blank} will be used
Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/python_flake8.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ optional arguments:
of opening bracket's line.
--ignore errors Comma-separated list of errors and warnings to ignore
(or skip). For example, ``--ignore=E4,E51,W234``.
(Default: ['E121', 'W503', 'E126', 'E24', 'W504',
'E704', 'E226', 'E123'])
(Default: ['E226', 'E123', 'E126', 'E704', 'W504',
'W503', 'E24', 'E121'])
--extend-ignore errors
Comma-separated list of errors and warnings to add to
the list of ignored ones. For example, ``--extend-
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/terraform_checkov.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

## checkov documentation

- Version in MegaLinter: **2.0.772**
- Version in MegaLinter: **2.0.775**
- Visit [Official Web Site](https://www.checkov.io/){target=_blank}
- See [How to disable checkov rules in files](https://www.checkov.io/2.Basics/Suppressing%20and%20Skipping%20Policies.html){target=_blank}
- See [Index of problems detected by checkov](https://www.checkov.io/5.Policy%20Index/all.html){target=_blank}
Expand Down

0 comments on commit 40f5ec4

Please sign in to comment.