Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation (#2292)
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 Jan 25, 2023
1 parent f89461a commit cc77d0c
Show file tree
Hide file tree
Showing 12 changed files with 119 additions and 50 deletions.
64 changes: 64 additions & 0 deletions .automation/generated/flavors-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -1255,6 +1255,10 @@
[
"2023-01-24T01:13:09",
2748193
],
[
"2023-01-25T01:09:15",
2749571
]
],
"ci_light": [
Expand Down Expand Up @@ -2513,6 +2517,10 @@
[
"2023-01-24T01:13:09",
44821
],
[
"2023-01-25T01:09:15",
45018
]
],
"cupcake": [
Expand Down Expand Up @@ -2751,6 +2759,10 @@
[
"2023-01-24T01:13:09",
1792
],
[
"2023-01-25T01:09:15",
1839
]
],
"dart": [
Expand Down Expand Up @@ -4919,6 +4931,10 @@
[
"2023-01-24T01:13:09",
106297
],
[
"2023-01-25T01:09:15",
106667
]
],
"dotnet": [
Expand Down Expand Up @@ -6177,6 +6193,10 @@
[
"2023-01-24T01:13:09",
342627
],
[
"2023-01-25T01:09:15",
342966
]
],
"go": [
Expand Down Expand Up @@ -7435,6 +7455,10 @@
[
"2023-01-24T01:13:09",
16234
],
[
"2023-01-25T01:09:15",
16248
]
],
"java": [
Expand Down Expand Up @@ -8693,6 +8717,10 @@
[
"2023-01-24T01:13:09",
106357
],
[
"2023-01-25T01:09:15",
106509
]
],
"javascript": [
Expand Down Expand Up @@ -9951,6 +9979,10 @@
[
"2023-01-24T01:13:09",
190552
],
[
"2023-01-25T01:09:15",
191023
]
],
"php": [
Expand Down Expand Up @@ -11209,6 +11241,10 @@
[
"2023-01-24T01:13:09",
40628
],
[
"2023-01-25T01:09:15",
40791
]
],
"python": [
Expand Down Expand Up @@ -12467,6 +12503,10 @@
[
"2023-01-24T01:13:09",
149765
],
[
"2023-01-25T01:09:15",
150196
]
],
"ruby": [
Expand Down Expand Up @@ -13721,6 +13761,10 @@
[
"2023-01-24T01:13:09",
2843
],
[
"2023-01-25T01:09:15",
2843
]
],
"rust": [
Expand Down Expand Up @@ -14975,6 +15019,10 @@
[
"2023-01-24T01:13:09",
4460
],
[
"2023-01-25T01:09:15",
4460
]
],
"salesforce": [
Expand Down Expand Up @@ -16233,6 +16281,10 @@
[
"2023-01-24T01:13:09",
16177
],
[
"2023-01-25T01:09:15",
16205
]
],
"scala": [
Expand Down Expand Up @@ -17489,6 +17541,10 @@
[
"2023-01-24T01:13:09",
2259
],
[
"2023-01-25T01:09:15",
2307
]
],
"swift": [
Expand Down Expand Up @@ -18743,6 +18799,10 @@
[
"2023-01-24T01:13:09",
3120
],
[
"2023-01-25T01:09:15",
3123
]
],
"terraform": [
Expand Down Expand Up @@ -20001,6 +20061,10 @@
[
"2023-01-24T01:13:09",
164999
],
[
"2023-01-25T01:09:15",
165649
]
]
}
10 changes: 5 additions & 5 deletions .automation/generated/linter-helps.json

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

4 changes: 2 additions & 2 deletions .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
"phplint": "5.5",
"phpstan": "1.9.14",
"pmd": "6.48.0",
"powershell": "7.3.1",
"powershell_formatter": "7.3.1",
"powershell": "7.3.2",
"powershell_formatter": "7.3.2",
"prettier": "2.8.3",
"proselint": "0.13.0",
"protolint": "0.42.2",
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [ktlint](https://ktlint.github.io) from 0.48.1 to **0.48.2** on 2023-01-24
- [psalm](https://psalm.dev) from Psalm.dev-master@ to **Psalm.5.6.0@** on 2023-01-24
- [rubocop](https://rubocop.org/) from 1.43.0 to **1.44.0** on 2023-01-24
- [powershell_formatter](https://github.com/PowerShell/PSScriptAnalyzer) from 7.3.1 to **7.3.2** on 2023-01-25
- [powershell](https://github.com/PowerShell/PSScriptAnalyzer) from 7.3.1 to **7.3.2** on 2023-01-25
<!-- linter-versions-end -->

## [v6.18.0] - 2023-01-07
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 -->
[![](https://img.shields.io/static/v1?label=Used%20by&message=1963&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents)<!-- gh-dependents-info-used-by-end -->
[![](https://img.shields.io/static/v1?label=Used%20by&message=1967&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents)<!-- 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
4 changes: 2 additions & 2 deletions docs/all_linters.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
| [**phplint**](https://github.com/overtrue/phplint){target=_blank} | 5.5 | [MIT](licenses/phplint.md) | [![GitHub stars](https://img.shields.io/github/stars/overtrue/phplint?cacheSeconds=3600)](https://github.com/overtrue/phplint){target=_blank} | [PHP](descriptors/php_phplint.md) | :white_circle: | [Repository](https://github.com/overtrue/phplint){target=_blank} |
| [**phpstan**](https://github.com/phpstan/phpstan){target=_blank} | 1.9.14 | [MIT](licenses/phpstan.md) | [![GitHub stars](https://img.shields.io/github/stars/phpstan/phpstan?cacheSeconds=3600)](https://github.com/phpstan/phpstan){target=_blank} | [PHP](descriptors/php_phpstan.md) | :white_circle: | [Repository](https://github.com/phpstan/phpstan){target=_blank} |
| [**pmd**](https://github.com/pmd/pmd){target=_blank} | 6.48.0 | [Apache-2.0](licenses/pmd.md) | [![GitHub stars](https://img.shields.io/github/stars/pmd/pmd?cacheSeconds=3600)](https://github.com/pmd/pmd){target=_blank} | [JAVA](descriptors/java_pmd.md) | :heart: | [MegaLinter reference](https://pmd.sourceforge.io/pmd-6.49.0/pmd_userdocs_tools_ci.html){target=_blank} |
| [**powershell**](https://github.com/PowerShell/PSScriptAnalyzer){target=_blank} | 7.3.1 | [MIT](licenses/powershell.md) | [![GitHub stars](https://img.shields.io/github/stars/PowerShell/PSScriptAnalyzer?cacheSeconds=3600)](https://github.com/PowerShell/PSScriptAnalyzer){target=_blank} | [POWERSHELL](descriptors/powershell_powershell.md) | :white_circle: | [Repository](https://github.com/PowerShell/PSScriptAnalyzer){target=_blank} |
| [**powershell_formatter**](https://github.com/PowerShell/PSScriptAnalyzer){target=_blank} | 7.3.1 | [MIT](licenses/powershell_formatter.md) | [![GitHub stars](https://img.shields.io/github/stars/PowerShell/PSScriptAnalyzer?cacheSeconds=3600)](https://github.com/PowerShell/PSScriptAnalyzer){target=_blank} | [POWERSHELL](descriptors/powershell_powershell_formatter.md) | :white_circle: | [Repository](https://github.com/PowerShell/PSScriptAnalyzer){target=_blank} |
| [**powershell**](https://github.com/PowerShell/PSScriptAnalyzer){target=_blank} | 7.3.2 | [MIT](licenses/powershell.md) | [![GitHub stars](https://img.shields.io/github/stars/PowerShell/PSScriptAnalyzer?cacheSeconds=3600)](https://github.com/PowerShell/PSScriptAnalyzer){target=_blank} | [POWERSHELL](descriptors/powershell_powershell.md) | :white_circle: | [Repository](https://github.com/PowerShell/PSScriptAnalyzer){target=_blank} |
| [**powershell_formatter**](https://github.com/PowerShell/PSScriptAnalyzer){target=_blank} | 7.3.2 | [MIT](licenses/powershell_formatter.md) | [![GitHub stars](https://img.shields.io/github/stars/PowerShell/PSScriptAnalyzer?cacheSeconds=3600)](https://github.com/PowerShell/PSScriptAnalyzer){target=_blank} | [POWERSHELL](descriptors/powershell_powershell_formatter.md) | :white_circle: | [Repository](https://github.com/PowerShell/PSScriptAnalyzer){target=_blank} |
| [**prettier**](https://github.com/prettier/prettier){target=_blank} | 2.8.3 | [MIT](licenses/prettier.md) | [![GitHub stars](https://img.shields.io/github/stars/prettier/prettier?cacheSeconds=3600)](https://github.com/prettier/prettier){target=_blank} | [JAVASCRIPT](descriptors/javascript_prettier.md)<br/> [JSON](descriptors/json_prettier.md)<br/> [TYPESCRIPT](descriptors/typescript_prettier.md)<br/> [YAML](descriptors/yaml_prettier.md) | :white_circle: | [Repository](https://github.com/prettier/prettier){target=_blank} |
| [**proselint**](https://github.com/amperser/proselint){target=_blank} | 0.13.0 | [BSD-3-Clause](licenses/proselint.md) | [![GitHub stars](https://img.shields.io/github/stars/amperser/proselint?cacheSeconds=3600)](https://github.com/amperser/proselint){target=_blank} | [SPELL](descriptors/spell_proselint.md) | :white_circle: | [Repository](https://github.com/amperser/proselint){target=_blank} |
| [**protolint**](https://github.com/yoheimuta/protolint){target=_blank} | 0.42.2 | <!-- --> | [![GitHub stars](https://img.shields.io/github/stars/yoheimuta/protolint?cacheSeconds=3600)](https://github.com/yoheimuta/protolint){target=_blank} | [PROTOBUF](descriptors/protobuf_protolint.md) | :white_circle: | [Repository](https://github.com/yoheimuta/protolint){target=_blank} |
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/powershell_powershell.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: How to use powershell (configure, ignore files, ignore errors, help

## powershell documentation

- Version in MegaLinter: **7.3.1**
- Version in MegaLinter: **7.3.2**
- Visit [Official Web Site](https://github.com/PowerShell/PSScriptAnalyzer#readme){target=_blank}
- See [How to configure powershell rules](https://learn.microsoft.com/en-us/powershell/utility-modules/psscriptanalyzer/using-scriptanalyzer?view=ps-modules#explicit){target=_blank}
- If custom `.powershell-psscriptanalyzer.psd1` config file is not found, [.powershell-psscriptanalyzer.psd1](https://github.com/oxsecurity/megalinter/tree/main/TEMPLATES/.powershell-psscriptanalyzer.psd1){target=_blank} will be used
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/powershell_powershell_formatter.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: How to use powershell_formatter (configure, ignore files, ignore er

## powershell_formatter documentation

- Version in MegaLinter: **7.3.1**
- Version in MegaLinter: **7.3.2**
- Visit [Official Web Site](https://github.com/PowerShell/PSScriptAnalyzer#readme){target=_blank}
- See [How to configure powershell_formatter rules](https://learn.microsoft.com/en-us/powershell/utility-modules/psscriptanalyzer/using-scriptanalyzer?view=ps-modules#explicit){target=_blank}
- If custom `.powershell-formatter.psd1` config file is not found, [.powershell-formatter.psd1](https://github.com/oxsecurity/megalinter/tree/main/TEMPLATES/.powershell-formatter.psd1){target=_blank} will be used
Expand Down
6 changes: 3 additions & 3 deletions docs/descriptors/python_black.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_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/terraform_checkov.md

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

Loading

0 comments on commit cc77d0c

Please sign in to comment.