Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation (#4297)
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 Nov 22, 2024
1 parent 797a3d1 commit 7f790c0
Show file tree
Hide file tree
Showing 11 changed files with 48 additions and 59 deletions.
20 changes: 10 additions & 10 deletions .automation/generated/linter-helps.json

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

2 changes: 1 addition & 1 deletion .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"rstcheck": "6.2.4",
"rstfmt": "0.0.14",
"rubocop": "1.68.0",
"ruff": "0.7.4",
"ruff": "0.8.0",
"scalafix": "0.13.0",
"scss-lint": "0.60.0",
"secretlint": "9.0.0",
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [checkov](https://www.checkov.io/) from 3.2.307 to **3.2.311** on 2024-11-21
- [syft](https://github.com/anchore/syft) from 1.16.0 to **1.17.0** on 2024-11-21
- [trufflehog](https://github.com/trufflesecurity/trufflehog) from 3.83.7 to **3.84.0** on 2024-11-22
- [ruff](https://github.com/astral-sh/ruff) from 0.7.4 to **0.8.0** on 2024-11-22
<!-- linter-versions-end -->

## [v8.2.0] - 2024-11-17
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=2773&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=2752&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
2 changes: 1 addition & 1 deletion docs/all_linters.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
| [**rstcheck**](https://github.com/myint/rstcheck){target=_blank} | 6.2.4 | [MIT](licenses/rstcheck.md) | [![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.14 | <!-- --> | <!-- --> | [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.68.0 | [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/astral-sh/ruff){target=_blank} | 0.7.4 | [MIT](licenses/ruff.md) | [![GitHub stars](https://img.shields.io/github/stars/astral-sh/ruff?cacheSeconds=3600)](https://github.com/astral-sh/ruff){target=_blank} | [PYTHON](descriptors/python_ruff.md) | :white_circle: | [Repository](https://github.com/astral-sh/ruff){target=_blank} |
| [**ruff**](https://github.com/astral-sh/ruff){target=_blank} | 0.8.0 | [MIT](licenses/ruff.md) | [![GitHub stars](https://img.shields.io/github/stars/astral-sh/ruff?cacheSeconds=3600)](https://github.com/astral-sh/ruff){target=_blank} | [PYTHON](descriptors/python_ruff.md) | :white_circle: | [Repository](https://github.com/astral-sh/ruff){target=_blank} |
| [**scalafix**](https://github.com/scalacenter/scalafix){target=_blank} | 0.13.0 | [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} |
| [**secretlint**](https://github.com/secretlint/secretlint){target=_blank} | 9.0.0 | [MIT](licenses/secretlint.md) | [![GitHub stars](https://img.shields.io/github/stars/secretlint/secretlint?cacheSeconds=3600)](https://github.com/secretlint/secretlint){target=_blank} | [REPOSITORY](descriptors/repository_secretlint.md) | :heart: | [MegaLinter reference](https://github.com/secretlint/secretlint#mega-linter){target=_blank} |
| [**selene**](https://github.com/Kampfkarren/selene){target=_blank} | 0.27.1 | <!-- --> | [![GitHub stars](https://img.shields.io/github/stars/Kampfkarren/selene?cacheSeconds=3600)](https://github.com/Kampfkarren/selene){target=_blank} | [LUA](descriptors/lua_selene.md) | :no_entry_sign: | [Repository](https://github.com/Kampfkarren/selene){target=_blank} |
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/python_ruff.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ An extremely fast Python linter, written in Rust.

## ruff documentation

- Version in MegaLinter: **0.7.4**
- Version in MegaLinter: **0.8.0**
- Visit [Official Web Site](https://github.com/astral-sh/ruff#readme){target=_blank}
- See [How to configure ruff rules](https://docs.astral.sh/ruff/configuration/){target=_blank}
- If custom `.ruff.toml` config file isn't found, [.ruff.toml](https://github.com/oxsecurity/megalinter/tree/main/TEMPLATES/.ruff.toml){target=_blank} will be used
Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/repository_checkov.md

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

4 changes: 2 additions & 2 deletions docs/descriptors/salesforce_sfdx_scanner_aura.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ sf scanner:run

```shell
› Warning: @salesforce/cli update available from 2.66.7 to 2.67.7.
(node:1965) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(node:1961) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Scan a codebase with all the rules in the registry, or use parameters to filter the rules based on rulename, category, or ruleset.

Expand Down Expand Up @@ -147,7 +147,7 @@ COMMANDS
scanner run dfa Scan codebase with all DFA rules by default.

› Warning: @salesforce/cli update available from 2.66.7 to 2.67.7.
(node:1977) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(node:1973) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Warning: We're continually improving Salesforce Code Analyzer. Tell us what you think! Give feedback at http://sfdc.co/CodeAnalyzerFeedback
name languages categories rulesets [dep] engine is dfa is pilot
Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/salesforce_sfdx_scanner_lwc.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ sf scanner:run

```shell
› Warning: @salesforce/cli update available from 2.66.7 to 2.67.7.
(node:2159) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(node:2151) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Scan a codebase with all the rules in the registry, or use parameters to filter the rules based on rulename, category, or ruleset.

Expand Down Expand Up @@ -147,7 +147,7 @@ COMMANDS
scanner run dfa Scan codebase with all DFA rules by default.

› Warning: @salesforce/cli update available from 2.66.7 to 2.67.7.
(node:2171) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(node:2163) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Warning: We're continually improving Salesforce Code Analyzer. Tell us what you think! Give feedback at http://sfdc.co/CodeAnalyzerFeedback
name languages categories rulesets [dep] engine is dfa is pilot
Expand Down
Loading

0 comments on commit 7f790c0

Please sign in to comment.