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 Jan 26, 2022
1 parent e9f7f0b commit 36e834e
Show file tree
Hide file tree
Showing 11 changed files with 115 additions and 21 deletions.
64 changes: 64 additions & 0 deletions .automation/generated/flavors-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,10 @@
[
"2022-01-25T07:19:01",
2426950
],
[
"2022-01-26T01:45:09",
2427753
]
],
"ci_light": [
Expand Down Expand Up @@ -1025,6 +1029,10 @@
[
"2022-01-25T07:19:01",
6703
],
[
"2022-01-26T01:45:09",
6711
]
],
"dart": [
Expand Down Expand Up @@ -1539,6 +1547,10 @@
[
"2022-01-25T07:19:01",
1984
],
[
"2022-01-26T01:45:09",
2003
]
],
"documentation": [
Expand Down Expand Up @@ -2053,6 +2065,10 @@
[
"2022-01-25T07:19:01",
32996
],
[
"2022-01-26T01:45:09",
33612
]
],
"dotnet": [
Expand Down Expand Up @@ -2567,6 +2583,10 @@
[
"2022-01-25T07:19:01",
271425
],
[
"2022-01-26T01:45:09",
271750
]
],
"go": [
Expand Down Expand Up @@ -3081,6 +3101,10 @@
[
"2022-01-25T07:19:01",
7322
],
[
"2022-01-26T01:45:09",
7372
]
],
"java": [
Expand Down Expand Up @@ -3595,6 +3619,10 @@
[
"2022-01-25T07:19:01",
53057
],
[
"2022-01-26T01:45:09",
53346
]
],
"javascript": [
Expand Down Expand Up @@ -4109,6 +4137,10 @@
[
"2022-01-25T07:19:01",
77843
],
[
"2022-01-26T01:45:09",
78542
]
],
"php": [
Expand Down Expand Up @@ -4623,6 +4655,10 @@
[
"2022-01-25T07:19:01",
3769
],
[
"2022-01-26T01:45:09",
3785
]
],
"python": [
Expand Down Expand Up @@ -5137,6 +5173,10 @@
[
"2022-01-25T07:19:01",
49123
],
[
"2022-01-26T01:45:09",
49529
]
],
"ruby": [
Expand Down Expand Up @@ -5647,6 +5687,10 @@
[
"2022-01-25T07:19:01",
1775
],
[
"2022-01-26T01:45:09",
1778
]
],
"rust": [
Expand Down Expand Up @@ -6157,6 +6201,10 @@
[
"2022-01-25T07:19:01",
1509
],
[
"2022-01-26T01:45:09",
1512
]
],
"salesforce": [
Expand Down Expand Up @@ -6671,6 +6719,10 @@
[
"2022-01-25T07:19:01",
9990
],
[
"2022-01-26T01:45:09",
10009
]
],
"scala": [
Expand Down Expand Up @@ -7181,6 +7233,10 @@
[
"2022-01-25T07:19:01",
1354
],
[
"2022-01-26T01:45:09",
1366
]
],
"swift": [
Expand Down Expand Up @@ -7691,6 +7747,10 @@
[
"2022-01-25T07:19:01",
1402
],
[
"2022-01-26T01:45:09",
1407
]
],
"terraform": [
Expand Down Expand Up @@ -8205,6 +8265,10 @@
[
"2022-01-25T07:19:01",
33803
],
[
"2022-01-26T01:45:09",
34037
]
]
}
19 changes: 15 additions & 4 deletions .automation/generated/linter-helps.json
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@
" B505 weak_cryptographic_key",
" B506 yaml_load",
" B507 ssh_no_host_key_verification",
" B508 snmp_insecure_version",
" B509 snmp_weak_cryptography",
" B601 paramiko_calls",
" B602 subprocess_popen_with_shell_equals_true",
" B603 subprocess_without_shell_equals_true",
Expand Down Expand Up @@ -471,6 +473,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 +593,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 +1393,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: ['W504', 'E24', 'E123', 'W503', 'E126',",
" 'E226', 'E704', 'E121'])",
" --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 +1519,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 +6681,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
6 changes: 3 additions & 3 deletions .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"actionlint": "1.6.8",
"ansible-lint": "0.0.0",
"arm-ttk": "0.0.0",
"bandit": "1.7.1",
"bandit": "1.7.2",
"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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ 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-26
- [bandit](https://bandit.readthedocs.io/en/latest/) from 1.7.1 to **1.7.2** on 2022-01-26
- [checkov](https://www.checkov.io/) from 2.0.754 to **2.0.763** on 2022-01-26
<!-- linter-versions-end -->

## [v5.6.0] - 2022-01-22
Expand Down
6 changes: 3 additions & 3 deletions docs/all_linters.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
| [**actionlint**](https://github.com/rhysd/actionlint){target=_blank} | 1.6.8 | [MIT](licenses/actionlint.md) | [ACTION](descriptors/action_actionlint.md) | :white_circle: | [Repository](https://github.com/rhysd/actionlint){target=_blank} |
| [**ansible-lint**](https://github.com/ansible/ansible-lint){target=_blank} | N/A | [MIT](licenses/ansible-lint.md) | [ANSIBLE](descriptors/ansible_ansible_lint.md) | :white_circle: | [Repository](https://github.com/ansible/ansible-lint){target=_blank} |
| [**arm-ttk**](https://github.com/Azure/arm-ttk){target=_blank} | N/A | <!-- --> | [ARM](descriptors/arm_arm_ttk.md) | :white_circle: | [Web Site](https://github.com/Azure/arm-ttk){target=_blank} |
| [**bandit**](https://github.com/PyCQA/bandit){target=_blank} | 1.7.1 | [Apache-2.0](licenses/bandit.md) | [PYTHON](descriptors/python_bandit.md) | :white_circle: | [Repository](https://github.com/PyCQA/bandit){target=_blank} |
| [**bandit**](https://github.com/PyCQA/bandit){target=_blank} | 1.7.2 | [Apache-2.0](licenses/bandit.md) | [PYTHON](descriptors/python_bandit.md) | :white_circle: | [Repository](https://github.com/PyCQA/bandit){target=_blank} |
| [**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
Loading

0 comments on commit 36e834e

Please sign in to comment.