Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation (#3229)
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 <nvuillam@users.noreply.github.com>
  • Loading branch information
nvuillam and nvuillam authored Dec 16, 2023
1 parent c98babf commit 61557e3
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 17 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 @@ -57,7 +57,7 @@
"markdownlint": "0.38.0",
"misspell": "0.3.4",
"mypy": "1.7.1",
"npm-groovy-lint": "13.0.2",
"npm-groovy-lint": "14.0.0",
"npm-package-json-lint": "7.1.0",
"perlcritic": "1.152",
"php": "7.4.26",
Expand Down Expand Up @@ -105,7 +105,7 @@
"tekton-lint": "0.7.0",
"terraform-fmt": "1.6.6",
"terragrunt": "0.54.5",
"terrascan": "1.18.3",
"terrascan": "1.18.8",
"tflint": "0.49.0",
"trivy": "0.48.0",
"trivy-sbom": "0.48.0",
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [eslint](https://eslint.org) from 8.55.0 to **8.56.0** on 2023-12-16
- [psalm](https://psalm.dev) from Psalm.5.17.0@ to **Psalm.5.18.0@** on 2023-12-16
- [terragrunt](https://terragrunt.gruntwork.io) from 0.54.4 to **0.54.5** on 2023-12-16
- [npm-groovy-lint](https://nvuillam.github.io/npm-groovy-lint/) from 13.0.2 to **14.0.0** on 2023-12-16
- [terrascan](https://runterrascan.io/) from 1.18.3 to **1.18.8** on 2023-12-16
<!-- linter-versions-end -->

## [v7.7.0] - 2023-12-09
Expand Down
4 changes: 2 additions & 2 deletions docs/all_linters.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
| [**markdown-table-formatter**](https://github.com/nvuillam/markdown-table-formatter){target=_blank} | 1.5.0 | [MIT](licenses/markdown-table-formatter.md) | [![GitHub stars](https://img.shields.io/github/stars/nvuillam/markdown-table-formatter?cacheSeconds=3600)](https://github.com/nvuillam/markdown-table-formatter){target=_blank} | [MARKDOWN](descriptors/markdown_markdown_table_formatter.md) | :white_circle: | [Repository](https://github.com/nvuillam/markdown-table-formatter){target=_blank} |
| [**markdownlint**](https://github.com/DavidAnson/markdownlint){target=_blank} | 0.38.0 | [MIT](licenses/markdownlint.md) | [![GitHub stars](https://img.shields.io/github/stars/DavidAnson/markdownlint?cacheSeconds=3600)](https://github.com/DavidAnson/markdownlint){target=_blank} | [MARKDOWN](descriptors/markdown_markdownlint.md) | :white_circle: | [Repository](https://github.com/DavidAnson/markdownlint){target=_blank} |
| [**mypy**](https://github.com/python/mypy){target=_blank} | 1.7.1 | [MIT](licenses/mypy.md) | [![GitHub stars](https://img.shields.io/github/stars/python/mypy?cacheSeconds=3600)](https://github.com/python/mypy){target=_blank} | [PYTHON](descriptors/python_mypy.md) | <!-- --> | [Repository](https://github.com/python/mypy){target=_blank} |
| [**npm-groovy-lint**](https://github.com/nvuillam/npm-groovy-lint){target=_blank} | 13.0.2 | [GPL-3.0](licenses/npm-groovy-lint.md) | [![GitHub stars](https://img.shields.io/github/stars/nvuillam/npm-groovy-lint?cacheSeconds=3600)](https://github.com/nvuillam/npm-groovy-lint){target=_blank} | [GROOVY](descriptors/groovy_npm_groovy_lint.md) | :heart: | [MegaLinter reference](https://nvuillam.github.io/npm-groovy-lint/#mega-linter){target=_blank} |
| [**npm-groovy-lint**](https://github.com/nvuillam/npm-groovy-lint){target=_blank} | 14.0.0 | [GPL-3.0](licenses/npm-groovy-lint.md) | [![GitHub stars](https://img.shields.io/github/stars/nvuillam/npm-groovy-lint?cacheSeconds=3600)](https://github.com/nvuillam/npm-groovy-lint){target=_blank} | [GROOVY](descriptors/groovy_npm_groovy_lint.md) | :heart: | [MegaLinter reference](https://nvuillam.github.io/npm-groovy-lint/#mega-linter){target=_blank} |
| [**npm-package-json-lint**](https://github.com/tclindner/npm-package-json-lint){target=_blank} | 7.1.0 | [MIT](licenses/npm-package-json-lint.md) | [![GitHub stars](https://img.shields.io/github/stars/tclindner/npm-package-json-lint?cacheSeconds=3600)](https://github.com/tclindner/npm-package-json-lint){target=_blank} | [JSON](descriptors/json_npm_package_json_lint.md) | :heart: | [MegaLinter reference](https://npmpackagejsonlint.org/docs/integrations#megalinter){target=_blank} |
| [**perlcritic**](https://github.com/Perl-Critic/Perl-Critic){target=_blank} | 1.152 | [Other](licenses/perlcritic.md) | [![GitHub stars](https://img.shields.io/github/stars/Perl-Critic/Perl-Critic?cacheSeconds=3600)](https://github.com/Perl-Critic/Perl-Critic){target=_blank} | [PERL](descriptors/perl_perlcritic.md) | :white_circle: | [Repository](https://github.com/Perl-Critic/Perl-Critic){target=_blank} |
| [**phpcs**](https://github.com/PHPCSStandards/PHP_CodeSniffer){target=_blank} | 3.8.0 | [BSD-3-Clause](licenses/phpcs.md) | [![GitHub stars](https://img.shields.io/github/stars/PHPCSStandards/PHP_CodeSniffer?cacheSeconds=3600)](https://github.com/PHPCSStandards/PHP_CodeSniffer){target=_blank} | [PHP](descriptors/php_phpcs.md) | :white_circle: | [Repository](https://github.com/PHPCSStandards/PHP_CodeSniffer){target=_blank} |
Expand Down Expand Up @@ -105,7 +105,7 @@
| [**tekton-lint**](https://github.com/IBM/tekton-lint){target=_blank} | 0.7.0 | <!-- --> | [![GitHub stars](https://img.shields.io/github/stars/IBM/tekton-lint?cacheSeconds=3600)](https://github.com/IBM/tekton-lint){target=_blank} | [TEKTON](descriptors/tekton_tekton_lint.md) | :white_circle: | [Repository](https://github.com/IBM/tekton-lint){target=_blank} |
| [**terraform-fmt**](https://github.com/hashicorp/terraform){target=_blank} | 1.6.6 | [MPL-2.0](licenses/terraform-fmt.md) | [![GitHub stars](https://img.shields.io/github/stars/hashicorp/terraform?cacheSeconds=3600)](https://github.com/hashicorp/terraform){target=_blank} | [TERRAFORM](descriptors/terraform_terraform_fmt.md) | :white_circle: | [Repository](https://github.com/hashicorp/terraform){target=_blank} |
| [**terragrunt**](https://github.com/gruntwork-io/terragrunt){target=_blank} | 0.54.5 | [MIT](licenses/terragrunt.md) | [![GitHub stars](https://img.shields.io/github/stars/gruntwork-io/terragrunt?cacheSeconds=3600)](https://github.com/gruntwork-io/terragrunt){target=_blank} | [TERRAFORM](descriptors/terraform_terragrunt.md) | :white_circle: | [Repository](https://github.com/gruntwork-io/terragrunt){target=_blank} |
| [**terrascan**](https://github.com/tenable/terrascan){target=_blank} | 1.18.3 | [Apache-2.0](licenses/terrascan.md) | [![GitHub stars](https://img.shields.io/github/stars/tenable/terrascan?cacheSeconds=3600)](https://github.com/tenable/terrascan){target=_blank} | [TERRAFORM](descriptors/terraform_terrascan.md) | :white_circle: | [Repository](https://github.com/tenable/terrascan){target=_blank} |
| [**terrascan**](https://github.com/tenable/terrascan){target=_blank} | 1.18.8 | [Apache-2.0](licenses/terrascan.md) | [![GitHub stars](https://img.shields.io/github/stars/tenable/terrascan?cacheSeconds=3600)](https://github.com/tenable/terrascan){target=_blank} | [TERRAFORM](descriptors/terraform_terrascan.md) | :white_circle: | [Repository](https://github.com/tenable/terrascan){target=_blank} |
| [**tflint**](https://github.com/terraform-linters/tflint){target=_blank} | 0.49.0 | [MPL-2.0](licenses/tflint.md) | [![GitHub stars](https://img.shields.io/github/stars/terraform-linters/tflint?cacheSeconds=3600)](https://github.com/terraform-linters/tflint){target=_blank} | [TERRAFORM](descriptors/terraform_tflint.md) | :white_circle: | [Repository](https://github.com/terraform-linters/tflint){target=_blank} |
| [**trivy**](https://github.com/aquasecurity/trivy){target=_blank} | 0.48.0 | [Apache-2.0](licenses/trivy.md) | [![GitHub stars](https://img.shields.io/github/stars/aquasecurity/trivy?cacheSeconds=3600)](https://github.com/aquasecurity/trivy){target=_blank} | [REPOSITORY](descriptors/repository_trivy.md) | :white_circle: | [Repository](https://github.com/aquasecurity/trivy){target=_blank} |
| [**trivy-sbom**](https://github.com/aquasecurity/trivy){target=_blank} | 0.48.0 | <!-- --> | [![GitHub stars](https://img.shields.io/github/stars/aquasecurity/trivy?cacheSeconds=3600)](https://github.com/aquasecurity/trivy){target=_blank} | [REPOSITORY](descriptors/repository_trivy_sbom.md) | :white_circle: | [Repository](https://github.com/aquasecurity/trivy){target=_blank} |
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/groovy_npm_groovy_lint.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: How to use npm-groovy-lint (configure, ignore files, ignore errors,

## npm-groovy-lint documentation

- Version in MegaLinter: **13.0.2**
- Version in MegaLinter: **14.0.0**
- Visit [Official Web Site](https://nvuillam.github.io/npm-groovy-lint/){target=_blank}
- See [How to configure npm-groovy-lint rules](https://github.com/nvuillam/npm-groovy-lint#configuration){target=_blank}
- If custom `.groovylintrc.json` config file isn't found, [.groovylintrc.json](https://github.com/oxsecurity/megalinter/tree/main/TEMPLATES/.groovylintrc.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 @@ -125,7 +125,7 @@ Available Commands:
completion Generate autocompletion script
config Handle cached configurations
delete Delete configurations in Kubescape SaaS version
download Download framework,artifacts,attack-tracks,controls-inputs,exceptions,control
download Download controls-inputs,exceptions,control,framework,artifacts,attack-tracks
fix Fix misconfiguration in files
help Help about any command
list List frameworks/controls will list the supported frameworks and controls
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/repository_syft.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Application Configuration:

format:
# (env: SYFT_FORMAT_PRETTY)
pretty: 0xc000494cd0
pretty: 0xc000567650

template:
# specify the path to a Go template file (env: SYFT_FORMAT_TEMPLATE_PATH)
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/spell_vale.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ Flags:
Commands:
sync Download and install external configuration sources.
ls-config Print the current configuration to stdout.
ls-metrics Print the given file's internal metrics to stdout.
sync Download and install external configuration sources.

```
Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/terraform_terrascan.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ description: How to use terrascan (configure, ignore files, ignore errors, help

## terrascan documentation

- Version in MegaLinter: **1.18.3**
- Version in MegaLinter: **1.18.8**
- Visit [Official Web Site](https://runterrascan.io/){target=_blank}
- See [How to configure terrascan rules](https://runterrascan.io/docs/usage/config_options/){target=_blank}
- See [Index of problems detected by terrascan](https://runterrascan.io/docs/usage/){target=_blank}
Expand Down Expand Up @@ -107,7 +107,7 @@ Use "terrascan [command] --help" for more information about a command.

- Dockerfile commands :
```dockerfile
FROM tenable/terrascan:1.18.3 as terrascan
FROM tenable/terrascan:1.18.8 as terrascan
COPY --link --from=terrascan /go/bin/terrascan /usr/bin/
```

Loading

0 comments on commit 61557e3

Please sign in to comment.