Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam authored and github-actions[bot] committed Jan 12, 2025
1 parent 25cd4e3 commit 2604d85
Show file tree
Hide file tree
Showing 15 changed files with 702 additions and 691 deletions.
663 changes: 333 additions & 330 deletions .automation/generated/linter-helps.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"npm-package-json-lint": "8.0.0",
"perlcritic": "1.156",
"php": "7.4.26",
"php-cs-fixer": "3.67.0",
"php-cs-fixer": "3.67.1",
"phpcs": "3.11.2",
"phplint": "9.5.5",
"phpstan": "2.1.1",
Expand Down Expand Up @@ -104,9 +104,9 @@
"sql-lint": "1.0.0",
"sqlfluff": "3.3.0",
"standard": "17.1.2",
"stylelint": "16.12.0",
"stylelint": "16.13.0",
"stylua": "2.0.0",
"swiftlint": "0.57.1",
"swiftlint": "0.58.0",
"syft": "1.18.1",
"tekton-lint": "1.1.0",
"terraform-fmt": "1.10.3",
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [powershell_formatter](https://github.com/PowerShell/PSScriptAnalyzer) from 7.4.2 to **7.4.6** on 2025-01-12
- [powershell](https://github.com/PowerShell/PSScriptAnalyzer) from 7.4.2 to **7.4.6** on 2025-01-12
- [protolint](https://github.com/yoheimuta/protolint) from 0.51.0 to **0.52.0** on 2025-01-12
- [stylelint](https://stylelint.io) from 16.12.0 to **16.13.0** on 2025-01-12
- [php-cs-fixer](https://cs.symfony.com/) from 3.67.0 to **3.67.1** on 2025-01-12
- [swiftlint](https://github.com/realm/SwiftLint) from 0.57.1 to **0.58.0** on 2025-01-12
<!-- linter-versions-end -->

## [v8.3.0] - 2024-11-23
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=2832&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=2834&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
6 changes: 3 additions & 3 deletions docs/all_linters.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
| [**npm-groovy-lint**](https://github.com/nvuillam/npm-groovy-lint){target=_blank} | 15.0.2 | [MIT](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} | 8.0.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.156 | [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} |
| [**php-cs-fixer**](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer){target=_blank} | 3.67.0 | [MIT](licenses/php-cs-fixer.md) | [![GitHub stars](https://img.shields.io/github/stars/PHP-CS-Fixer/PHP-CS-Fixer?cacheSeconds=3600)](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer){target=_blank} | [PHP](descriptors/php_php_cs_fixer.md) | :white_circle: | [Repository](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer){target=_blank} |
| [**php-cs-fixer**](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer){target=_blank} | 3.67.1 | [MIT](licenses/php-cs-fixer.md) | [![GitHub stars](https://img.shields.io/github/stars/PHP-CS-Fixer/PHP-CS-Fixer?cacheSeconds=3600)](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer){target=_blank} | [PHP](descriptors/php_php_cs_fixer.md) | :white_circle: | [Repository](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer){target=_blank} |
| [**phpcs**](https://github.com/PHPCSStandards/PHP_CodeSniffer){target=_blank} | 3.11.2 | [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} |
| [**phplint**](https://github.com/overtrue/phplint){target=_blank} | 9.5.5 | [MIT](licenses/phplint.md) | [![GitHub stars](https://img.shields.io/github/stars/overtrue/phplint?cacheSeconds=3600)](https://github.com/overtrue/phplint){target=_blank} | [PHP](descriptors/php_phplint.md) | :white_circle: | [Repository](https://github.com/overtrue/phplint){target=_blank} |
| [**phpstan**](https://github.com/phpstan/phpstan){target=_blank} | 2.1.1 | [MIT](licenses/phpstan.md) | [![GitHub stars](https://img.shields.io/github/stars/phpstan/phpstan?cacheSeconds=3600)](https://github.com/phpstan/phpstan){target=_blank} | [PHP](descriptors/php_phpstan.md) | :white_circle: | [Repository](https://github.com/phpstan/phpstan){target=_blank} |
Expand Down Expand Up @@ -102,9 +102,9 @@
| [**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.12.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} |
| [**stylelint**](https://github.com/stylelint/stylelint){target=_blank} | 16.13.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.57.1 | [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} |
| [**swiftlint**](https://github.com/realm/SwiftLint){target=_blank} | 0.58.0 | [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.18.1 | [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} |
| [**tekton-lint**](https://github.com/IBM/tekton-lint){target=_blank} | 1.1.0 | [Apache-2.0](licenses/tekton-lint.md) | [![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.10.3 | [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} |
Expand Down
9 changes: 6 additions & 3 deletions 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.12.0**
- Version in MegaLinter: **16.13.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 Expand Up @@ -165,9 +165,12 @@ stylelint --fix --config .stylelintrc.json myfile.css myfile2.css myfile3.css
A pattern of files to ignore (in addition to those in ".stylelintignore").
Multiple can be set.

--fix
--fix [<mode>]

Automatically fix problems of certain rules.
Automatically fix problems of certain rules. The modes are as follows:

lax attempting to fix as much as possible even with syntax errors (default)
strict only fixing when there are no syntax errors

--custom-syntax <name_or_path>

Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/json_eslint_plugin_jsonc.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ description: How to use eslint-plugin-jsonc (configure, ignore files, ignore err

_This linter has been disabled in this version_

_Disabled reason: Bug in eslint-plugin-jsonc: <https://github.com/ota-meshi/eslint-plugin-jsonc/issues/328>_
_Disabled reason: Bug in eslint-plugin-jsonc: https://github.com/ota-meshi/eslint-plugin-jsonc/issues/328_

**eslint-plugin-jsonc** uses eslint to lint [**json**](https://www.json.org/), [**jsonc**](https://github.com/microsoft/node-jsonc-parser) and [**json5**](https://json5.org/) (extended JSON with comments & more).

Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/makefile_checkmake.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: How to use checkmake (configure, ignore files, ignore errors, help

_This linter has been disabled in this version_

_Disabled reason: Security issues: <https://github.com/mrtazz/checkmake/issues/99>_
_Disabled reason: Security issues: https://github.com/mrtazz/checkmake/issues/99_

## checkmake documentation

Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/markdown_remark_lint.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: How to use remark-lint (configure, ignore files, ignore errors, hel

_This linter has been disabled in this version_

_Disabled reason: Bug in remark-lint: <https://github.com/remarkjs/remark-lint/issues/322>_
_Disabled reason: Bug in remark-lint: https://github.com/remarkjs/remark-lint/issues/322_

## remark-lint documentation

Expand Down
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 @@ -14,7 +14,7 @@ PHP-CS-Fixer is able to fix rule violations detected, and even those marked as (

## php-cs-fixer documentation

- Version in MegaLinter: **3.67.0**
- Version in MegaLinter: **3.67.1**
- Visit [Official Web Site](https://cs.symfony.com/){target=_blank}
- If custom `.php-cs-fixer.dist.php` config file isn't found, [.php-cs-fixer.dist.php](https://github.com/oxsecurity/megalinter/tree/main/TEMPLATES/.php-cs-fixer.dist.php){target=_blank} will be used

Expand Down
Loading

0 comments on commit 2604d85

Please sign in to comment.