Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation (#2511)
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 <nvuillam@users.noreply.github.com>
  • Loading branch information
nvuillam and nvuillam authored Apr 2, 2023
1 parent 0f403ca commit 90985bb
Show file tree
Hide file tree
Showing 13 changed files with 59 additions and 57 deletions.
64 changes: 32 additions & 32 deletions .automation/generated/flavors-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -1393,8 +1393,8 @@
2881748
],
[
"2023-04-02T01:11:16",
2882254
"2023-04-02T09:07:52",
2882588
]
],
"ci_light": [
Expand Down Expand Up @@ -2791,8 +2791,8 @@
56089
],
[
"2023-04-02T01:11:16",
56112
"2023-04-02T09:07:52",
56124
]
],
"cupcake": [
Expand Down Expand Up @@ -3169,8 +3169,8 @@
7078
],
[
"2023-04-02T01:11:16",
7092
"2023-04-02T09:07:52",
7097
]
],
"dart": [
Expand Down Expand Up @@ -5477,8 +5477,8 @@
135290
],
[
"2023-04-02T01:11:16",
135437
"2023-04-02T09:07:52",
135496
]
],
"dotnet": [
Expand Down Expand Up @@ -6875,8 +6875,8 @@
369004
],
[
"2023-04-02T01:11:16",
369036
"2023-04-02T09:07:52",
369065
]
],
"go": [
Expand Down Expand Up @@ -8273,8 +8273,8 @@
18417
],
[
"2023-04-02T01:11:16",
18422
"2023-04-02T09:07:52",
18427
]
],
"java": [
Expand Down Expand Up @@ -9671,8 +9671,8 @@
114733
],
[
"2023-04-02T01:11:16",
114759
"2023-04-02T09:07:52",
114778
]
],
"javascript": [
Expand Down Expand Up @@ -11069,8 +11069,8 @@
236566
],
[
"2023-04-02T01:11:16",
236769
"2023-04-02T09:07:52",
236847
]
],
"php": [
Expand Down Expand Up @@ -12467,8 +12467,8 @@
48010
],
[
"2023-04-02T01:11:16",
48021
"2023-04-02T09:07:52",
48026
]
],
"python": [
Expand Down Expand Up @@ -13865,8 +13865,8 @@
184103
],
[
"2023-04-02T01:11:16",
184251
"2023-04-02T09:07:52",
184341
]
],
"ruby": [
Expand Down Expand Up @@ -15259,8 +15259,8 @@
3306
],
[
"2023-04-02T01:11:16",
3311
"2023-04-02T09:07:52",
3315
]
],
"rust": [
Expand Down Expand Up @@ -16653,8 +16653,8 @@
5088
],
[
"2023-04-02T01:11:16",
5092
"2023-04-02T09:07:52",
5096
]
],
"salesforce": [
Expand Down Expand Up @@ -18051,8 +18051,8 @@
17975
],
[
"2023-04-02T01:11:16",
17979
"2023-04-02T09:07:52",
17985
]
],
"scala": [
Expand Down Expand Up @@ -19447,8 +19447,8 @@
6901
],
[
"2023-04-02T01:11:16",
6905
"2023-04-02T09:07:52",
6909
]
],
"swift": [
Expand Down Expand Up @@ -20841,8 +20841,8 @@
3441
],
[
"2023-04-02T01:11:16",
3445
"2023-04-02T09:07:52",
3447
]
],
"terraform": [
Expand Down Expand Up @@ -22239,8 +22239,8 @@
209826
],
[
"2023-04-02T01:11:16",
209971
"2023-04-02T09:07:52",
210063
]
]
}
2 changes: 1 addition & 1 deletion .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"black": "23.3.0",
"cfn-lint": "0.76.1",
"checkmake": "0.2.0",
"checkov": "2.3.141",
"checkov": "2.3.142",
"checkstyle": "10.9.3",
"chktex": "1.7.6",
"clippy": "0.1.68",
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- Linter versions upgrades
- [phpstan](https://phpstan.org/) from 1.10.9 to **1.10.10** on 2023-04-02
- [rstfmt](https://github.com/dzhu/rstfmt) from 0.0.12 to **0.0.13** on 2023-04-02
- [checkov](https://www.checkov.io/) from 2.3.141 to **2.3.142** on 2023-04-02
<!-- linter-versions-end -->

## [v6.22.0] - 2023-04-01
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=2177&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=2180&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
2 changes: 1 addition & 1 deletion docs/all_linters.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
| [**black**](https://github.com/psf/black){target=_blank} | 23.3.0 | [MIT](licenses/black.md) | [![GitHub stars](https://img.shields.io/github/stars/psf/black?cacheSeconds=3600)](https://github.com/psf/black){target=_blank} | [PYTHON](descriptors/python_black.md) | :white_circle: | [Repository](https://github.com/psf/black){target=_blank} |
| [**cfn-lint**](https://github.com/aws-cloudformation/cfn-lint){target=_blank} | 0.76.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} | 2.3.141 | [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)<br/> [TERRAFORM](descriptors/terraform_checkov.md) | :no_entry_sign: | [Repository](https://github.com/bridgecrewio/checkov){target=_blank} |
| [**checkov**](https://github.com/bridgecrewio/checkov){target=_blank} | 2.3.142 | [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)<br/> [TERRAFORM](descriptors/terraform_checkov.md) | :no_entry_sign: | [Repository](https://github.com/bridgecrewio/checkov){target=_blank} |
| [**checkstyle**](https://github.com/checkstyle/checkstyle){target=_blank} | 10.9.3 | [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.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.68 | [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
1 change: 1 addition & 0 deletions docs/badge.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ You can show MegaLinter status with a badge in your repository README
[![MegaLinter](https://github.com/oxsecurity/megalinter/workflows/MegaLinter/badge.svg?branch=main)](https://github.com/oxsecurity/megalinter/actions?query=workflow%3AMegaLinter+branch%3Amain)

_If your main branch is **master** , replace **main** by **master** in URLs_

## Markdown

- Format
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ DISABLE: PHP
- Run all linters except PHP_PHPSTAN and PHP_PSALM linters
```yaml
DISABLE_LINTERS:
DISABLE_LINTERS:
- PHP_PHPSTAN
- PHP_PSALM
```
Expand Down
2 changes: 1 addition & 1 deletion 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/terraform_checkov.md

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

1 change: 0 additions & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ Create a Gitlab access token and define it in a variable **GITLAB_ACCESS_TOKEN_M

![Screenshot](https://github.com/oxsecurity/megalinter/blob/main/docs/assets/images/TextReporter_gitlab_1.jpg?raw=true>)


## Azure Pipelines

Use the following Azure Pipelines [YAML template](https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema)
Expand Down
10 changes: 5 additions & 5 deletions docs/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ PLUGINS:
## Plugins Catalog
* [jupyfmt](https://github.com/kpj/jupyfmt): The uncompromising Jupyter notebook formatter ([usage](https://github.com/kpj/jupyfmt#mega-linter-integration))
* [linkcheck](https://github.com/shiranr/linkcheck): Plugin to check and validate markdown links exist and working.
* [nitpick](https://github.com/andreoliwa/nitpick): Command-line tool and flake8 plugin to enforce the same settings across multiple language-independent projects. ([usage](https://github.com/andreoliwa/nitpick#run-as-a-megalinter-plugin))
* [mustache](https://github.com/one-acre-fund/mega-linter-plugin-logstash): Plugin to validate [Logstash](https://www.elastic.co/guide/en/logstash/current/configuration.html) pipeline definition files using [mustache](https://github.com/breml/logstash-config)
* [salt-lint](https://github.com/ssc-services/mega-linter-plugin-salt): Checks Salt State files (SLS) for best practices and behavior that could potentially be improved.
- [jupyfmt](https://github.com/kpj/jupyfmt): The uncompromising Jupyter notebook formatter ([usage](https://github.com/kpj/jupyfmt#mega-linter-integration))
- [linkcheck](https://github.com/shiranr/linkcheck): Plugin to check and validate markdown links exist and working.
- [nitpick](https://github.com/andreoliwa/nitpick): Command-line tool and flake8 plugin to enforce the same settings across multiple language-independent projects. ([usage](https://github.com/andreoliwa/nitpick#run-as-a-megalinter-plugin))
- [mustache](https://github.com/one-acre-fund/mega-linter-plugin-logstash): Plugin to validate [Logstash](https://www.elastic.co/guide/en/logstash/current/configuration.html) pipeline definition files using [mustache](https://github.com/breml/logstash-config)
- [salt-lint](https://github.com/ssc-services/mega-linter-plugin-salt): Checks Salt State files (SLS) for best practices and behavior that could potentially be improved.
Submit a PR if you want your plugin to appear here :)
Expand Down
1 change: 0 additions & 1 deletion docs/special-thanks.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ description: List of all contributors, websites and linters that help MegaLinter
<img src="https://contrib.rocks/image?repo=oxsecurity/megalinter" />
</a>


## Sites referring to MegaLinter

### Web Sites
Expand Down
Loading

0 comments on commit 90985bb

Please sign in to comment.