Skip to content

Commit 5e0c8cc

Browse files
authored
[automation] Auto-update linters version, help and documentation (#2283)
* [automation] Auto-update linters version, help and documentation * [MegaLinter] Apply linters fixes Co-authored-by: nvuillam <[email protected]>
1 parent 653c086 commit 5e0c8cc

12 files changed

+115
-49
lines changed

.automation/generated/flavors-stats.json

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,6 +1243,10 @@
12431243
[
12441244
"2023-01-20T01:07:56",
12451245
2743555
1246+
],
1247+
[
1248+
"2023-01-21T01:11:30",
1249+
2745124
12461250
]
12471251
],
12481252
"ci_light": [
@@ -2489,6 +2493,10 @@
24892493
[
24902494
"2023-01-20T01:07:56",
24912495
44364
2496+
],
2497+
[
2498+
"2023-01-21T01:11:30",
2499+
44538
24922500
]
24932501
],
24942502
"cupcake": [
@@ -2715,6 +2723,10 @@
27152723
[
27162724
"2023-01-20T01:07:56",
27172725
1734
2726+
],
2727+
[
2728+
"2023-01-21T01:11:30",
2729+
1771
27182730
]
27192731
],
27202732
"dart": [
@@ -4871,6 +4883,10 @@
48714883
[
48724884
"2023-01-20T01:07:56",
48734885
105202
4886+
],
4887+
[
4888+
"2023-01-21T01:11:30",
4889+
105520
48744890
]
48754891
],
48764892
"dotnet": [
@@ -6117,6 +6133,10 @@
61176133
[
61186134
"2023-01-20T01:07:56",
61196135
341924
6136+
],
6137+
[
6138+
"2023-01-21T01:11:30",
6139+
342225
61206140
]
61216141
],
61226142
"go": [
@@ -7363,6 +7383,10 @@
73637383
[
73647384
"2023-01-20T01:07:56",
73657385
16154
7386+
],
7387+
[
7388+
"2023-01-21T01:11:30",
7389+
16163
73667390
]
73677391
],
73687392
"java": [
@@ -8609,6 +8633,10 @@
86098633
[
86108634
"2023-01-20T01:07:56",
86118635
106065
8636+
],
8637+
[
8638+
"2023-01-21T01:11:30",
8639+
106175
86128640
]
86138641
],
86148642
"javascript": [
@@ -9855,6 +9883,10 @@
98559883
[
98569884
"2023-01-20T01:07:56",
98579885
189452
9886+
],
9887+
[
9888+
"2023-01-21T01:11:30",
9889+
189828
98589890
]
98599891
],
98609892
"php": [
@@ -11101,6 +11133,10 @@
1110111133
[
1110211134
"2023-01-20T01:07:56",
1110311135
39955
11136+
],
11137+
[
11138+
"2023-01-21T01:11:30",
11139+
40172
1110411140
]
1110511141
],
1110611142
"python": [
@@ -12347,6 +12383,10 @@
1234712383
[
1234812384
"2023-01-20T01:07:56",
1234912385
148411
12386+
],
12387+
[
12388+
"2023-01-21T01:11:30",
12389+
148977
1235012390
]
1235112391
],
1235212392
"ruby": [
@@ -13589,6 +13629,10 @@
1358913629
[
1359013630
"2023-01-20T01:07:56",
1359113631
2838
13632+
],
13633+
[
13634+
"2023-01-21T01:11:30",
13635+
2843
1359213636
]
1359313637
],
1359413638
"rust": [
@@ -14831,6 +14875,10 @@
1483114875
[
1483214876
"2023-01-20T01:07:56",
1483314877
4449
14878+
],
14879+
[
14880+
"2023-01-21T01:11:30",
14881+
4457
1483414882
]
1483514883
],
1483614884
"salesforce": [
@@ -16077,6 +16125,10 @@
1607716125
[
1607816126
"2023-01-20T01:07:56",
1607916127
16081
16128+
],
16129+
[
16130+
"2023-01-21T01:11:30",
16131+
16137
1608016132
]
1608116133
],
1608216134
"scala": [
@@ -17321,6 +17373,10 @@
1732117373
[
1732217374
"2023-01-20T01:07:56",
1732317375
2141
17376+
],
17377+
[
17378+
"2023-01-21T01:11:30",
17379+
2185
1732417380
]
1732517381
],
1732617382
"swift": [
@@ -18563,6 +18619,10 @@
1856318619
[
1856418620
"2023-01-20T01:07:56",
1856518621
3115
18622+
],
18623+
[
18624+
"2023-01-21T01:11:30",
18625+
3119
1856618626
]
1856718627
],
1856818628
"terraform": [
@@ -19809,6 +19869,10 @@
1980919869
[
1981019870
"2023-01-20T01:07:56",
1981119871
163375
19872+
],
19873+
[
19874+
"2023-01-21T01:11:30",
19875+
163886
1981219876
]
1981319877
]
1981419878
}

.automation/generated/linter-helps.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -489,8 +489,8 @@
489489
" input).",
490490
" --python-cell-magics TEXT When processing Jupyter Notebooks, add the",
491491
" given magic to the list of known python-",
492-
" magics (time, capture, python, timeit, pypy,",
493-
" python3, prun). Useful for formatting cells",
492+
" magics (python, time, timeit, python3, pypy,",
493+
" capture, prun). Useful for formatting cells",
494494
" with custom python magics.",
495495
" -x, --skip-source-first-line Skip the first line of the source code.",
496496
" -S, --skip-string-normalization",
@@ -673,7 +673,7 @@
673673
" [--secrets-scan-file-type SECRETS_SCAN_FILE_TYPE]",
674674
" [--enable-secret-scan-all-files]",
675675
" [--block-list-secret-scan BLOCK_LIST_SECRET_SCAN]",
676-
" [--summary-position {top,bottom}]",
676+
" [--summary-position {bottom,top}]",
677677
" [--skip-resources-without-violations]",
678678
"",
679679
"Infrastructure as code static analysis",
@@ -924,7 +924,7 @@
924924
" --block-list-secret-scan BLOCK_LIST_SECRET_SCAN",
925925
" List of files to filter out from the secret scanner",
926926
" [env var: CKV_SECRETS_SCAN_BLOCK_LIST]",
927-
" --summary-position {top,bottom}",
927+
" --summary-position {bottom,top}",
928928
" Chose whether the summary will be appended on top",
929929
" (before the checks results) or on bottom (after check",
930930
" results), default is on top.",

.automation/generated/linter-versions.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"scalafix": "0.10.4",
7878
"scss-lint": "0.59.0",
7979
"secretlint": "6.0.2",
80-
"semgrep": "1.3.0",
80+
"semgrep": "1.5.1",
8181
"sfdx-scanner": "2.8.0",
8282
"sfdx-scanner-apex": "3.8.0",
8383
"sfdx-scanner-aura": "3.8.0",
@@ -92,7 +92,7 @@
9292
"standard": "17.0.0",
9393
"stylelint": "14.16.1",
9494
"swiftlint": "0.50.3",
95-
"syft": "0.66.2",
95+
"syft": "0.68.0",
9696
"tekton-lint": "0.6.0",
9797
"terraform-fmt": "1.3.6",
9898
"terragrunt": "0.42.3",

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
5656
- [djlint](https://djlint.com/) from 1.19.11 to **1.19.12** on 2023-01-20
5757
- [phpstan](https://phpstan.org/) from 1.9.13 to **1.9.14** on 2023-01-20
5858
- [tsqllint](https://github.com/tsqllint/tsqllint) from 1.15.1.0 to **1.15.3.0** on 2023-01-20
59+
- [semgrep](https://semgrep.dev/) from 1.3.0 to **1.5.1** on 2023-01-21
60+
- [syft](https://github.com/anchore/syft) from 0.66.2 to **0.68.0** on 2023-01-21
5961
<!-- linter-versions-end -->
6062

6163
## [v6.18.0] - 2023-01-07

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
[![MegaLinter](https://github.com/oxsecurity/megalinter/workflows/MegaLinter/badge.svg?branch=main)](https://github.com/oxsecurity/megalinter/actions?query=workflow%3AMegaLinter+branch%3Amain)
2424
[![codecov](https://codecov.io/gh/oxsecurity/megalinter/branch/main/graph/badge.svg)](https://codecov.io/gh/oxsecurity/megalinter)
2525
<!-- gh-dependents-info-used-by-start -->
26-
[![](https://img.shields.io/static/v1?label=Used%20by&message=1951&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents)<!-- gh-dependents-info-used-by-end -->
26+
[![](https://img.shields.io/static/v1?label=Used%20by&message=1952&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents)<!-- gh-dependents-info-used-by-end -->
2727
[![Secured with Trivy](https://img.shields.io/badge/Trivy-secured-green?logo=docker)](https://github.com/aquasecurity/trivy)
2828
[![GitHub contributors](https://img.shields.io/github/contributors/oxsecurity/megalinter.svg)](https://github.com/oxsecurity/megalinter/graphs/contributors/)
2929
[![GitHub Sponsors](https://img.shields.io/github/sponsors/nvuillam)](https://github.com/sponsors/nvuillam)

docs/all_linters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
| [**scalafix**](https://github.com/scalacenter/scalafix){target=_blank} | 0.10.4 | [Other](licenses/scalafix.md) | [![GitHub stars](https://img.shields.io/github/stars/scalacenter/scalafix?cacheSeconds=3600)](https://github.com/scalacenter/scalafix){target=_blank} | [SCALA](descriptors/scala_scalafix.md) | :heart: | [MegaLinter reference](https://scalacenter.github.io/scalafix/docs/users/installation.html#plugins-for-other-build-tools){target=_blank} |
8282
| [**scss-lint**](https://github.com/sds/scss-lint){target=_blank} | 0.59.0 | <!-- --> | [![GitHub stars](https://img.shields.io/github/stars/sds/scss-lint?cacheSeconds=3600)](https://github.com/sds/scss-lint){target=_blank} | [CSS](descriptors/css_scss_lint.md) | :white_circle: | [Repository](https://github.com/sds/scss-lint){target=_blank} |
8383
| [**secretlint**](https://github.com/secretlint/secretlint){target=_blank} | 6.0.2 | [MIT](licenses/secretlint.md) | [![GitHub stars](https://img.shields.io/github/stars/secretlint/secretlint?cacheSeconds=3600)](https://github.com/secretlint/secretlint){target=_blank} | [REPOSITORY](descriptors/repository_secretlint.md) | :heart: | [MegaLinter reference](https://github.com/secretlint/secretlint#mega-linter){target=_blank} |
84-
| [**semgrep**](https://github.com/returntocorp/semgrep){target=_blank} | 1.3.0 | <!-- --> | [![GitHub stars](https://img.shields.io/github/stars/returntocorp/semgrep?cacheSeconds=3600)](https://github.com/returntocorp/semgrep){target=_blank} | [REPOSITORY](descriptors/repository_semgrep.md) | :white_circle: | [Repository](https://github.com/returntocorp/semgrep){target=_blank} |
84+
| [**semgrep**](https://github.com/returntocorp/semgrep){target=_blank} | 1.5.1 | <!-- --> | [![GitHub stars](https://img.shields.io/github/stars/returntocorp/semgrep?cacheSeconds=3600)](https://github.com/returntocorp/semgrep){target=_blank} | [REPOSITORY](descriptors/repository_semgrep.md) | :white_circle: | [Repository](https://github.com/returntocorp/semgrep){target=_blank} |
8585
| [**sfdx-scanner-apex**](https://github.com/forcedotcom/sfdx-scanner){target=_blank} | 3.8.0 | [MIT](licenses/sfdx-scanner-apex.md) | [![GitHub stars](https://img.shields.io/github/stars/forcedotcom/sfdx-scanner?cacheSeconds=3600)](https://github.com/forcedotcom/sfdx-scanner){target=_blank} | [SALESFORCE](descriptors/salesforce_sfdx_scanner_apex.md) | :hammer_and_wrench: | [Pull Request](https://github.com/forcedotcom/sfdx-scanner/pull/307){target=_blank} |
8686
| [**sfdx-scanner-aura**](https://github.com/forcedotcom/sfdx-scanner){target=_blank} | 3.8.0 | [MIT](licenses/sfdx-scanner-aura.md) | [![GitHub stars](https://img.shields.io/github/stars/forcedotcom/sfdx-scanner?cacheSeconds=3600)](https://github.com/forcedotcom/sfdx-scanner){target=_blank} | [SALESFORCE](descriptors/salesforce_sfdx_scanner_aura.md) | :hammer_and_wrench: | [Pull Request](https://github.com/forcedotcom/sfdx-scanner/pull/307){target=_blank} |
8787
| [**sfdx-scanner-lwc**](https://github.com/forcedotcom/sfdx-scanner){target=_blank} | 3.8.0 | [MIT](licenses/sfdx-scanner-lwc.md) | [![GitHub stars](https://img.shields.io/github/stars/forcedotcom/sfdx-scanner?cacheSeconds=3600)](https://github.com/forcedotcom/sfdx-scanner){target=_blank} | [SALESFORCE](descriptors/salesforce_sfdx_scanner_lwc.md) | :hammer_and_wrench: | [Pull Request](https://github.com/forcedotcom/sfdx-scanner/pull/307){target=_blank} |
@@ -95,7 +95,7 @@
9595
| [**standard**](https://github.com/standard/standard){target=_blank} | 17.0.0 | [MIT](licenses/standard.md) | [![GitHub stars](https://img.shields.io/github/stars/standard/standard?cacheSeconds=3600)](https://github.com/standard/standard){target=_blank} | [JAVASCRIPT](descriptors/javascript_standard.md)<br/> [TYPESCRIPT](descriptors/typescript_standard.md) | :white_circle: | [Repository](https://github.com/standard/standard){target=_blank} |
9696
| [**stylelint**](https://github.com/stylelint/stylelint){target=_blank} | 14.16.1 | [MIT](licenses/stylelint.md) | [![GitHub stars](https://img.shields.io/github/stars/stylelint/stylelint?cacheSeconds=3600)](https://github.com/stylelint/stylelint){target=_blank} | [CSS](descriptors/css_stylelint.md) | :heart: | [MegaLinter reference](https://stylelint.io/user-guide/integrations/other#analysis-platform-engines){target=_blank} |
9797
| [**swiftlint**](https://github.com/realm/SwiftLint){target=_blank} | 0.50.3 | [MIT](licenses/swiftlint.md) | [![GitHub stars](https://img.shields.io/github/stars/realm/SwiftLint?cacheSeconds=3600)](https://github.com/realm/SwiftLint){target=_blank} | [SWIFT](descriptors/swift_swiftlint.md) | :white_circle: | [Repository](https://github.com/realm/SwiftLint){target=_blank} |
98-
| [**syft**](https://github.com/anchore/syft){target=_blank} | 0.66.2 | <!-- --> | [![GitHub stars](https://img.shields.io/github/stars/anchore/syft?cacheSeconds=3600)](https://github.com/anchore/syft){target=_blank} | [REPOSITORY](descriptors/repository_syft.md) | :white_circle: | [Repository](https://github.com/anchore/syft){target=_blank} |
98+
| [**syft**](https://github.com/anchore/syft){target=_blank} | 0.68.0 | <!-- --> | [![GitHub stars](https://img.shields.io/github/stars/anchore/syft?cacheSeconds=3600)](https://github.com/anchore/syft){target=_blank} | [REPOSITORY](descriptors/repository_syft.md) | :white_circle: | [Repository](https://github.com/anchore/syft){target=_blank} |
9999
| [**tekton-lint**](https://github.com/IBM/tekton-lint){target=_blank} | 0.6.0 | <!-- --> | [![GitHub stars](https://img.shields.io/github/stars/IBM/tekton-lint?cacheSeconds=3600)](https://github.com/IBM/tekton-lint){target=_blank} | [TEKTON](descriptors/tekton_tekton_lint.md) | :white_circle: | [Repository](https://github.com/IBM/tekton-lint){target=_blank} |
100100
| [**terraform-fmt**](https://github.com/hashicorp/terraform){target=_blank} | 1.3.6 | [MPL-2.0](licenses/terraform-fmt.md) | [![GitHub stars](https://img.shields.io/github/stars/hashicorp/terraform?cacheSeconds=3600)](https://github.com/hashicorp/terraform){target=_blank} | [TERRAFORM](descriptors/terraform_terraform_fmt.md) | :white_circle: | [Repository](https://github.com/hashicorp/terraform){target=_blank} |
101101
| [**terragrunt**](https://github.com/gruntwork-io/terragrunt){target=_blank} | 0.42.3 | [MIT](licenses/terragrunt.md) | [![GitHub stars](https://img.shields.io/github/stars/gruntwork-io/terragrunt?cacheSeconds=3600)](https://github.com/gruntwork-io/terragrunt){target=_blank} | [TERRAFORM](descriptors/terraform_terragrunt.md) | :white_circle: | [Repository](https://github.com/gruntwork-io/terragrunt){target=_blank} |

docs/descriptors/python_black.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ Options:
119119
input).
120120
--python-cell-magics TEXT When processing Jupyter Notebooks, add the
121121
given magic to the list of known python-
122-
magics (time, capture, python, timeit, pypy,
123-
python3, prun). Useful for formatting cells
122+
magics (python, time, timeit, python3, pypy,
123+
capture, prun). Useful for formatting cells
124124
with custom python magics.
125125
-x, --skip-source-first-line Skip the first line of the source code.
126126
-S, --skip-string-normalization

0 commit comments

Comments
 (0)