Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[automation] Auto-update linters version, help and documentation #1046

Merged
merged 9 commits into from
Dec 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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-12-01T08:01:25",
1840130
]
],
"ci_light": [
Expand Down Expand Up @@ -737,6 +741,10 @@
[
"2021-11-29T19:53:22",
5288
],
[
"2021-12-01T08:01:25",
5312
]
],
"dart": [
Expand Down Expand Up @@ -1107,6 +1115,10 @@
[
"2021-11-29T19:53:22",
1573
],
[
"2021-12-01T08:01:25",
1581
]
],
"documentation": [
Expand Down Expand Up @@ -1477,6 +1489,10 @@
[
"2021-11-29T19:53:22",
22344
],
[
"2021-12-01T08:01:25",
22731
]
],
"dotnet": [
Expand Down Expand Up @@ -1847,6 +1863,10 @@
[
"2021-11-29T19:53:22",
254166
],
[
"2021-12-01T08:01:25",
254797
]
],
"go": [
Expand Down Expand Up @@ -2217,6 +2237,10 @@
[
"2021-11-29T19:53:22",
5558
],
[
"2021-12-01T08:01:25",
5625
]
],
"java": [
Expand Down Expand Up @@ -2587,6 +2611,10 @@
[
"2021-11-29T19:53:22",
40747
],
[
"2021-12-01T08:01:25",
41343
]
],
"javascript": [
Expand Down Expand Up @@ -2957,6 +2985,10 @@
[
"2021-11-29T19:53:22",
56985
],
[
"2021-12-01T08:01:25",
57753
]
],
"php": [
Expand Down Expand Up @@ -3327,6 +3359,10 @@
[
"2021-11-29T19:53:22",
2486
],
[
"2021-12-01T08:01:25",
2511
]
],
"python": [
Expand Down Expand Up @@ -3697,6 +3733,10 @@
[
"2021-11-29T19:53:22",
31359
],
[
"2021-12-01T08:01:25",
31796
]
],
"ruby": [
Expand Down Expand Up @@ -4063,6 +4103,10 @@
[
"2021-11-29T19:53:22",
1543
],
[
"2021-12-01T08:01:25",
1544
]
],
"rust": [
Expand Down Expand Up @@ -4429,6 +4473,10 @@
[
"2021-11-29T19:53:22",
1286
],
[
"2021-12-01T08:01:25",
1287
]
],
"salesforce": [
Expand Down Expand Up @@ -4799,6 +4847,10 @@
[
"2021-11-29T19:53:22",
8547
],
[
"2021-12-01T08:01:25",
8583
]
],
"scala": [
Expand Down Expand Up @@ -5165,6 +5217,10 @@
[
"2021-11-29T19:53:22",
1139
],
[
"2021-12-01T08:01:25",
1140
]
],
"swift": [
Expand Down Expand Up @@ -5531,6 +5587,10 @@
[
"2021-11-29T19:53:22",
1042
],
[
"2021-12-01T08:01:25",
1043
]
],
"terraform": [
Expand Down Expand Up @@ -5901,6 +5961,10 @@
[
"2021-11-29T19:53:22",
24062
],
[
"2021-12-01T08:01:25",
24330
]
]
}
69 changes: 50 additions & 19 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: ['E24', 'E126', 'E121', 'W504', 'E704',",
" 'W503', 'E123', 'E226'])",
" --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,16 +7058,10 @@
" -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": [
"v8r <filename>",
"index.js <filename>",
"",
"Validate a local json/yaml file against a schema",
"",
Expand Down
9 changes: 5 additions & 4 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.614",
"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,20 +70,20 @@
"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",
"terrascan": "1.12.0",
"tflint": "0.33.1",
"tsqllint": "1.14.0.0",
"v8r": "0.6.1",
"v8r": "0.7.0",
"xmllint": "20912",
"yamllint": "1.26.3"
}
4 changes: 2 additions & 2 deletions .automation/test/arm/arm_good_1.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
{
"name": "[variables('Network.Name')]",
"type": "Microsoft.Network/virtualNetworks",
"apiVersion": "2019-12-01",
"apiVersion": "2021-05-01",
"location": "[variables('Network.Location')]",
"tags": "[variables('Network.Tags')]",
"properties": {
Expand All @@ -47,7 +47,7 @@
"outputs": {
"state": {
"type": "object",
"value": "[reference(resourceId('Microsoft.Network/virtualNetworks',variables('Network.Name')), '2019-12-01', 'Full')]"
"value": "[reference(resourceId('Microsoft.Network/virtualNetworks',variables('Network.Name')), '2021-05-01', 'Full')]"
}
}
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ 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
- [v8r](https://github.com/chris48s/v8r) from 0.6.1 to **0.7.0** on 2021-11-30
<!-- linter-versions-end -->

## [v5.2.0] - 2021-11-18
Expand Down
Loading