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 committed Jan 25, 2022
1 parent e9f7f0b commit df87ecb
Show file tree
Hide file tree
Showing 10 changed files with 75 additions and 50 deletions.
64 changes: 32 additions & 32 deletions .automation/generated/flavors-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -509,8 +509,8 @@
2426620
],
[
"2022-01-25T07:19:01",
2426950
"2022-01-25T22:42:46",
2427656
]
],
"ci_light": [
Expand Down Expand Up @@ -1023,8 +1023,8 @@
6703
],
[
"2022-01-25T07:19:01",
6703
"2022-01-25T22:42:46",
6711
]
],
"dart": [
Expand Down Expand Up @@ -1537,8 +1537,8 @@
1980
],
[
"2022-01-25T07:19:01",
1984
"2022-01-25T22:42:46",
2003
]
],
"documentation": [
Expand Down Expand Up @@ -2051,8 +2051,8 @@
32914
],
[
"2022-01-25T07:19:01",
32996
"2022-01-25T22:42:46",
33570
]
],
"dotnet": [
Expand Down Expand Up @@ -2565,8 +2565,8 @@
271262
],
[
"2022-01-25T07:19:01",
271425
"2022-01-25T22:42:46",
271709
]
],
"go": [
Expand Down Expand Up @@ -3079,8 +3079,8 @@
7307
],
[
"2022-01-25T07:19:01",
7322
"2022-01-25T22:42:46",
7363
]
],
"java": [
Expand Down Expand Up @@ -3593,8 +3593,8 @@
52939
],
[
"2022-01-25T07:19:01",
53057
"2022-01-25T22:42:46",
53297
]
],
"javascript": [
Expand Down Expand Up @@ -4107,8 +4107,8 @@
77689
],
[
"2022-01-25T07:19:01",
77843
"2022-01-25T22:42:46",
78326
]
],
"php": [
Expand Down Expand Up @@ -4621,8 +4621,8 @@
3769
],
[
"2022-01-25T07:19:01",
3769
"2022-01-25T22:42:46",
3785
]
],
"python": [
Expand Down Expand Up @@ -5135,8 +5135,8 @@
49015
],
[
"2022-01-25T07:19:01",
49123
"2022-01-25T22:42:46",
49494
]
],
"ruby": [
Expand Down Expand Up @@ -5645,8 +5645,8 @@
1775
],
[
"2022-01-25T07:19:01",
1775
"2022-01-25T22:42:46",
1778
]
],
"rust": [
Expand Down Expand Up @@ -6155,8 +6155,8 @@
1509
],
[
"2022-01-25T07:19:01",
1509
"2022-01-25T22:42:46",
1512
]
],
"salesforce": [
Expand Down Expand Up @@ -6669,8 +6669,8 @@
9978
],
[
"2022-01-25T07:19:01",
9990
"2022-01-25T22:42:46",
10008
]
],
"scala": [
Expand Down Expand Up @@ -7179,8 +7179,8 @@
1354
],
[
"2022-01-25T07:19:01",
1354
"2022-01-25T22:42:46",
1366
]
],
"swift": [
Expand Down Expand Up @@ -7689,8 +7689,8 @@
1402
],
[
"2022-01-25T07:19:01",
1402
"2022-01-25T22:42:46",
1407
]
],
"terraform": [
Expand Down Expand Up @@ -8203,8 +8203,8 @@
33695
],
[
"2022-01-25T07:19:01",
33803
"2022-01-25T22:42:46",
33991
]
]
}
17 changes: 13 additions & 4 deletions .automation/generated/linter-helps.json
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,8 @@
" [--repo-root-for-plan-enrichment REPO_ROOT_FOR_PLAN_ENRICHMENT]",
" [--config-file CONFIG_FILE] [--create-config CREATE_CONFIG]",
" [--show-config] [--create-baseline] [--baseline BASELINE]",
" [--min-cve-severity {critical,high,medium,low,none}]",
" [--skip-cve-package SKIP_CVE_PACKAGE]",
" [-s | --soft-fail-on SOFT_FAIL_ON | --hard-fail-on HARD_FAIL_ON]",
"",
"Infrastructure as code static analysis",
Expand Down Expand Up @@ -589,6 +591,13 @@
" results with a known baseline. Report will include",
" only failed checks that are new with respect to the",
" provided baseline",
" --min-cve-severity {critical,high,medium,low,none}",
" Set minimum severity that will cause returning non-",
" zero exit code",
" --skip-cve-package SKIP_CVE_PACKAGE",
" filter scan to run on all packages but a specific",
" package identifier (denylist), You can specify this",
" argument multiple times to skip multiple packages",
" -s, --soft-fail Runs checks but suppresses error code",
" --soft-fail-on SOFT_FAIL_ON",
" Exits with a 0 exit code for specified checks. You can",
Expand Down Expand Up @@ -1382,8 +1391,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: ['E226', 'E126', 'E24', 'W503', 'E704',",
" 'W504', 'E121', 'E123'])",
" (Default: ['E121', 'W503', 'E226', 'E704', 'W504',",
" 'E123', 'E126', 'E24'])",
" --extend-ignore errors",
" Comma-separated list of errors and warnings to add to",
" the list of ignored ones. For example, ``--extend-",
Expand Down Expand Up @@ -1508,7 +1517,7 @@
"",
"Available Commands:",
" cache Cache control and information",
" completion generate the autocompletion script for the specified shell",
" completion Generate the autocompletion script for the specified shell",
" config Config",
" help Help",
" linters List current linters configuration",
Expand Down Expand Up @@ -6670,7 +6679,7 @@
" -h, --help display help for command"
],
"sqlfluff": [
"Usage: python -m sqlfluff [OPTIONS] COMMAND [ARGS]...",
"Usage: sqlfluff [OPTIONS] COMMAND [ARGS]...",
"",
" Sqlfluff is a modular sql linter for humans.",
"",
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": "21.12",
"cfn-lint": "0.57.0",
"checkov": "2.0.754",
"checkov": "2.0.763",
"checkstyle": "9.2.1",
"chktex": "1.7.6",
"clippy": "0.1.58",
Expand All @@ -24,7 +24,7 @@
"flake8": "4.0.1",
"gherkin-lint": "0.0.0",
"git_diff": "2.30.2",
"golangci-lint": "1.43.0",
"golangci-lint": "1.44.0",
"graphql-schema-linter": "2.0.1",
"hadolint": "2.7.0",
"htmlhint": "1.1.1",
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ Note: Can be used with `megalinter/megalinter@beta` in your GitHub Action mega-l
- [checkov](https://www.checkov.io/) from 2.0.746 to **2.0.749** on 2022-01-24
- [dotenv-linter](https://dotenv-linter.github.io/) from 3.1.1 to **3.2.0** on 2022-01-24
- [checkov](https://www.checkov.io/) from 2.0.749 to **2.0.754** on 2022-01-24
- [golangci-lint](https://golangci-lint.run/) from 1.43.0 to **1.44.0** on 2022-01-25
- [checkov](https://www.checkov.io/) from 2.0.754 to **2.0.763** on 2022-01-25
<!-- linter-versions-end -->

## [v5.6.0] - 2022-01-22
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} | 21.12 | [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.57.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.754 | [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.763 | [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.2.1 | [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 All @@ -30,7 +30,7 @@
| [**flake8**](https://github.com/PyCQA/flake8){target=_blank} | 4.0.1 | [Other](licenses/flake8.md) | [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 | <!-- --> | [GHERKIN](descriptors/gherkin_gherkin_lint.md) | :white_circle: | [Web Site](https://github.com/vsiakka/gherkin-lint){target=_blank} |
| [**git_diff**](https://github.com/git/git){target=_blank} | 2.30.2 | [Other](licenses/git_diff.md) | [GIT](descriptors/git_git_diff.md) | <!-- --> | [Repository](https://github.com/git/git){target=_blank} |
| [**golangci-lint**](https://github.com/golangci/golangci-lint){target=_blank} | 1.43.0 | [GPL-3.0](licenses/golangci-lint.md) | [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.44.0 | [GPL-3.0](licenses/golangci-lint.md) | [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} | 2.0.1 | <!-- --> | [GRAPHQL](descriptors/graphql_graphql_schema_linter.md) | :hammer_and_wrench: | [Pull Request](https://github.com/cjoudrey/graphql-schema-linter/pull/272){target=_blank} |
| [**hadolint**](https://github.com/hadolint/hadolint){target=_blank} | 2.7.0 | <!-- --> | [DOCKERFILE](descriptors/dockerfile_hadolint.md) | :heart: | [MegaLinter reference](https://github.com/hadolint/hadolint/blob/master/docs/INTEGRATION.md#mega-linter){target=_blank} |
| [**htmlhint**](https://github.com/htmlhint/HTMLHint){target=_blank} | 1.1.1 | [MIT](licenses/htmlhint.md) | [HTML](descriptors/html_htmlhint.md) | :heart: | [MegaLinter reference](https://htmlhint.com/docs/user-guide/integrations/task-runner){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 @@ -9,7 +9,7 @@

## golangci-lint documentation

- Version in MegaLinter: **1.43.0**
- Version in MegaLinter: **1.44.0**
- 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 is not found, [.golangci.yml](https://github.com/megalinter/megalinter/tree/main/TEMPLATES/.golangci.yml){target=_blank} will be used
Expand Down Expand Up @@ -95,7 +95,7 @@ Usage:

Available Commands:
cache Cache control and information
completion generate the autocompletion script for the specified shell
completion Generate the autocompletion script for the specified shell
config Config
help Help
linters List current linters configuration
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: ['E226', 'E126', 'E24', 'W503', 'E704',
'W504', 'E121', 'E123'])
(Default: ['E121', 'W503', 'E226', 'E704', 'W504',
'E123', 'E126', 'E24'])
--extend-ignore errors
Comma-separated list of errors and warnings to add to
the list of ignored ones. For example, ``--extend-
Expand Down
Loading

0 comments on commit df87ecb

Please sign in to comment.