Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation (#2224)
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam authored Jan 6, 2023
1 parent 528a33c commit 172d5d6
Show file tree
Hide file tree
Showing 23 changed files with 445 additions and 279 deletions.
64 changes: 64 additions & 0 deletions .automation/generated/flavors-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -1195,6 +1195,10 @@
[
"2023-01-05T19:18:33",
2725601
],
[
"2023-01-06T07:53:30",
2726153
]
],
"ci_light": [
Expand Down Expand Up @@ -2393,6 +2397,10 @@
[
"2023-01-05T19:18:33",
41583
],
[
"2023-01-06T07:53:30",
41679
]
],
"cupcake": [
Expand Down Expand Up @@ -2571,6 +2579,10 @@
[
"2023-01-05T19:18:33",
1377
],
[
"2023-01-06T07:53:30",
1393
]
],
"dart": [
Expand Down Expand Up @@ -4679,6 +4691,10 @@
[
"2023-01-05T19:18:33",
100628
],
[
"2023-01-06T07:53:30",
100761
]
],
"dotnet": [
Expand Down Expand Up @@ -5877,6 +5893,10 @@
[
"2023-01-05T19:18:33",
337051
],
[
"2023-01-06T07:53:30",
337175
]
],
"go": [
Expand Down Expand Up @@ -7075,6 +7095,10 @@
[
"2023-01-05T19:18:33",
15943
],
[
"2023-01-06T07:53:30",
15951
]
],
"java": [
Expand Down Expand Up @@ -8273,6 +8297,10 @@
[
"2023-01-05T19:18:33",
104692
],
[
"2023-01-06T07:53:30",
104741
]
],
"javascript": [
Expand Down Expand Up @@ -9471,6 +9499,10 @@
[
"2023-01-05T19:18:33",
183151
],
[
"2023-01-06T07:53:30",
183271
]
],
"php": [
Expand Down Expand Up @@ -10669,6 +10701,10 @@
[
"2023-01-05T19:18:33",
34740
],
[
"2023-01-06T07:53:30",
34857
]
],
"python": [
Expand Down Expand Up @@ -11867,6 +11903,10 @@
[
"2023-01-05T19:18:33",
143313
],
[
"2023-01-06T07:53:30",
143518
]
],
"ruby": [
Expand Down Expand Up @@ -13061,6 +13101,10 @@
[
"2023-01-05T19:18:33",
2802
],
[
"2023-01-06T07:53:30",
2802
]
],
"rust": [
Expand Down Expand Up @@ -14255,6 +14299,10 @@
[
"2023-01-05T19:18:33",
4386
],
[
"2023-01-06T07:53:30",
4386
]
],
"salesforce": [
Expand Down Expand Up @@ -15453,6 +15501,10 @@
[
"2023-01-05T19:18:33",
15927
],
[
"2023-01-06T07:53:30",
15933
]
],
"scala": [
Expand Down Expand Up @@ -16649,6 +16701,10 @@
[
"2023-01-05T19:18:33",
1974
],
[
"2023-01-06T07:53:30",
1977
]
],
"swift": [
Expand Down Expand Up @@ -17843,6 +17899,10 @@
[
"2023-01-05T19:18:33",
3053
],
[
"2023-01-06T07:53:30",
3054
]
],
"terraform": [
Expand Down Expand Up @@ -19041,6 +19101,10 @@
[
"2023-01-05T19:18:33",
156394
],
[
"2023-01-06T07:53:30",
156618
]
]
}
106 changes: 70 additions & 36 deletions .automation/generated/linter-helps.json
Original file line number Diff line number Diff line change
Expand Up @@ -483,9 +483,9 @@
" input).",
" --python-cell-magics TEXT When processing Jupyter Notebooks, add the",
" given magic to the list of known python-",
" magics (python, python3, pypy, capture,",
" timeit, time, prun). Useful for formatting",
" cells with custom python magics.",
" magics (capture, pypy, time, python3, prun,",
" timeit, python). Useful for formatting cells",
" with custom python magics.",
" -x, --skip-source-first-line Skip the first line of the source code.",
" -S, --skip-string-normalization",
" Don't normalize string quotes or prefixes.",
Expand Down Expand Up @@ -667,7 +667,7 @@
" [--secrets-scan-file-type SECRETS_SCAN_FILE_TYPE]",
" [--enable-secret-scan-all-files]",
" [--block-list-secret-scan BLOCK_LIST_SECRET_SCAN]",
" [--summary-position {top,bottom}]",
" [--summary-position {bottom,top}]",
" [--skip-resources-without-violations]",
"",
"Infrastructure as code static analysis",
Expand Down Expand Up @@ -918,7 +918,7 @@
" --block-list-secret-scan BLOCK_LIST_SECRET_SCAN",
" List of files to filter out from the secret scanner",
" [env var: CKV_SECRETS_SCAN_BLOCK_LIST]",
" --summary-position {top,bottom}",
" --summary-position {bottom,top}",
" Chose whether the summary will be appended on top",
" (before the checks results) or on bottom (after check",
" results), default is on top.",
Expand Down Expand Up @@ -1425,6 +1425,7 @@
"",
"Options:",
" --check Check that files are formatted. Will not write any changes.",
" --no-cache Bypass the cache to determine if a file needs to be formatted.",
" --fast Skip comparing syntax tree of formatted file to original file to validate changes.",
" --skip-write Skip writing changes. Generally used for testing to ensure csharpier doesn't throw any errors or cause syntax tree validation failures.",
" --write-stdout Write the results of formatting any files to stdout.",
Expand Down Expand Up @@ -1482,7 +1483,7 @@
""
],
"devskim": [
"Microsoft DevSkim Command Line Interface 0.6.9+456d78fa02",
"Microsoft DevSkim Command Line Interface 0.7.101+7d74268320",
"",
"Usage: devskim [options] [command]",
"",
Expand Down Expand Up @@ -1580,36 +1581,65 @@
" list Shows list of available checks [aliases: l]"
],
"dotnet-format": [
"Description:",
" Formats code to match editorconfig settings.",
"",
"Usage:",
" dotnet format [<PROJECT | SOLUTION>] [command] [options]",
"",
"Arguments:",
" <PROJECT | SOLUTION> The project or solution file to operate on. If a file is not specified, the command will search the current directory for one. [default: ]",
"",
"Options:",
" --diagnostics <diagnostics> A space separated list of diagnostic ids to use as a filter when fixing code style or 3rd party issues.",
" [default: whichever ids are listed in the editorconfig file]",
" --severity <error|info|warn> The severity of diagnostics to fix. Allowed values are info, warn, and error.",
" --no-restore Doesn't execute an implicit restore before formatting.",
" --verify-no-changes Verify no formatting changes would be performed. Terminates with a non-zero exit code if any files would have",
" been formatted.",
" --include <include> A list of relative file or folder paths to include in formatting. All files are formatted if empty. [default:",
" all files in the solution or project]",
" --exclude <exclude> A list of relative file or folder paths to exclude from formatting. [default: none]",
" --include-generated Format files generated by the SDK.",
" -v, --verbosity <d|detailed|diag|diagnostic|m|minimal|n|normal|q|quiet> Set the verbosity level. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic]",
" --binarylog <binary-log-path> Log all project or solution load information to a binary log file.",
" --report <report-path> Accepts a file path, which if provided, will produce a json report in the given directory.",
" -?, -h, --help Show command line help.",
"",
"Commands:",
" whitespace <PROJECT | SOLUTION> Run whitespace formatting. [default: ]",
" style <PROJECT | SOLUTION> Run code style analyzers and apply fixes. [default: ]",
" analyzers <PROJECT | SOLUTION> Run 3rd party analyzers and apply fixes. [default: ]",
""
"Usage: dotnet [runtime-options] [path-to-application] [arguments]",
"",
"Execute a .NET application.",
"",
"runtime-options:",
" --additionalprobingpath <path> Path containing probing policy and assemblies to probe for.",
" --additional-deps <path> Path to additional deps.json file.",
" --depsfile Path to <application>.deps.json file.",
" --fx-version <version> Version of the installed Shared Framework to use to run the application.",
" --roll-forward <setting> Roll forward to framework version (LatestPatch, Minor, LatestMinor, Major, LatestMajor, Disable).",
" --runtimeconfig Path to <application>.runtimeconfig.json file.",
"",
"path-to-application:",
" The path to an application .dll file to execute.",
"",
"Usage: dotnet [sdk-options] [command] [command-options] [arguments]",
"",
"Execute a .NET SDK command.",
"",
"sdk-options:",
" -d|--diagnostics Enable diagnostic output.",
" -h|--help Show command line help.",
" --info Display .NET information.",
" --list-runtimes Display the installed runtimes.",
" --list-sdks Display the installed SDKs.",
" --version Display .NET SDK version in use.",
"",
"SDK commands:",
" add Add a package or reference to a .NET project.",
" build Build a .NET project.",
" build-server Interact with servers started by a build.",
" clean Clean build outputs of a .NET project.",
" format Apply style preferences to a project or solution.",
" help Show command line help.",
" list List project references of a .NET project.",
" msbuild Run Microsoft Build Engine (MSBuild) commands.",
" new Create a new .NET project or file.",
" nuget Provides additional NuGet commands.",
" pack Create a NuGet package.",
" publish Publish a .NET project for deployment.",
" remove Remove a package or reference from a .NET project.",
" restore Restore dependencies specified in a .NET project.",
" run Build and run a .NET project output.",
" sdk Manage .NET SDK installation.",
" sln Modify Visual Studio solution files.",
" store Store the specified assemblies in the runtime package store.",
" test Run unit tests using the test runner specified in a .NET project.",
" tool Install or manage tools that extend the .NET experience.",
" vstest Run Microsoft Test Engine (VSTest) commands.",
" workload Manage optional workloads.",
"",
"Additional commands from bundled tools:",
" dev-certs Create and manage development certificates.",
" fsi Start F# Interactive / execute F# scripts.",
" sql-cache SQL Server cache command-line tools.",
" user-secrets Manage development user secrets.",
" watch Start a file watcher that runs a command when files change.",
"",
"Run 'dotnet [command] --help' for more information on a command."
],
"dustilock": [
"usage: DustiLock [-h|--help] [-r|--recursive] [-a|--audit] [-p|--path",
Expand Down Expand Up @@ -9024,8 +9054,12 @@
"",
" -c, --config Used to specify a .tsqllintrc file path other than the",
" default",
" -g, --ignorelist Used to specify a .tsqllintignore file path other than",
" the default",
" -f, --force Used to force generation of default config file when",
" one already exists",
" -x, --fix Used to fix some of the common linting errors if",
" possible",
" -i, --init Generate default .tsqllintrc config file",
" -p, --print-config Print path to config file",
" -l, --list-plugins List the loaded plugins",
Expand Down
8 changes: 4 additions & 4 deletions .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"clj-kondo": "2022.12.10",
"coffeelint": "5.2.11",
"cpplint": "1.6.1",
"csharpier": "0.16.0",
"csharpier": "0.21.0",
"cspell": "6.18.1",
"dartanalyzer": "0.0.0",
"devskim": "0.6.9",
"devskim": "0.7.101",
"djlint": "1.19.11",
"dockerfilelint": "1.8.0",
"dotenv-linter": "3.3.0",
Expand Down Expand Up @@ -77,7 +77,7 @@
"scalafix": "0.10.4",
"scss-lint": "0.59.0",
"secretlint": "6.0.2",
"semgrep": "1.2.1",
"semgrep": "1.3.0",
"sfdx-scanner": "2.8.0",
"sfdx-scanner-apex": "3.8.0",
"sfdx-scanner-aura": "3.8.0",
Expand All @@ -99,7 +99,7 @@
"terrascan": "1.16.0",
"tflint": "0.44.0",
"trivy": "0.35.0",
"tsqllint": "1.14.5.0",
"tsqllint": "1.15.1.0",
"v8r": "0.13.1",
"xmllint": "20914",
"yamllint": "1.28.0"
Expand Down
Loading

0 comments on commit 172d5d6

Please sign in to comment.