Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation (#3585)
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam authored May 27, 2024
1 parent d9c79a9 commit c0409fa
Show file tree
Hide file tree
Showing 24 changed files with 23,554 additions and 23,530 deletions.
4 changes: 2 additions & 2 deletions .automation/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ def build_dockerfile(
+ ' && chown -R "$(id -u)":"$(id -g)" node_modules # fix for https://github.com/npm/cli/issues/5900 \\\n'
+ ' && echo "Removing extra node_module files…" \\\n'
+ ' && find . \\( -not -path "/proc" \\)'
+ ' -and \\( -type f'
+ " -and \\( -type f"
+ ' \\( -iname "*.d.ts"'
+ ' -o -iname "*.map"'
+ ' -o -iname "*.npmignore"'
Expand All @@ -532,7 +532,7 @@ def build_dockerfile(
+ ' -o -iname "README.md"'
+ ' -o -iname ".package-lock.json"'
+ ' -o -iname "package-lock.json"'
+ ' \\) -o -type d -name /root/.npm/_cacache \\) -delete \n'
+ " \\) -o -type d -name /root/.npm/_cacache \\) -delete \n"
+ "WORKDIR /\n"
)
replace_in_file(dockerfile, "#NPM__START", "#NPM__END", npm_install_command)
Expand Down
54 changes: 31 additions & 23 deletions .automation/generated/linter-helps.json

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

12 changes: 6 additions & 6 deletions .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"black": "24.4.2",
"cfn-lint": "0.87.3",
"checkmake": "0.2.0",
"checkov": "3.2.107",
"checkstyle": "10.16.0",
"checkov": "3.2.109",
"checkstyle": "10.17.0",
"chktex": "1.7.8",
"clang-format": "17.0.5",
"clippy": "0.1.78",
Expand All @@ -34,15 +34,15 @@
"gherkin-lint": "0.0.0",
"git_diff": "2.43.4",
"gitleaks": "8.18.2",
"golangci-lint": "1.58.2",
"golangci-lint": "1.59.0",
"goodcheck": "3.1.0",
"graphql-schema-linter": "3.0.1",
"grype": "0.77.4",
"hadolint": "2.12.0",
"helm": "3.14.2",
"htmlhint": "1.1.4",
"isort": "5.13.2",
"jscpd": "3.5.10",
"jscpd": "4.0.1",
"jsonlint": "14.0.3",
"kics": "2.0.1",
"ktlint": "1.2.1",
Expand Down Expand Up @@ -95,7 +95,7 @@
"shellcheck": "0.10.0",
"shfmt": "3.8.0",
"snakefmt": "0.10.2",
"snakemake": "8.11.6",
"snakemake": "8.12.0",
"spectral": "6.11.1",
"sql-lint": "1.0.0",
"sqlfluff": "3.0.7",
Expand All @@ -105,7 +105,7 @@
"syft": "1.4.1",
"tekton-lint": "1.1.0",
"terraform-fmt": "1.8.4",
"terragrunt": "0.58.9",
"terragrunt": "0.58.10",
"terrascan": "1.18.11",
"tflint": "0.51.0",
"trivy": "0.51.4",
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,12 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [terraform-fmt](https://developer.hashicorp.com/terraform/cli/commands/fmt) from 1.8.3 to **1.8.4** on 2024-05-25
- [terragrunt](https://terragrunt.gruntwork.io) from 0.58.7 to **0.58.9** on 2024-05-25
- [markdownlint](https://github.com/DavidAnson/markdownlint) from 0.40.0 to **0.41.0** on 2024-05-26
- [jscpd](https://github.com/kucherenko/jscpd/tree/master/packages/jscpd) from 3.5.10 to **4.0.1** on 2024-05-27
- [golangci-lint](https://golangci-lint.run/) from 1.58.2 to **1.59.0** on 2024-05-27
- [checkstyle](https://checkstyle.org/) from 10.16.0 to **10.17.0** on 2024-05-27
- [checkov](https://www.checkov.io/) from 3.2.107 to **3.2.109** on 2024-05-27
- [snakemake](https://snakemake.readthedocs.io/en/stable/) from 8.11.6 to **8.12.0** on 2024-05-27
- [terragrunt](https://terragrunt.gruntwork.io) from 0.58.9 to **0.58.10** on 2024-05-27
<!-- linter-versions-end -->

## [v7.11.1] - 2024-04-23
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=2490&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=2492&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 c0409fa

Please sign in to comment.