Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation (#3433)
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 <[email protected]>
  • Loading branch information
nvuillam and nvuillam authored Mar 16, 2024
1 parent 168e522 commit 4de6441
Show file tree
Hide file tree
Showing 24 changed files with 21,228 additions and 21,225 deletions.
44 changes: 22 additions & 22 deletions .automation/generated/linter-helps.json

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

6 changes: 3 additions & 3 deletions .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"kubeconform": "0.6.4",
"kubescape": "2.9.0",
"kubeval": "0.16.1",
"lightning-flow-scanner": "2.18.0",
"lightning-flow-scanner": "2.19.0",
"lintr": "0.0.0",
"luacheck": "1.1.2",
"lychee": "0.14.3",
Expand All @@ -69,7 +69,7 @@
"powershell_formatter": "7.4.1",
"prettier": "3.2.5",
"proselint": "0.13.0",
"protolint": "0.49.1",
"protolint": "0.49.2",
"psalm": "Psalm.5.23.1@",
"puppet-lint": "4.2.4",
"pylint": "3.1.0",
Expand Down Expand Up @@ -109,7 +109,7 @@
"tflint": "0.50.3",
"trivy": "0.49.1",
"trivy-sbom": "0.49.1",
"trufflehog": "3.70.0",
"trufflehog": "3.70.1",
"ts-standard": "12.0.2",
"tsqllint": "1.15.3.0",
"v8r": "3.0.0",
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [ruff](https://github.com/astral-sh/ruff) from 0.3.2 to **0.3.3** on 2024-03-15
- [trufflehog](https://github.com/trufflesecurity/trufflehog) from 3.69.0 to **3.70.0** on 2024-03-15
- [snakemake](https://snakemake.readthedocs.io/en/stable/) from 8.7.0 to **8.8.0** on 2024-03-15
- [protolint](https://github.com/yoheimuta/protolint) from 0.49.1 to **0.49.2** on 2024-03-16
- [trufflehog](https://github.com/trufflesecurity/trufflehog) from 3.70.0 to **3.70.1** on 2024-03-16
- [lightning-flow-scanner](https://github.com/Lightning-Flow-Scanner) from 2.18.0 to **2.19.0** on 2024-03-16
<!-- linter-versions-end -->

## [v7.10.0] - 2024-03-10
Expand Down
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ RUN --mount=type=secret,id=GITHUB_TOKEN GITHUB_AUTH_TOKEN="$(cat /run/secrets/GI
# Next line commented because already managed by another linter
# ENV PATH="$JAVA_HOME/bin:${PATH}"
RUN sf plugins install @salesforce/plugin-packaging \
&& echo y|sfdx plugins:install sfdx-hardis \
&& echo y|sf plugins install sfdx-hardis \
&& npm cache clean --force || true \
&& rm -rf /root/.npm/_cacache \

Expand Down Expand Up @@ -700,24 +700,24 @@ RUN curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh |
# Managed with COPY --link --from=trufflehog /usr/bin/trufflehog /usr/bin/

# sfdx-scanner-apex installation
&& sfdx plugins:install @salesforce/sfdx-scanner \
&& sf plugins install @salesforce/sfdx-scanner \
&& npm cache clean --force || true \
&& rm -rf /root/.npm/_cacache \

# sfdx-scanner-aura installation
# Next line commented because already managed by another linter
# RUN sfdx plugins:install @salesforce/sfdx-scanner \
# RUN sf plugins install @salesforce/sfdx-scanner \
# && npm cache clean --force || true \
# && rm -rf /root/.npm/_cacache

# sfdx-scanner-lwc installation
# Next line commented because already managed by another linter
# RUN sfdx plugins:install @salesforce/sfdx-scanner \
# RUN sf plugins install @salesforce/sfdx-scanner \
# && npm cache clean --force || true \
# && rm -rf /root/.npm/_cacache

# lightning-flow-scanner installation
&& echo y|sfdx plugins:install lightning-flow-scanner \
&& echo y|sf plugins install lightning-flow-scanner \
&& npm cache clean --force || true \
&& rm -rf /root/.npm/_cacache \

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=2402&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=2401&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 4de6441

Please sign in to comment.