Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation (#1253)
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 committed Feb 6, 2022
1 parent f6f0d14 commit c2ec3ee
Show file tree
Hide file tree
Showing 14 changed files with 55 additions and 53 deletions.
64 changes: 32 additions & 32 deletions .automation/generated/flavors-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -549,8 +549,8 @@
2437974
],
[
"2022-02-06T01:42:06",
2438079
"2022-02-06T17:27:14",
2438690
]
],
"ci_light": [
Expand Down Expand Up @@ -1103,8 +1103,8 @@
7017
],
[
"2022-02-06T01:42:06",
7017
"2022-02-06T17:27:14",
7020
]
],
"dart": [
Expand Down Expand Up @@ -1657,8 +1657,8 @@
2171
],
[
"2022-02-06T01:42:06",
2171
"2022-02-06T17:27:14",
2174
]
],
"documentation": [
Expand Down Expand Up @@ -2211,8 +2211,8 @@
36074
],
[
"2022-02-06T01:42:06",
36094
"2022-02-06T17:27:14",
36206
]
],
"dotnet": [
Expand Down Expand Up @@ -2765,8 +2765,8 @@
276794
],
[
"2022-02-06T01:42:06",
276833
"2022-02-06T17:27:14",
277064
]
],
"go": [
Expand Down Expand Up @@ -3319,8 +3319,8 @@
7723
],
[
"2022-02-06T01:42:06",
7723
"2022-02-06T17:27:14",
7731
]
],
"java": [
Expand Down Expand Up @@ -3873,8 +3873,8 @@
55509
],
[
"2022-02-06T01:42:06",
55518
"2022-02-06T17:27:14",
55578
]
],
"javascript": [
Expand Down Expand Up @@ -4427,8 +4427,8 @@
83707
],
[
"2022-02-06T01:42:06",
83731
"2022-02-06T17:27:14",
83948
]
],
"php": [
Expand Down Expand Up @@ -4981,8 +4981,8 @@
3934
],
[
"2022-02-06T01:42:06",
3934
"2022-02-06T17:27:14",
3943
]
],
"python": [
Expand Down Expand Up @@ -5535,8 +5535,8 @@
53939
],
[
"2022-02-06T01:42:06",
53981
"2022-02-06T17:27:14",
54165
]
],
"ruby": [
Expand Down Expand Up @@ -6085,8 +6085,8 @@
1843
],
[
"2022-02-06T01:42:06",
1843
"2022-02-06T17:27:14",
1846
]
],
"rust": [
Expand Down Expand Up @@ -6635,8 +6635,8 @@
1575
],
[
"2022-02-06T01:42:06",
1575
"2022-02-06T17:27:14",
1578
]
],
"salesforce": [
Expand Down Expand Up @@ -7189,8 +7189,8 @@
10343
],
[
"2022-02-06T01:42:06",
10346
"2022-02-06T17:27:14",
10357
]
],
"scala": [
Expand Down Expand Up @@ -7739,8 +7739,8 @@
1425
],
[
"2022-02-06T01:42:06",
1425
"2022-02-06T17:27:14",
1428
]
],
"swift": [
Expand Down Expand Up @@ -8289,8 +8289,8 @@
1465
],
[
"2022-02-06T01:42:06",
1465
"2022-02-06T17:27:14",
1468
]
],
"terraform": [
Expand Down Expand Up @@ -8843,8 +8843,8 @@
35832
],
[
"2022-02-06T01:42:06",
35881
"2022-02-06T17:27:14",
35934
]
]
}
10 changes: 5 additions & 5 deletions .automation/generated/linter-helps.json
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,9 @@
" input).",
" --python-cell-magics TEXT When processing Jupyter Notebooks, add the",
" given magic to the list of known python-",
" magics (python, timeit, pypy, time, python3,",
" capture, prun). Useful for formatting cells",
" with custom python magics.",
" magics (capture, python3, python, prun,",
" time, pypy, timeit). Useful for formatting",
" cells with custom python magics.",
" -S, --skip-string-normalization",
" Don't normalize string quotes or prefixes.",
" -C, --skip-magic-trailing-comma",
Expand Down Expand Up @@ -1405,8 +1405,8 @@
" of opening bracket's line.",
" --ignore errors Comma-separated list of errors and warnings to ignore",
" (or skip). For example, ``--ignore=E4,E51,W234``.",
" (Default: ['E121', 'E126', 'E704', 'W504', 'W503',",
" 'E24', 'E123', 'E226'])",
" (Default: ['E123', 'E226', 'E24', 'W504', 'W503',",
" 'E704', 'E121', 'E126'])",
" --extend-ignore errors",
" Comma-separated list of errors and warnings to add to",
" the list of ignored ones. For example, ``--extend-",
Expand Down
4 changes: 2 additions & 2 deletions .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"bash-exec": "5.1.0",
"black": "22.1.0",
"cfn-lint": "0.58.0",
"checkov": "2.0.793",
"checkov": "2.0.795",
"checkstyle": "9.3",
"chktex": "1.7.6",
"clippy": "0.1.58",
Expand Down Expand Up @@ -46,7 +46,7 @@
"php": "7.4.26",
"phpcs": "3.6.2",
"phplint": "3.0",
"phpstan": "1.4.5",
"phpstan": "1.4.6",
"powershell": "7.2.1",
"prettier": "2.5.1",
"protolint": "0.36.0",
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ Note: Can be used with `megalinter/megalinter@beta` in your GitHub Action mega-l
- [markdownlint](https://github.com/DavidAnson/markdownlint) from 0.30.0 to **0.31.0** on 2022-02-06
- [snakemake](https://snakemake.readthedocs.io/en/stable/) from 6.15.1 to **6.15.2** on 2022-02-06
- [checkov](https://www.checkov.io/) from 2.0.791 to **2.0.793** on 2022-02-06
- [phpstan](https://phpstan.org/) from 1.4.5 to **1.4.6** on 2022-02-06
- [checkov](https://www.checkov.io/) from 2.0.793 to **2.0.795** on 2022-02-06
<!-- linter-versions-end -->

## [v5.7.1] - 2022-02-02
Expand Down
4 changes: 2 additions & 2 deletions docs/all_linters.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
| [**bash-exec**](https://tiswww.case.edu/php/chet/bash/bashtop.html){target=_blank} | 5.1.0 | <!-- --> | [BASH](descriptors/bash_bash_exec.md) | <!-- --> | [Web Site](https://tiswww.case.edu/php/chet/bash/bashtop.html){target=_blank} |
| [**black**](https://github.com/psf/black){target=_blank} | 22.1.0 | [MIT](licenses/black.md) | [PYTHON](descriptors/python_black.md) | :white_circle: | [Repository](https://github.com/psf/black){target=_blank} |
| [**cfn-lint**](https://github.com/martysweet/cfn-lint){target=_blank} | 0.58.0 | <!-- --> | [CLOUDFORMATION](descriptors/cloudformation_cfn_lint.md) | :white_circle: | [Web Site](https://github.com/martysweet/cfn-lint){target=_blank} |
| [**checkov**](https://github.com/bridgecrewio/checkov){target=_blank} | 2.0.793 | [Apache-2.0](licenses/checkov.md) | [TERRAFORM](descriptors/terraform_checkov.md) | :no_entry_sign: | [Repository](https://github.com/bridgecrewio/checkov){target=_blank} |
| [**checkov**](https://github.com/bridgecrewio/checkov){target=_blank} | 2.0.795 | [Apache-2.0](licenses/checkov.md) | [TERRAFORM](descriptors/terraform_checkov.md) | :no_entry_sign: | [Repository](https://github.com/bridgecrewio/checkov){target=_blank} |
| [**checkstyle**](https://github.com/checkstyle/checkstyle){target=_blank} | 9.3 | [Other](licenses/checkstyle.md) | [JAVA](descriptors/java_checkstyle.md) | :heart: | [MegaLinter reference](https://checkstyle.sourceforge.io/index.html#Related_Tools_Active_Tools){target=_blank} |
| [**chktex**](https://www.nongnu.org/chktex){target=_blank} | 1.7.6 | <!-- --> | [LATEX](descriptors/latex_chktex.md) | :white_circle: | [Web Site](https://www.nongnu.org/chktex){target=_blank} |
| [**clippy**](https://github.com/rust-lang/rust-clippy){target=_blank} | 0.1.58 | <!-- --> | [RUST](descriptors/rust_clippy.md) | :white_circle: | [Web Site](https://github.com/rust-lang/rust-clippy){target=_blank} |
Expand Down Expand Up @@ -52,7 +52,7 @@
| [**php**](https://github.com/php/php-src){target=_blank} | 7.4.26 | [Other](licenses/php.md) | [PHP](descriptors/php_php.md) | <!-- --> | [Repository](https://github.com/php/php-src){target=_blank} |
| [**phpcs**](https://github.com/squizlabs/PHP_CodeSniffer){target=_blank} | 3.6.2 | <!-- --> | [PHP](descriptors/php_phpcs.md) | :white_circle: | [Web Site](https://github.com/squizlabs/PHP_CodeSniffer){target=_blank} |
| [**phplint**](https://github.com/overtrue/phplint){target=_blank} | 3.0 | <!-- --> | [PHP](descriptors/php_phplint.md) | :white_circle: | [Web Site](https://github.com/overtrue/phplint){target=_blank} |
| [**phpstan**](https://github.com/phpstan/phpstan){target=_blank} | 1.4.5 | [MIT](licenses/phpstan.md) | [PHP](descriptors/php_phpstan.md) | :white_circle: | [Repository](https://github.com/phpstan/phpstan){target=_blank} |
| [**phpstan**](https://github.com/phpstan/phpstan){target=_blank} | 1.4.6 | [MIT](licenses/phpstan.md) | [PHP](descriptors/php_phpstan.md) | :white_circle: | [Repository](https://github.com/phpstan/phpstan){target=_blank} |
| [**powershell**](https://github.com/PowerShell/PSScriptAnalyzer){target=_blank} | 7.2.1 | <!-- --> | [POWERSHELL](descriptors/powershell_powershell.md) | :white_circle: | [Web Site](https://github.com/PowerShell/PSScriptAnalyzer){target=_blank} |
| [**prettier**](https://github.com/prettier/prettier){target=_blank} | 2.5.1 | [MIT](licenses/prettier.md) | [JAVASCRIPT](descriptors/javascript_prettier.md)<br/> [JSON](descriptors/json_prettier.md)<br/> [TYPESCRIPT](descriptors/typescript_prettier.md)<br/> [YAML](descriptors/yaml_prettier.md) | :white_circle: | [Repository](https://github.com/prettier/prettier){target=_blank} |
| [**protolint**](https://github.com/yoheimuta/protolint){target=_blank} | 0.36.0 | <!-- --> | [PROTOBUF](descriptors/protobuf_protolint.md) | :white_circle: | [Web Site](https://github.com/yoheimuta/protolint){target=_blank} |
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 @@ -72,7 +72,7 @@ This linter is available in the following flavours

### How are identified applicable files

- Activated only if one of these files is found: `.eslintrc.json, .eslintrc.yml, .eslintrc.yaml, .eslintrc.js, .eslintrc.cjs`
- Activated only if one of these files is found: `.eslintrc.json, .eslintrc.yml, .eslintrc.yaml, .eslintrc.js, .eslintrc.cjs, package.json:eslintConfig`
- File extensions: `.js`, `.vue`

<!-- markdownlint-disable -->
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/jsx_eslint.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ This linter is available in the following flavours

### How are identified applicable files

- Activated only if one of these files is found: `.eslintrc.json, .eslintrc.yml, .eslintrc.yaml, .eslintrc.js, .eslintrc.cjs`
- Activated only if one of these files is found: `.eslintrc.json, .eslintrc.yml, .eslintrc.yaml, .eslintrc.js, .eslintrc.cjs, package.json:eslintConfig`
- File extensions: `.jsx`

<!-- markdownlint-disable -->
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/php_phpstan.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## phpstan documentation

- Version in MegaLinter: **1.4.5**
- Version in MegaLinter: **1.4.6**
- Visit [Official Web Site](https://phpstan.org/){target=_blank}
- See [How to configure phpstan rules](https://phpstan.org/config-reference#neon-format){target=_blank}
- If custom `phpstan.neon.dist` config file is not found, [phpstan.neon.dist](https://github.com/megalinter/megalinter/tree/main/TEMPLATES/phpstan.neon.dist){target=_blank} will be used
Expand Down
6 changes: 3 additions & 3 deletions docs/descriptors/python_black.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ Options:
input).
--python-cell-magics TEXT When processing Jupyter Notebooks, add the
given magic to the list of known python-
magics (python, timeit, pypy, time, python3,
capture, prun). Useful for formatting cells
with custom python magics.
magics (capture, python3, python, prun,
time, pypy, timeit). Useful for formatting
cells with custom python magics.
-S, --skip-string-normalization
Don't normalize string quotes or prefixes.
-C, --skip-magic-trailing-comma
Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/python_flake8.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ optional arguments:
of opening bracket's line.
--ignore errors Comma-separated list of errors and warnings to ignore
(or skip). For example, ``--ignore=E4,E51,W234``.
(Default: ['E121', 'E126', 'E704', 'W504', 'W503',
'E24', 'E123', 'E226'])
(Default: ['E123', 'E226', 'E24', 'W504', 'W503',
'E704', 'E121', 'E126'])
--extend-ignore errors
Comma-separated list of errors and warnings to add to
the list of ignored ones. For example, ``--extend-
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/terraform_checkov.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

## checkov documentation

- Version in MegaLinter: **2.0.793**
- Version in MegaLinter: **2.0.795**
- Visit [Official Web Site](https://www.checkov.io/){target=_blank}
- See [How to disable checkov rules in files](https://www.checkov.io/2.Basics/Suppressing%20and%20Skipping%20Policies.html){target=_blank}
- See [Index of problems detected by checkov](https://www.checkov.io/5.Policy%20Index/all.html){target=_blank}
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/tsx_eslint.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ This linter is available in the following flavours

### How are identified applicable files

- Activated only if one of these files is found: `.eslintrc.json, .eslintrc.yml, .eslintrc.yaml, .eslintrc.js, .eslintrc.cjs`
- Activated only if one of these files is found: `.eslintrc.json, .eslintrc.yml, .eslintrc.yaml, .eslintrc.js, .eslintrc.cjs, package.json:eslintConfig`
- File extensions: `.tsx`

<!-- markdownlint-disable -->
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/typescript_eslint.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ This linter is available in the following flavours

### How are identified applicable files

- Activated only if one of these files is found: `.eslintrc.json, .eslintrc.yml, .eslintrc.yaml, .eslintrc.js, .eslintrc.cjs`
- Activated only if one of these files is found: `.eslintrc.json, .eslintrc.yml, .eslintrc.yaml, .eslintrc.js, .eslintrc.cjs, package.json:eslintConfig`
- File extensions: `.ts`

<!-- markdownlint-disable -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ linters:
- ".eslintrc.yaml"
- ".eslintrc.js"
- ".eslintrc.cjs"
- "package.json:eslintConfig"
- "package.json:eslintConfig"
cli_lint_mode: list_of_files
config_file_name: .eslintrc.json
cli_config_extra_args:
Expand Down

0 comments on commit c2ec3ee

Please sign in to comment.