Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation (#2508)
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 58de9af commit 9089038
Show file tree
Hide file tree
Showing 10 changed files with 92 additions and 25 deletions.
64 changes: 64 additions & 0 deletions .automation/generated/flavors-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -1391,6 +1391,10 @@
[
"2023-04-01T16:38:16",
2881748
],
[
"2023-04-02T01:11:16",
2882254
]
],
"ci_light": [
Expand Down Expand Up @@ -2785,6 +2789,10 @@
[
"2023-04-01T16:38:16",
56089
],
[
"2023-04-02T01:11:16",
56112
]
],
"cupcake": [
Expand Down Expand Up @@ -3159,6 +3167,10 @@
[
"2023-04-01T16:38:16",
7078
],
[
"2023-04-02T01:11:16",
7092
]
],
"dart": [
Expand Down Expand Up @@ -5463,6 +5475,10 @@
[
"2023-04-01T16:38:16",
135290
],
[
"2023-04-02T01:11:16",
135437
]
],
"dotnet": [
Expand Down Expand Up @@ -6857,6 +6873,10 @@
[
"2023-04-01T16:38:16",
369004
],
[
"2023-04-02T01:11:16",
369036
]
],
"go": [
Expand Down Expand Up @@ -8251,6 +8271,10 @@
[
"2023-04-01T16:38:16",
18417
],
[
"2023-04-02T01:11:16",
18422
]
],
"java": [
Expand Down Expand Up @@ -9645,6 +9669,10 @@
[
"2023-04-01T16:38:16",
114733
],
[
"2023-04-02T01:11:16",
114759
]
],
"javascript": [
Expand Down Expand Up @@ -11039,6 +11067,10 @@
[
"2023-04-01T16:38:16",
236566
],
[
"2023-04-02T01:11:16",
236769
]
],
"php": [
Expand Down Expand Up @@ -12433,6 +12465,10 @@
[
"2023-04-01T16:38:16",
48010
],
[
"2023-04-02T01:11:16",
48021
]
],
"python": [
Expand Down Expand Up @@ -13827,6 +13863,10 @@
[
"2023-04-01T16:38:16",
184103
],
[
"2023-04-02T01:11:16",
184251
]
],
"ruby": [
Expand Down Expand Up @@ -15217,6 +15257,10 @@
[
"2023-04-01T16:38:16",
3306
],
[
"2023-04-02T01:11:16",
3311
]
],
"rust": [
Expand Down Expand Up @@ -16607,6 +16651,10 @@
[
"2023-04-01T16:38:16",
5088
],
[
"2023-04-02T01:11:16",
5092
]
],
"salesforce": [
Expand Down Expand Up @@ -18001,6 +18049,10 @@
[
"2023-04-01T16:38:16",
17975
],
[
"2023-04-02T01:11:16",
17979
]
],
"scala": [
Expand Down Expand Up @@ -19393,6 +19445,10 @@
[
"2023-04-01T16:38:16",
6901
],
[
"2023-04-02T01:11:16",
6905
]
],
"swift": [
Expand Down Expand Up @@ -20783,6 +20839,10 @@
[
"2023-04-01T16:38:16",
3441
],
[
"2023-04-02T01:11:16",
3445
]
],
"terraform": [
Expand Down Expand Up @@ -22177,6 +22237,10 @@
[
"2023-04-01T16:38:16",
209826
],
[
"2023-04-02T01:11:16",
209971
]
]
}
4 changes: 2 additions & 2 deletions .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"php": "7.4.26",
"phpcs": "3.7.2",
"phplint": "5.5",
"phpstan": "1.10.9",
"phpstan": "1.10.10",
"pmd": "6.48.0",
"powershell": "7.3.3",
"powershell_formatter": "7.3.3",
Expand All @@ -73,7 +73,7 @@
"revive": "1.3.1",
"rst-lint": "1.4.0",
"rstcheck": "6.1.2",
"rstfmt": "0.0.12",
"rstfmt": "0.0.13",
"rubocop": "1.48.1",
"ruff": "0.0.260",
"scalafix": "0.10.4",
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- Documentation

- 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
<!-- linter-versions-end -->

## [v6.22.0] - 2023-04-01
Expand Down
4 changes: 2 additions & 2 deletions docs/all_linters.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
| [**perlcritic**](https://github.com/Perl-Critic/Perl-Critic){target=_blank} | 1.150 | [Other](licenses/perlcritic.md) | [![GitHub stars](https://img.shields.io/github/stars/Perl-Critic/Perl-Critic?cacheSeconds=3600)](https://github.com/Perl-Critic/Perl-Critic){target=_blank} | [PERL](descriptors/perl_perlcritic.md) | :white_circle: | [Repository](https://github.com/Perl-Critic/Perl-Critic){target=_blank} |
| [**phpcs**](https://github.com/squizlabs/PHP_CodeSniffer){target=_blank} | 3.7.2 | [BSD-3-Clause](licenses/phpcs.md) | [![GitHub stars](https://img.shields.io/github/stars/squizlabs/PHP_CodeSniffer?cacheSeconds=3600)](https://github.com/squizlabs/PHP_CodeSniffer){target=_blank} | [PHP](descriptors/php_phpcs.md) | :white_circle: | [Repository](https://github.com/squizlabs/PHP_CodeSniffer){target=_blank} |
| [**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.10.9 | [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} |
| [**phpstan**](https://github.com/phpstan/phpstan){target=_blank} | 1.10.10 | [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.3 | [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.3 | [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} |
Expand All @@ -77,7 +77,7 @@
| [**revive**](https://github.com/mgechev/revive){target=_blank} | 1.3.1 | [MIT](licenses/revive.md) | [![GitHub stars](https://img.shields.io/github/stars/mgechev/revive?cacheSeconds=3600)](https://github.com/mgechev/revive){target=_blank} | [GO](descriptors/go_revive.md) | :white_circle: | [Repository](https://github.com/mgechev/revive){target=_blank} |
| [**rst-lint**](https://github.com/twolfson/restructuredtext-lint){target=_blank} | 1.4.0 | <!-- --> | [![GitHub stars](https://img.shields.io/github/stars/twolfson/restructuredtext-lint?cacheSeconds=3600)](https://github.com/twolfson/restructuredtext-lint){target=_blank} | [RST](descriptors/rst_rst_lint.md) | :heart: | [MegaLinter reference](https://github.com/twolfson/restructuredtext-lint/wiki/Integration-in-other-tools#integration-in-other-tools){target=_blank} |
| [**rstcheck**](https://github.com/myint/rstcheck){target=_blank} | 6.1.2 | <!-- --> | [![GitHub stars](https://img.shields.io/github/stars/myint/rstcheck?cacheSeconds=3600)](https://github.com/myint/rstcheck){target=_blank} | [RST](descriptors/rst_rstcheck.md) | :heart: | [MegaLinter reference](https://rstcheck.readthedocs.io/en/latest/usage/integration/#use-with-mega-linter){target=_blank} |
| [**rstfmt**](https://github.com/dzhu/rstfmt){target=_blank} | 0.0.12 | <!-- --> | <!-- --> | [RST](descriptors/rst_rstfmt.md) | :hammer_and_wrench: | [Pull Request](https://github.com/dzhu/rstfmt/pull/1){target=_blank} |
| [**rstfmt**](https://github.com/dzhu/rstfmt){target=_blank} | 0.0.13 | <!-- --> | <!-- --> | [RST](descriptors/rst_rstfmt.md) | :hammer_and_wrench: | [Pull Request](https://github.com/dzhu/rstfmt/pull/1){target=_blank} |
| [**rubocop**](https://github.com/rubocop-hq/rubocop){target=_blank} | 1.48.1 | [MIT](licenses/rubocop.md) | [![GitHub stars](https://img.shields.io/github/stars/rubocop-hq/rubocop?cacheSeconds=3600)](https://github.com/rubocop-hq/rubocop){target=_blank} | [RUBY](descriptors/ruby_rubocop.md) | :heart: | [MegaLinter reference](https://docs.rubocop.org/rubocop/integration_with_other_tools.html#mega-linter-integration){target=_blank} |
| [**ruff**](https://github.com/charliermarsh/ruff){target=_blank} | 0.0.260 | [MIT](licenses/ruff.md) | [![GitHub stars](https://img.shields.io/github/stars/charliermarsh/ruff?cacheSeconds=3600)](https://github.com/charliermarsh/ruff){target=_blank} | [PYTHON](descriptors/python_ruff.md) | :white_circle: | [Repository](https://github.com/charliermarsh/ruff){target=_blank} |
| [**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} |
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/php_phpstan.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: How to use phpstan (configure, ignore files, ignore errors, help &

## phpstan documentation

- Version in MegaLinter: **1.10.9**
- Version in MegaLinter: **1.10.10**
- Visit [Official Web Site](https://phpstan.org/){target=_blank}
- See [How to configure phpstan rules](https://phpstan.org/config-reference#neon-format){target=_blank}
- If custom `phpstan.neon.dist` config file is not found, [phpstan.neon.dist](https://github.com/oxsecurity/megalinter/tree/main/TEMPLATES/phpstan.neon.dist){target=_blank} will be used
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/rst_rstfmt.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: How to use rstfmt (configure, ignore files, ignore errors, help & v

## rstfmt documentation

- Version in MegaLinter: **0.0.12**
- Version in MegaLinter: **0.0.13**
- Visit [Official Web Site](https://github.com/dzhu/rstfmt#readme){target=_blank}

[![rstfmt - GitHub](https://gh-card.dev/repos/dzhu/rstfmt.svg?fullname=)](https://github.com/dzhu/rstfmt){target=_blank}
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/scala.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ description: scalafix is available to analyze SCALA files in MegaLinter

- Dockerfile commands :
```dockerfile
RUN curl -fLo coursier https://git.io/coursier-cli && \
RUN curl --retry-all-errors --retry 10 -fLo coursier https://git.io/coursier-cli && \
chmod +x coursier

```
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/scala_scalafix.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ Less common options:
- Dockerfile commands :
```dockerfile
# Parent descriptor install
RUN curl -fLo coursier https://git.io/coursier-cli && \
RUN curl --retry-all-errors --retry 10 -fLo coursier https://git.io/coursier-cli && \
chmod +x coursier

# Linter install
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/spell_misspell.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Usage of misspell:
```dockerfile
RUN ML_THIRD_PARTY_DIR="/third-party/misspell" \
&& mkdir -p ${ML_THIRD_PARTY_DIR} \
&& curl -L -o ${ML_THIRD_PARTY_DIR}/install-misspell.sh https://git.io/misspell \
&& curl --retry 10 --retry-all-errors -L -o ${ML_THIRD_PARTY_DIR}/install-misspell.sh https://git.io/misspell \
&& sh .${ML_THIRD_PARTY_DIR}/install-misspell.sh \
&& find ${ML_THIRD_PARTY_DIR} -type f -not -name 'LICENSE*' -delete -o -type d -empty -delete \
&& find /tmp -path '/tmp/tmp.*' -type f -name 'misspell*' -delete -o -type d -empty -delete
Expand Down
Loading

0 comments on commit 9089038

Please sign in to comment.