Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation (#3967)
Browse files Browse the repository at this point in the history
* [automation] Auto-update linters version, help and documentation

* [MegaLinter] Apply linters fixes

* trvy

* fix jsx config

* Add  ghcr.io/astral-sh/uv to renovate packageRule names

* Fix jsx test case

* rhaaa

* don't use globals

* try again

* try again again

---------

Co-authored-by: nvuillam <[email protected]>
Co-authored-by: Edouard Choinière <[email protected]>
  • Loading branch information
3 people authored Sep 7, 2024
1 parent 27607f9 commit f7bee70
Show file tree
Hide file tree
Showing 29 changed files with 586 additions and 574 deletions.
475 changes: 240 additions & 235 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,13 +6,13 @@
"bash-exec": "5.2.26",
"bicep_linter": "0.29.47",
"black": "24.8.0",
"cfn-lint": "1.12.1",
"cfn-lint": "1.12.4",
"checkmake": "0.2.0",
"checkov": "3.2.242",
"checkov": "3.2.246",
"checkstyle": "10.18.1",
"chktex": "1.7.8",
"clang-format": "17.0.6",
"clippy": "0.1.80",
"clippy": "0.1.81",
"clj-kondo": "2024.08.29",
"cljstyle": "0.15.0",
"coffeelint": "5.2.11",
Expand Down Expand Up @@ -66,7 +66,7 @@
"php-cs-fixer": "3.64.0",
"phpcs": "3.10.2",
"phplint": "9.4.1",
"phpstan": "1.12.1",
"phpstan": "1.12",
"pmd": "7.5.0",
"powershell": "7.4.2",
"powershell_formatter": "7.4.2",
Expand All @@ -76,16 +76,16 @@
"psalm": "Psalm.5.25.0@",
"puppet-lint": "4.2.4",
"pylint": "3.2.7",
"pyright": "1.1.378",
"pyright": "1.1.379",
"raku": "2020.10",
"remark-lint": "14.0.2",
"revive": "1.3.9",
"roslynator": "0.8.9.0",
"rst-lint": "1.4.0",
"rstcheck": "6.2.4",
"rstfmt": "0.0.14",
"rubocop": "1.66.0",
"ruff": "0.6.3",
"rubocop": "1.66.1",
"ruff": "0.6.4",
"scalafix": "0.12.1",
"scss-lint": "0.60.0",
"secretlint": "8.2.4",
Expand All @@ -97,7 +97,7 @@
"shellcheck": "0.10.0",
"shfmt": "3.9.0",
"snakefmt": "0.10.2",
"snakemake": "8.19.0",
"snakemake": "8.19.3",
"spectral": "6.11.1",
"sql-lint": "1.0.0",
"sqlfluff": "3.1.1",
Expand All @@ -110,8 +110,8 @@
"terragrunt": "0.67.1",
"terrascan": "1.19.1",
"tflint": "0.53.0",
"trivy": "0.54.1",
"trivy-sbom": "0.54.1",
"trivy": "0.55.0",
"trivy-sbom": "0.55.0",
"trufflehog": "3.81.10",
"ts-standard": "12.0.2",
"tsqllint": "1.15.3.0",
Expand Down
22 changes: 0 additions & 22 deletions .automation/test/jsx/.eslintrc.json

This file was deleted.

8 changes: 8 additions & 0 deletions .automation/test/jsx/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const reactPlugin = require('eslint-plugin-react');

module.exports = [
{
files: ['**/*.{js,mjs,cjs,jsx,mjsx,ts,tsx,mtsx}'],
...reactPlugin.configs.flat.recommended, // This is not a plugin object, but a shareable config object
}
];
4 changes: 4 additions & 0 deletions .trivyignore
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ CVE-2024-29415
CVE-2024-39338
# mega-linter-runner
CVE-2024-4067
# libexpat
CVE-2024-45490
CVE-2024-45491
CVE-2024-45492

# Dockerfile
DS001
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,16 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [shfmt](https://github.com/mvdan/sh) from 3.8.0 to **3.9.0** on 2024-09-03
- [cfn-lint](https://github.com/aws-cloudformation/cfn-lint) from 1.11.1 to **1.12.1** on 2024-09-03
- [phpstan](https://phpstan.org/) from 1.12.0 to **1.12.1** on 2024-09-03
- [cfn-lint](https://github.com/aws-cloudformation/cfn-lint) from 1.12.1 to **1.12.4** on 2024-09-06
- [phpstan](https://phpstan.org/) from 1.12.1 to **1.12** on 2024-09-06
- [pyright](https://github.com/Microsoft/pyright) from 1.1.378 to **1.1.379** on 2024-09-06
- [ruff](https://github.com/astral-sh/ruff) from 0.6.3 to **0.6.4** on 2024-09-06
- [checkov](https://www.checkov.io/) from 3.2.242 to **3.2.246** on 2024-09-06
- [trivy-sbom](https://aquasecurity.github.io/trivy/) from 0.54.1 to **0.55.0** on 2024-09-06
- [trivy](https://aquasecurity.github.io/trivy/) from 0.54.1 to **0.55.0** on 2024-09-06
- [rubocop](https://rubocop.org/) from 1.66.0 to **1.66.1** on 2024-09-06
- [clippy](https://github.com/rust-lang/rust-clippy) from 0.1.80 to **0.1.81** on 2024-09-06
- [snakemake](https://snakemake.readthedocs.io/en/stable/) from 8.19.0 to **8.19.3** on 2024-09-06
<!-- linter-versions-end -->

## [v8.0.0] - 2024-08-19
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 -->
[![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=2613&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/blob/main/./docs/used-by-stats.md)<!-- gh-dependents-info-used-by-end -->
[![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=2615&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/blob/main/./docs/used-by-stats.md)<!-- 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
Loading

0 comments on commit f7bee70

Please sign in to comment.