Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation (#4576)
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 <17500430+nvuillam@users.noreply.github.com>
  • Loading branch information
nvuillam and nvuillam authored Jan 25, 2025
1 parent 33ea5b9 commit 7b3089b
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 22 deletions.
6 changes: 3 additions & 3 deletions .automation/generated/linter-helps.json

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

4 changes: 2 additions & 2 deletions .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"flake8": "7.1.1",
"gherkin-lint": "0.0.0",
"git_diff": "2.47.2",
"gitleaks": "8.23.1",
"gitleaks": "8.23.2",
"golangci-lint": "1.63.4",
"goodcheck": "3.1.0",
"graphql-schema-linter": "3.0.1",
Expand Down Expand Up @@ -104,7 +104,7 @@
"sql-lint": "1.0.0",
"sqlfluff": "3.3.0",
"standard": "17.1.2",
"stylelint": "16.13.2",
"stylelint": "16.14.0",
"stylua": "2.0.0",
"swiftlint": "0.58.2",
"syft": "1.19.0",
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [rubocop](https://rubocop.org/) from 1.70.0 to **1.71.0** on 2025-01-23
- [markdownlint](https://github.com/DavidAnson/markdownlint) from 0.43.0 to **0.44.0** on 2025-01-25
- [vale](https://vale.sh/) from 3.9.3 to **3.9.4** on 2025-01-25
- [stylelint](https://stylelint.io) from 16.13.2 to **16.14.0** on 2025-01-25
- [gitleaks](https://github.com/gitleaks/gitleaks) from 8.23.1 to **8.23.2** on 2025-01-25
<!-- linter-versions-end -->

## [v8.3.0] - 2024-11-23
Expand Down
4 changes: 2 additions & 2 deletions docs/all_linters.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
| [**flake8**](https://github.com/PyCQA/flake8){target=_blank} | 7.1.1 | [MIT](licenses/flake8.md) | [![GitHub stars](https://img.shields.io/github/stars/PyCQA/flake8?cacheSeconds=3600)](https://github.com/PyCQA/flake8){target=_blank} | [PYTHON](descriptors/python_flake8.md) | :white_circle: | [Repository](https://github.com/PyCQA/flake8){target=_blank} |
| [**gherkin-lint**](https://github.com/vsiakka/gherkin-lint){target=_blank} | N/A | [ISC](licenses/gherkin-lint.md) | [![GitHub stars](https://img.shields.io/github/stars/vsiakka/gherkin-lint?cacheSeconds=3600)](https://github.com/vsiakka/gherkin-lint){target=_blank} | [GHERKIN](descriptors/gherkin_gherkin_lint.md) | :white_circle: | [Repository](https://github.com/vsiakka/gherkin-lint){target=_blank} |
| [**git_diff**](https://github.com/git/git){target=_blank} | 2.47.2 | [LGPL-2.1](licenses/git_diff.md) | [![GitHub stars](https://img.shields.io/github/stars/git/git?cacheSeconds=3600)](https://github.com/git/git){target=_blank} | [REPOSITORY](descriptors/repository_git_diff.md) | <!-- --> | [Repository](https://github.com/git/git){target=_blank} |
| [**gitleaks**](https://github.com/gitleaks/gitleaks){target=_blank} | 8.23.1 | [MIT](licenses/gitleaks.md) | [![GitHub stars](https://img.shields.io/github/stars/gitleaks/gitleaks?cacheSeconds=3600)](https://github.com/gitleaks/gitleaks){target=_blank} | [REPOSITORY](descriptors/repository_gitleaks.md) | :white_circle: | [Repository](https://github.com/gitleaks/gitleaks){target=_blank} |
| [**gitleaks**](https://github.com/gitleaks/gitleaks){target=_blank} | 8.23.2 | [MIT](licenses/gitleaks.md) | [![GitHub stars](https://img.shields.io/github/stars/gitleaks/gitleaks?cacheSeconds=3600)](https://github.com/gitleaks/gitleaks){target=_blank} | [REPOSITORY](descriptors/repository_gitleaks.md) | :white_circle: | [Repository](https://github.com/gitleaks/gitleaks){target=_blank} |
| [**golangci-lint**](https://github.com/golangci/golangci-lint){target=_blank} | 1.63.4 | [GPL-3.0](licenses/golangci-lint.md) | [![GitHub stars](https://img.shields.io/github/stars/golangci/golangci-lint?cacheSeconds=3600)](https://github.com/golangci/golangci-lint){target=_blank} | [GO](descriptors/go_golangci_lint.md) | :white_circle: | [Repository](https://github.com/golangci/golangci-lint){target=_blank} |
| [**graphql-schema-linter**](https://github.com/cjoudrey/graphql-schema-linter){target=_blank} | 3.0.1 | [MIT](licenses/graphql-schema-linter.md) | [![GitHub stars](https://img.shields.io/github/stars/cjoudrey/graphql-schema-linter?cacheSeconds=3600)](https://github.com/cjoudrey/graphql-schema-linter){target=_blank} | [GRAPHQL](descriptors/graphql_graphql_schema_linter.md) | :hammer_and_wrench: | [Pull Request](https://github.com/cjoudrey/graphql-schema-linter/pull/272){target=_blank} |
| [**grype**](https://github.com/anchore/grype){target=_blank} | 0.87.0 | [Apache-2.0](licenses/grype.md) | [![GitHub stars](https://img.shields.io/github/stars/anchore/grype?cacheSeconds=3600)](https://github.com/anchore/grype){target=_blank} | [REPOSITORY](descriptors/repository_grype.md) | :white_circle: | [Repository](https://github.com/anchore/grype){target=_blank} |
Expand Down Expand Up @@ -102,7 +102,7 @@
| [**spectral**](https://github.com/stoplightio/spectral){target=_blank} | 6.14.2 | [Apache-2.0](licenses/spectral.md) | [![GitHub stars](https://img.shields.io/github/stars/stoplightio/spectral?cacheSeconds=3600)](https://github.com/stoplightio/spectral){target=_blank} | [API](descriptors/api_spectral.md) | :white_circle: | [Repository](https://github.com/stoplightio/spectral){target=_blank} |
| [**sqlfluff**](https://github.com/sqlfluff/sqlfluff){target=_blank} | 3.3.0 | [MIT](licenses/sqlfluff.md) | [![GitHub stars](https://img.shields.io/github/stars/sqlfluff/sqlfluff?cacheSeconds=3600)](https://github.com/sqlfluff/sqlfluff){target=_blank} | [SQL](descriptors/sql_sqlfluff.md) | :white_circle: | [Repository](https://github.com/sqlfluff/sqlfluff){target=_blank} |
| [**standard**](https://github.com/standard/standard){target=_blank} | 17.1.2 | [MIT](licenses/standard.md) | [![GitHub stars](https://img.shields.io/github/stars/standard/standard?cacheSeconds=3600)](https://github.com/standard/standard){target=_blank} | [JAVASCRIPT](descriptors/javascript_standard.md) | :white_circle: | [Repository](https://github.com/standard/standard){target=_blank} |
| [**stylelint**](https://github.com/stylelint/stylelint){target=_blank} | 16.13.2 | [MIT](licenses/stylelint.md) | [![GitHub stars](https://img.shields.io/github/stars/stylelint/stylelint?cacheSeconds=3600)](https://github.com/stylelint/stylelint){target=_blank} | [CSS](descriptors/css_stylelint.md) | :white_circle: | [Repository](https://github.com/stylelint/stylelint){target=_blank} |
| [**stylelint**](https://github.com/stylelint/stylelint){target=_blank} | 16.14.0 | [MIT](licenses/stylelint.md) | [![GitHub stars](https://img.shields.io/github/stars/stylelint/stylelint?cacheSeconds=3600)](https://github.com/stylelint/stylelint){target=_blank} | [CSS](descriptors/css_stylelint.md) | :white_circle: | [Repository](https://github.com/stylelint/stylelint){target=_blank} |
| [**stylua**](https://github.com/JohnnyMorganz/StyLua){target=_blank} | 2.0.0 | [MPL-2.0](licenses/stylua.md) | [![GitHub stars](https://img.shields.io/github/stars/JohnnyMorganz/StyLua?cacheSeconds=3600)](https://github.com/JohnnyMorganz/StyLua){target=_blank} | [LUA](descriptors/lua_stylua.md) | :no_entry_sign: | [Repository](https://github.com/JohnnyMorganz/StyLua){target=_blank} |
| [**swiftlint**](https://github.com/realm/SwiftLint){target=_blank} | 0.58.2 | [MIT](licenses/swiftlint.md) | [![GitHub stars](https://img.shields.io/github/stars/realm/SwiftLint?cacheSeconds=3600)](https://github.com/realm/SwiftLint){target=_blank} | [SWIFT](descriptors/swift_swiftlint.md) | :white_circle: | [Repository](https://github.com/realm/SwiftLint){target=_blank} |
| [**syft**](https://github.com/anchore/syft){target=_blank} | 1.19.0 | [Apache-2.0](licenses/syft.md) | [![GitHub stars](https://img.shields.io/github/stars/anchore/syft?cacheSeconds=3600)](https://github.com/anchore/syft){target=_blank} | [REPOSITORY](descriptors/repository_syft.md) | :white_circle: | [Repository](https://github.com/anchore/syft){target=_blank} |
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/css_stylelint.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ description: How to use stylelint (configure, ignore files, ignore errors, help

## stylelint documentation

- Version in MegaLinter: **16.13.2**
- Version in MegaLinter: **16.14.0**
- Visit [Official Web Site](https://stylelint.io){target=_blank}
- See [How to configure stylelint rules](https://stylelint.io/user-guide/configure){target=_blank}
- If custom `.stylelintrc.json` config file isn't found, [.stylelintrc.json](https://github.com/oxsecurity/megalinter/tree/main/TEMPLATES/.stylelintrc.json){target=_blank} will be used
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/kubernetes_kubescape.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Available Commands:
completion Generate autocompletion script
config Handle cached configurations
delete Delete configurations in Kubescape SaaS version
download Download artifacts,attack-tracks,controls-inputs,exceptions,control,framework
download Download framework,artifacts,attack-tracks,controls-inputs,exceptions,control
fix Fix misconfiguration in files
help Help about any command
list List frameworks/controls will list the supported frameworks and controls
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/repository_gitleaks.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ git fetch --depth=0

## gitleaks documentation

- Version in MegaLinter: **8.23.1**
- Version in MegaLinter: **8.23.2**
- Visit [Official Web Site](https://github.com/gitleaks/gitleaks#readme){target=_blank}
- See [How to configure gitleaks rules](https://github.com/gitleaks/gitleaks#configuration){target=_blank}
- If custom `.gitleaks.toml` config file isn't found, [.gitleaks.toml](https://github.com/oxsecurity/megalinter/tree/main/TEMPLATES/.gitleaks.toml){target=_blank} will be used
Expand Down Expand Up @@ -193,7 +193,7 @@ Use "gitleaks [command] --help" for more information about a command.
- Dockerfile commands :
```dockerfile
# renovate: datasource=docker depName=zricethezav/gitleaks
ARG REPOSITORY_GITLEAKS_VERSION=v8.23.1
ARG REPOSITORY_GITLEAKS_VERSION=v8.23.2
FROM zricethezav/gitleaks:${REPOSITORY_GITLEAKS_VERSION} AS gitleaks
COPY --link --from=gitleaks /usr/bin/gitleaks /usr/bin/
```
Expand Down
Loading

0 comments on commit 7b3089b

Please sign in to comment.