Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation (#4787)
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 Feb 14, 2025
1 parent 96cb37f commit 3900ea3
Show file tree
Hide file tree
Showing 16 changed files with 29 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .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 @@ -34,7 +34,7 @@
"gherkin-lint": "0.0.0",
"git_diff": "2.47.2",
"gitleaks": "8.23.3",
"golangci-lint": "1.64.2",
"golangci-lint": "1.64.5",
"goodcheck": "3.1.0",
"graphql-schema-linter": "3.0.1",
"grype": "0.87.0",
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [phpstan](https://phpstan.org/) from 2.1.4 to **2.1.5** on 2025-02-13
- [checkov](https://www.checkov.io/) from 3.2.369 to **3.2.370** on 2025-02-13
- [trufflehog](https://github.com/trufflesecurity/trufflehog) from 3.88.6 to **3.88.8** on 2025-02-13
- [golangci-lint](https://golangci-lint.run/) from 1.64.2 to **1.64.5** on 2025-02-14
<!-- linter-versions-end -->

## [v8.4.2] - 2024-02-02
Expand Down
2 changes: 1 addition & 1 deletion docs/all_linters.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
| [**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.3 | [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.64.2 | [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} |
| [**golangci-lint**](https://github.com/golangci/golangci-lint){target=_blank} | 1.64.5 | [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} |
| [**hadolint**](https://github.com/hadolint/hadolint){target=_blank} | 2.12.0 | [GPL-3.0](licenses/hadolint.md) | [![GitHub stars](https://img.shields.io/github/stars/hadolint/hadolint?cacheSeconds=3600)](https://github.com/hadolint/hadolint){target=_blank} | [DOCKERFILE](descriptors/dockerfile_hadolint.md) | :heart: | [MegaLinter reference](https://github.com/hadolint/hadolint/blob/master/docs/INTEGRATION.md#mega-linter){target=_blank} |
Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/go_golangci_lint.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ description: How to use golangci-lint (configure, ignore files, ignore errors, h

## golangci-lint documentation

- Version in MegaLinter: **1.64.2**
- Version in MegaLinter: **1.64.5**
- Visit [Official Web Site](https://golangci-lint.run/){target=_blank}
- See [How to configure golangci-lint rules](https://golangci-lint.run/usage/configuration/#config-file){target=_blank}
- If custom `.golangci.yml` config file isn't found, [.golangci.yml](https://github.com/oxsecurity/megalinter/tree/main/TEMPLATES/.golangci.yml){target=_blank} will be used
Expand Down Expand Up @@ -130,7 +130,7 @@ Use "golangci-lint [command] --help" for more information about a command.
- Dockerfile commands :
```dockerfile
# renovate: datasource=github-tags depName=golangci/golangci-lint
ARG GO_GOLANGCI_LINT_VERSION=1.64.2
ARG GO_GOLANGCI_LINT_VERSION=1.64.5
RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s "v${GO_GOLANGCI_LINT_VERSION}" \
&& golangci-lint --version

Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/javascript_eslint.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ ARG NPM_MICROSOFT_ESLINT_FORMATTER_SARIF_VERSION=3.1.0
- [[email protected]](https://www.npmjs.com/package/eslint-config-standard/v/17.1.0)
- [[email protected]](https://www.npmjs.com/package/eslint-plugin-import/v/2.31.0)
- [[email protected]](https://www.npmjs.com/package/eslint-plugin-jest/v/28.11.0)
- [eslint-plugin-n@16.0.0](https://www.npmjs.com/package/eslint-plugin-n/v/16.0.0)
- [eslint-plugin-n@16.6.2](https://www.npmjs.com/package/eslint-plugin-n/v/16.6.2)
- [[email protected]](https://www.npmjs.com/package/eslint-plugin-prettier/v/5.2.3)
- [[email protected]](https://www.npmjs.com/package/eslint-plugin-promise/v/6.6.0)
- [[email protected]](https://www.npmjs.com/package/eslint-plugin-vue/v/9.32.0)
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/javascript_prettier.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,4 +243,4 @@ ARG NPM_PRETTIER_VERSION=3.5.1
```
- NPM packages (node.js):
- [[email protected].0](https://www.npmjs.com/package/prettier/v/3.5.0)
- [[email protected].1](https://www.npmjs.com/package/prettier/v/3.5.1)
2 changes: 1 addition & 1 deletion docs/descriptors/json_prettier.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,4 +255,4 @@ ARG NPM_PRETTIER_VERSION=3.5.1
```
- NPM packages (node.js):
- [[email protected].0](https://www.npmjs.com/package/prettier/v/3.5.0)
- [[email protected].1](https://www.npmjs.com/package/prettier/v/3.5.1)
2 changes: 1 addition & 1 deletion docs/descriptors/php_php_cs_fixer.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ php-cs-fixer check --config .php-cs-fixer.php

```shell
PHP needs to be a minimum version of PHP 7.4.0 and maximum version of PHP 8.3.*.
Current PHP version: 8.4.3.
Current PHP version: 8.4.4.
Ignoring environment requirements because `PHP_CS_FIXER_IGNORE_ENV` is set. Execution may be unstable.
Description:
List commands
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/python_pyright.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,4 @@ ARG NPM_PYRIGHT_VERSION=1.1.394
```

- NPM packages (node.js):
- [[email protected].393](https://www.npmjs.com/package/pyright/v/1.1.393)
- [[email protected].394](https://www.npmjs.com/package/pyright/v/1.1.394)
2 changes: 1 addition & 1 deletion docs/descriptors/repository_checkov.md

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

2 changes: 1 addition & 1 deletion docs/descriptors/tsx_eslint.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ ARG NPM_MICROSOFT_ESLINT_FORMATTER_SARIF_VERSION=3.1.0
- [[email protected]](https://www.npmjs.com/package/eslint-plugin-prettier/v/5.2.3)
- [[email protected]](https://www.npmjs.com/package/eslint-plugin-react/v/7.37.4)
- [@babel/[email protected]](https://www.npmjs.com/package/@babel/eslint-parser/v/7.26.8)
- [[email protected].0](https://www.npmjs.com/package/prettier/v/3.5.0)
- [[email protected].1](https://www.npmjs.com/package/prettier/v/3.5.1)
- [[email protected]](https://www.npmjs.com/package/prettyjson/v/1.2.5)
- [@typescript-eslint/[email protected]](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin/v/8.24.0)
- [@typescript-eslint/[email protected]](https://www.npmjs.com/package/@typescript-eslint/parser/v/8.24.0)
Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/typescript_eslint.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,11 @@ ARG NPM_MICROSOFT_ESLINT_FORMATTER_SARIF_VERSION=3.1.0
- [[email protected]](https://www.npmjs.com/package/eslint-config-standard/v/17.1.0)
- [[email protected]](https://www.npmjs.com/package/eslint-plugin-import/v/2.31.0)
- [[email protected]](https://www.npmjs.com/package/eslint-plugin-jest/v/28.11.0)
- [eslint-plugin-n@16.0.0](https://www.npmjs.com/package/eslint-plugin-n/v/16.0.0)
- [eslint-plugin-n@16.6.2](https://www.npmjs.com/package/eslint-plugin-n/v/16.6.2)
- [[email protected]](https://www.npmjs.com/package/eslint-plugin-prettier/v/5.2.3)
- [[email protected]](https://www.npmjs.com/package/eslint-plugin-promise/v/6.6.0)
- [@babel/[email protected]](https://www.npmjs.com/package/@babel/eslint-parser/v/7.26.8)
- [[email protected].0](https://www.npmjs.com/package/prettier/v/3.5.0)
- [[email protected].1](https://www.npmjs.com/package/prettier/v/3.5.1)
- [[email protected]](https://www.npmjs.com/package/prettyjson/v/1.2.5)
- [@typescript-eslint/[email protected]](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin/v/8.24.0)
- [@typescript-eslint/[email protected]](https://www.npmjs.com/package/@typescript-eslint/parser/v/8.24.0)
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/typescript_prettier.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,4 +245,4 @@ ARG NPM_PRETTIER_VERSION=3.5.1

- NPM packages (node.js):
- [[email protected]](https://www.npmjs.com/package/typescript/v/5.7.3)
- [[email protected].0](https://www.npmjs.com/package/prettier/v/3.5.0)
- [[email protected].1](https://www.npmjs.com/package/prettier/v/3.5.1)
2 changes: 1 addition & 1 deletion docs/descriptors/yaml_prettier.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,4 +255,4 @@ ARG NPM_PRETTIER_VERSION=3.5.1
```

- NPM packages (node.js):
- [[email protected].0](https://www.npmjs.com/package/prettier/v/3.5.0)
- [[email protected].1](https://www.npmjs.com/package/prettier/v/3.5.1)
Loading

0 comments on commit 3900ea3

Please sign in to comment.