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 Nov 30, 2021
1 parent 6b90766 commit 20e52a0
Show file tree
Hide file tree
Showing 15 changed files with 13,032 additions and 12,898 deletions.
64 changes: 64 additions & 0 deletions .automation/generated/flavors-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,10 @@
[
"2021-11-29T19:53:22",
1783483
],
[
"2021-11-30T01:33:58",
1795110
]
],
"ci_light": [
Expand Down Expand Up @@ -737,6 +741,10 @@
[
"2021-11-29T19:53:22",
5288
],
[
"2021-11-30T01:33:58",
5289
]
],
"dart": [
Expand Down Expand Up @@ -1107,6 +1115,10 @@
[
"2021-11-29T19:53:22",
1573
],
[
"2021-11-30T01:33:58",
1575
]
],
"documentation": [
Expand Down Expand Up @@ -1477,6 +1489,10 @@
[
"2021-11-29T19:53:22",
22344
],
[
"2021-11-30T01:33:58",
22370
]
],
"dotnet": [
Expand Down Expand Up @@ -1847,6 +1863,10 @@
[
"2021-11-29T19:53:22",
254166
],
[
"2021-11-30T01:33:58",
254261
]
],
"go": [
Expand Down Expand Up @@ -2217,6 +2237,10 @@
[
"2021-11-29T19:53:22",
5558
],
[
"2021-11-30T01:33:58",
5579
]
],
"java": [
Expand Down Expand Up @@ -2587,6 +2611,10 @@
[
"2021-11-29T19:53:22",
40747
],
[
"2021-11-30T01:33:58",
40898
]
],
"javascript": [
Expand Down Expand Up @@ -2957,6 +2985,10 @@
[
"2021-11-29T19:53:22",
56985
],
[
"2021-11-30T01:33:58",
57144
]
],
"php": [
Expand Down Expand Up @@ -3327,6 +3359,10 @@
[
"2021-11-29T19:53:22",
2486
],
[
"2021-11-30T01:33:58",
2487
]
],
"python": [
Expand Down Expand Up @@ -3697,6 +3733,10 @@
[
"2021-11-29T19:53:22",
31359
],
[
"2021-11-30T01:33:58",
31430
]
],
"ruby": [
Expand Down Expand Up @@ -4063,6 +4103,10 @@
[
"2021-11-29T19:53:22",
1543
],
[
"2021-11-30T01:33:58",
1544
]
],
"rust": [
Expand Down Expand Up @@ -4429,6 +4473,10 @@
[
"2021-11-29T19:53:22",
1286
],
[
"2021-11-30T01:33:58",
1287
]
],
"salesforce": [
Expand Down Expand Up @@ -4799,6 +4847,10 @@
[
"2021-11-29T19:53:22",
8547
],
[
"2021-11-30T01:33:58",
8553
]
],
"scala": [
Expand Down Expand Up @@ -5165,6 +5217,10 @@
[
"2021-11-29T19:53:22",
1139
],
[
"2021-11-30T01:33:58",
1140
]
],
"swift": [
Expand Down Expand Up @@ -5531,6 +5587,10 @@
[
"2021-11-29T19:53:22",
1042
],
[
"2021-11-30T01:33:58",
1043
]
],
"terraform": [
Expand Down Expand Up @@ -5901,6 +5961,10 @@
[
"2021-11-29T19:53:22",
24062
],
[
"2021-11-30T01:33:58",
24145
]
]
}
67 changes: 49 additions & 18 deletions .automation/generated/linter-helps.json
Original file line number Diff line number Diff line change
Expand Up @@ -456,8 +456,8 @@
" [--external-checks-git EXTERNAL_CHECKS_GIT] [-l]",
" [-o {cli,cyclonedx,json,junitxml,github_failed_only,sarif}]",
" [--output-bc-ids] [--no-guide] [--quiet] [--compact]",
" [--framework {cloudformation,terraform,kubernetes,serverless,arm,terraform_plan,helm,dockerfile,secrets,json,all}]",
" [--skip-framework {cloudformation,terraform,kubernetes,serverless,arm,terraform_plan,helm,dockerfile,secrets,json}]",
" [--framework {cloudformation,terraform,kubernetes,serverless,arm,terraform_plan,helm,dockerfile,secrets,json,all} [{cloudformation,terraform,kubernetes,serverless,arm,terraform_plan,helm,dockerfile,secrets,json,all} ...]]",
" [--skip-framework {cloudformation,terraform,kubernetes,serverless,arm,terraform_plan,helm,dockerfile,secrets,json} [{cloudformation,terraform,kubernetes,serverless,arm,terraform_plan,helm,dockerfile,secrets,json} ...]]",
" [-c CHECK] [--skip-check SKIP_CHECK]",
" [--run-all-external-checks] [--bc-api-key BC_API_KEY]",
" [--docker-image DOCKER_IMAGE]",
Expand Down Expand Up @@ -509,10 +509,10 @@
" in the CLI.",
" --quiet in case of CLI output, display only failed checks",
" --compact in case of CLI output, do not display code blocks",
" --framework {cloudformation,terraform,kubernetes,serverless,arm,terraform_plan,helm,dockerfile,secrets,json,all}",
" filter scan to run only on a specific infrastructure",
" --framework {cloudformation,terraform,kubernetes,serverless,arm,terraform_plan,helm,dockerfile,secrets,json,all} [{cloudformation,terraform,kubernetes,serverless,arm,terraform_plan,helm,dockerfile,secrets,json,all} ...]",
" filter scan to run only on specific infrastructure",
" code frameworks",
" --skip-framework {cloudformation,terraform,kubernetes,serverless,arm,terraform_plan,helm,dockerfile,secrets,json}",
" --skip-framework {cloudformation,terraform,kubernetes,serverless,arm,terraform_plan,helm,dockerfile,secrets,json} [{cloudformation,terraform,kubernetes,serverless,arm,terraform_plan,helm,dockerfile,secrets,json} ...]",
" filter scan to skip specific infrastructure code",
" frameworks. will be included automatically for some",
" frameworks if system dependencies are missing.",
Expand Down Expand Up @@ -1379,8 +1379,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', 'E24', 'E226', 'W504', 'W503',",
" 'E123', 'E126', 'E704'])",
" (Default: ['E226', 'W504', 'E123', 'E24', 'E121',",
" 'E704', 'W503', 'E126'])",
" --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 @@ -2885,6 +2885,35 @@
" <tabWidth> The number of spaces each tab represents",
""
],
"phplint": [
"Description:",
" Lint something",
"",
"Usage:",
" phplint [options] [--] [<path>...]",
"",
"Arguments:",
" path Path to file or directory to lint.",
"",
"Options:",
" --exclude=EXCLUDE Path to file or directory to exclude from linting (multiple values allowed)",
" --extensions=EXTENSIONS Check only files with selected extensions (default: php)",
" -j, --jobs=JOBS Number of parraled jobs to run (default: 5)",
" -c, --configuration=CONFIGURATION Read configuration from config file (default: ./.phplint.yml).",
" --no-configuration Ignore default configuration file (default: ./.phplint.yml).",
" --no-cache Ignore cached data.",
" --cache=CACHE Path to the cache file.",
" --no-progress Hide the progress output.",
" --json[=JSON] Path to store JSON results.",
" --xml[=XML] Path to store JUnit XML results.",
" -w, --warning Also show warnings.",
" -q, --quiet Do not output any message",
" -h, --help Display help for the given command. When no command is given display help for the list command",
" -V, --version Display this application version",
" --ansi|--no-ansi Force (or disable --no-ansi) ANSI output",
" -n, --no-interaction Do not ask any interactive question",
" -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug"
],
"phpstan": [
"Description:",
" Analyses source code",
Expand Down Expand Up @@ -5700,11 +5729,12 @@
" [--groups GROUPS [GROUPS ...]]",
" [--group-components GROUP_COMPONENTS [GROUP_COMPONENTS ...]]",
" [--report [FILE]] [--report-stylesheet CSSFILE]",
" [--edit-notebook TARGET] [--notebook-listen IP:PORT]",
" [--lint [{text,json}]] [--generate-unit-tests [TESTPATH]]",
" [--containerize] [--export-cwl FILE] [--list]",
" [--list-target-rules] [--dag] [--rulegraph] [--filegraph]",
" [--d3dag] [--summary] [--detailed-summary] [--archive FILE]",
" [--draft-notebook TARGET] [--edit-notebook TARGET]",
" [--notebook-listen IP:PORT] [--lint [{text,json}]]",
" [--generate-unit-tests [TESTPATH]] [--containerize]",
" [--export-cwl FILE] [--list] [--list-target-rules] [--dag]",
" [--rulegraph] [--filegraph] [--d3dag] [--summary]",
" [--detailed-summary] [--archive FILE]",
" [--cleanup-metadata FILE [FILE ...]] [--cleanup-shadow]",
" [--skip-script-cleanup] [--unlock] [--list-version-changes]",
" [--list-code-changes] [--list-input-changes]",
Expand Down Expand Up @@ -6034,6 +6064,13 @@
" custom logo, see docs. (default: None)",
"",
"NOTEBOOKS:",
" --draft-notebook TARGET",
" Draft a skeleton notebook for the rule used to",
" generate the given target file. This notebook can then",
" be opened in a jupyter server, exeucted and",
" implemented until ready. After saving, it will",
" automatically be reused in non-interactive mode by",
" Snakemake for subsequent jobs. (default: None)",
" --edit-notebook TARGET",
" Interactively edit the notebook associated with the",
" rule used to generate the given target file. This will",
Expand Down Expand Up @@ -7021,12 +7058,6 @@
" -c, --config Used to specify a .tsqllintrc file path other than the",
" default",
" -f, --force Used to force generation of default config file when",
" one already exists",
" -i, --init Generate default .tsqllintrc config file",
" -p, --print-config Print path to config file",
" -l, --list-plugins List the loaded plugins",
" -v, --version Display tsqllint version",
" -h, --help Display this help dialog",
""
],
"v8r": [
Expand Down
7 changes: 4 additions & 3 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.11",
"cfn-lint": "0.56.2",
"checkov": "2.0.606",
"checkov": "2.0.609",
"checkstyle": "9.2",
"chktex": "1.7.6",
"clippy": "0.1.56",
Expand Down Expand Up @@ -45,6 +45,7 @@
"perlcritic": "1.140",
"php": "7.4.26",
"phpcs": "3.6.1",
"phplint": "3.0",
"phpstan": "1.2.0",
"powershell": "7.2.0",
"prettier": "2.5.0",
Expand All @@ -69,13 +70,13 @@
"shellcheck": "0.8.0",
"shfmt": "3.3.1",
"snakefmt": "0.4.4",
"snakemake": "6.11.1",
"snakemake": "6.12.1",
"spectral": "5.6.0",
"sql-lint": "0.0.19",
"sqlfluff": "0.8.2",
"standard": "15.0.1",
"stylelint": "14.1.0",
"swiftlint": "0.45.0",
"swiftlint": "0.45.1",
"tekton-lint": "0.6.0",
"terraform-fmt": "1.0.11",
"terragrunt": "0.35.13",
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ Note: Can be used with `megalinter/megalinter@beta` in your GitHub Action mega-l
- [snakemake](https://snakemake.readthedocs.io/en/stable/) from 6.11.0 to **6.11.1** on 2021-11-27
- [checkstyle](https://checkstyle.sourceforge.io) from 9.1 to **9.2** on 2021-11-29
- [checkov](https://www.checkov.io/) from 2.0.605 to **2.0.606** on 2021-11-29
- [snakemake](https://snakemake.readthedocs.io/en/stable/) from 6.11.1 to **6.12.1** on 2021-11-30
- [swiftlint](https://github.com/realm/SwiftLint) from 0.45.0 to **0.45.1** on 2021-11-30
- [checkov](https://www.checkov.io/) from 2.0.606 to **2.0.609** on 2021-11-30
<!-- linter-versions-end -->

## [v5.2.0] - 2021-11-18
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<!-- mega-linter-title-end -->

![GitHub release](https://img.shields.io/github/v/release/megalinter/megalinter?sort=semver)
[![Docker Pulls](https://img.shields.io/badge/docker%20pulls-2.2M-blue)](https://megalinter.github.io/flavors/)
[![Docker Pulls](https://img.shields.io/badge/docker%20pulls-2.3M-blue)](https://megalinter.github.io/flavors/)
[![Downloads/week](https://img.shields.io/npm/dw/mega-linter-runner.svg)](https://npmjs.org/package/mega-linter-runner)
[![GitHub stars](https://img.shields.io/github/stars/megalinter/megalinter?cacheSeconds=3600)](https://github.com/megalinter/megalinter/stargazers/)
[![MegaLinter](https://github.com/megalinter/megalinter/workflows/MegaLinter/badge.svg?branch=main)](https://github.com/megalinter/megalinter/actions?query=workflow%3AMegaLinter+branch%3Amain)
Expand Down
Loading

0 comments on commit 20e52a0

Please sign in to comment.