Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[automation] Auto-update linters version, help and documentation #3488

Merged
merged 4 commits into from
Apr 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
510 changes: 259 additions & 251 deletions .automation/generated/linter-helps.json

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"bash-exec": "5.2.21",
"bicep_linter": "0.26.170",
"black": "24.4.0",
"cfn-lint": "0.86.2",
"cfn-lint": "0.86.3",
"checkmake": "0.2.0",
"checkov": "3.2.63",
"checkov": "3.2.70",
"checkstyle": "10.15.0",
"chktex": "1.7.8",
"clang-format": "17.0.5",
Expand All @@ -17,7 +17,7 @@
"cljstyle": "0.15.0",
"coffeelint": "5.2.11",
"cpplint": "1.6.1",
"csharpier": "0.28.0",
"csharpier": "0.28.1",
"cspell": "8.7.0",
"dartanalyzer": "0.0.0",
"detekt": "1.23.5",
Expand All @@ -37,7 +37,7 @@
"golangci-lint": "1.57.2",
"goodcheck": "3.1.0",
"graphql-schema-linter": "3.0.1",
"grype": "0.75.0",
"grype": "0.76.0",
"hadolint": "2.12.0",
"helm": "3.14.2",
"htmlhint": "1.1.4",
Expand All @@ -58,13 +58,13 @@
"markdownlint": "0.39.0",
"misspell": "0.3.4",
"mypy": "1.9.0",
"npm-groovy-lint": "14.4.0",
"npm-groovy-lint": "14.4.1",
"npm-package-json-lint": "7.1.0",
"perlcritic": "1.152",
"php": "7.4.26",
"phpcs": "3.9.1",
"phplint": "9.1.2",
"phpstan": "1.10.66",
"phpstan": "1.10.67",
"pmd": "6.55.0",
"powershell": "7.4.1",
"powershell_formatter": "7.4.1",
Expand All @@ -74,15 +74,15 @@
"psalm": "Psalm.5.23.1@",
"puppet-lint": "4.2.4",
"pylint": "3.1.0",
"pyright": "1.1.358",
"pyright": "1.1.359",
"raku": "2020.10",
"remark-lint": "14.0.2",
"revive": "1.3.7",
"roslynator": "0.8.4.0",
"roslynator": "0.8.6.0",
"rst-lint": "1.4.0",
"rstcheck": "6.2.1",
"rstfmt": "0.0.14",
"rubocop": "1.63.1",
"rubocop": "1.63.2",
"ruff": "0.3.7",
"scalafix": "0.12.0",
"scss-lint": "0.60.0",
Expand All @@ -94,7 +94,7 @@
"sfdx-scanner-lwc": "3.23.0",
"shellcheck": "0.10.0",
"shfmt": "3.8.0",
"snakefmt": "0.10.0",
"snakefmt": "0.10.1",
"snakemake": "8.10.7",
"spectral": "6.11.1",
"sql-lint": "1.0.0",
Expand Down
3 changes: 2 additions & 1 deletion .mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,19 @@ DISABLE:
DISABLE_LINTERS:
- JSON_PRETTIER
- MARKDOWN_MARKDOWN_LINK_CHECK
- PYTHON_PYRIGHT
- REPOSITORY_GITLEAKS
- REPOSITORY_KICS
- SPELL_PROSELINT
- SPELL_MISSPELL
- SPELL_VALE
DISABLE_ERRORS_LINTERS:
- PYTHON_BANDIT
- PYTHON_PYRIGHT
- REPOSITORY_DEVSKIM
- REPOSITORY_GRYPE
- REPOSITORY_SEMGREP
- REPOSITORY_TRUFFLEHOG
- SPELL_LYCHEE
PRINT_ALL_FILES: false
FILTER_REGEX_EXCLUDE: '(\.automation/test|\.automation/generated|\.venv|\.github/workflows|docs/javascripts|docs/overrides|docs/json-schemas|flavors|clj-kondo|TEMPLATES)'
JSON_JSONLINT_FILTER_REGEX_EXCLUDE: '(\.vscode/)'
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- Update [Roslynator](https://github.com/dotnet/roslynator) repo url and logo

- CI
- Make SPELL_LYCHEE non blocking for internal CI jobs

- Linter versions upgrades
- [markdown-link-check](https://github.com/tcort/markdown-link-check) from 3.11.2 to **3.12.0** on 2024-03-10
Expand Down Expand Up @@ -149,6 +150,16 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [lightning-flow-scanner](https://github.com/Lightning-Flow-Scanner) from 2.21.0 to **2.22.0** on 2024-04-14
- [terraform-fmt](https://developer.hashicorp.com/terraform/cli/commands/fmt) from 1.7.5 to **1.8.0** on 2024-04-14
- [terragrunt](https://terragrunt.gruntwork.io) from 0.56.2 to **0.57.0** on 2024-04-14
- [cfn-lint](https://github.com/aws-cloudformation/cfn-lint) from 0.86.2 to **0.86.3** on 2024-04-17
- [csharpier](https://csharpier.com/) from 0.28.0 to **0.28.1** on 2024-04-17
- [roslynator](https://github.com/dotnet/Roslynator) from 0.8.4.0 to **0.8.6.0** on 2024-04-17
- [npm-groovy-lint](https://nvuillam.github.io/npm-groovy-lint/) from 14.4.0 to **14.4.1** on 2024-04-17
- [phpstan](https://phpstan.org/) from 1.10.66 to **1.10.67** on 2024-04-17
- [pyright](https://github.com/Microsoft/pyright) from 1.1.358 to **1.1.359** on 2024-04-17
- [checkov](https://www.checkov.io/) from 3.2.63 to **3.2.70** on 2024-04-17
- [grype](https://github.com/anchore/grype) from 0.75.0 to **0.76.0** on 2024-04-17
- [rubocop](https://rubocop.org/) from 1.63.1 to **1.63.2** on 2024-04-17
- [snakefmt](https://github.com/snakemake/snakefmt) from 0.10.0 to **0.10.1** on 2024-04-17
<!-- linter-versions-end -->

## [v7.10.0] - 2024-03-10
Expand Down
36 changes: 18 additions & 18 deletions README.md

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions docs/all_linters.md

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions docs/descriptors/action_actionlint.md

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions docs/descriptors/ansible_ansible_lint.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/descriptors/arm_arm_ttk.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ This linter is available in the following flavours
| <!-- --> | Flavor | Description | Embedded linters | Info |
|:--------------------------------------------------------------------------------------------------------------------------------------------------------:|:-----------------------------------------------------------|:---------------------------------------------------------|:----------------:|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
| <img src="https://github.com/oxsecurity/megalinter/raw/main/docs/assets/images/mega-linter-square.png" alt="" height="32px" class="megalinter-icon"></a> | [all](https://megalinter.io/beta/supported-linters/) | Default MegaLinter Flavor | 122 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/oxsecurity/megalinter/beta) ![Docker Pulls](https://img.shields.io/docker/pulls/oxsecurity/megalinter) |
| <img src="https://github.com/oxsecurity/megalinter/raw/main/docs/assets/icons/dotnet.ico" alt="" height="32px" class="megalinter-icon"></a> | [dotnet](https://megalinter.io/beta/flavors/dotnet/) | Optimized for C, C++, C# or VB based projects | 65 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/oxsecurity/megalinter-dotnet/beta) ![Docker Pulls](https://img.shields.io/docker/pulls/oxsecurity/megalinter-dotnet) |
| <img src="https://github.com/oxsecurity/megalinter/raw/main/docs/assets/icons/dotnetweb.ico" alt="" height="32px" class="megalinter-icon"></a> | [dotnetweb](https://megalinter.io/beta/flavors/dotnetweb/) | Optimized for C, C++, C# or VB based projects with JS/TS | 74 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/oxsecurity/megalinter-dotnetweb/beta) ![Docker Pulls](https://img.shields.io/docker/pulls/oxsecurity/megalinter-dotnetweb) |
| <img src="https://github.com/oxsecurity/megalinter/raw/main/docs/assets/icons/dotnet.ico" alt="" height="32px" class="megalinter-icon"></a> | [dotnet](https://megalinter.io/beta/flavors/dotnet/) | Optimized for C, C++, C# or VB based projects | 64 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/oxsecurity/megalinter-dotnet/beta) ![Docker Pulls](https://img.shields.io/docker/pulls/oxsecurity/megalinter-dotnet) |
| <img src="https://github.com/oxsecurity/megalinter/raw/main/docs/assets/icons/dotnetweb.ico" alt="" height="32px" class="megalinter-icon"></a> | [dotnetweb](https://megalinter.io/beta/flavors/dotnetweb/) | Optimized for C, C++, C# or VB based projects with JS/TS | 73 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/oxsecurity/megalinter-dotnetweb/beta) ![Docker Pulls](https://img.shields.io/docker/pulls/oxsecurity/megalinter-dotnetweb) |

## Behind the scenes

Expand Down
Loading
Loading