From 6e26b92dbbb8f93a0ad9c3c4e77e249cb6d7190b Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Sat, 13 Jan 2024 22:24:36 +0000 Subject: [PATCH 1/6] [automation] Auto-update linters version, help and documentation --- .automation/generated/linter-helps.json | 465 +++++++++++------- .automation/generated/linter-versions.json | 46 +- CHANGELOG.md | 23 + README.md | 2 +- docs/all_linters.md | 46 +- docs/descriptors/cloudformation_cfn_lint.md | 2 +- docs/descriptors/csharp_dotnet_format.md | 2 +- docs/descriptors/css_scss_lint.md | 2 +- docs/descriptors/javascript_prettier.md | 4 +- docs/descriptors/json_prettier.md | 4 +- docs/descriptors/kotlin_ktlint.md | 2 +- docs/descriptors/kubernetes_kubescape.md | 2 +- .../markdown_markdown_link_check.md | 2 +- docs/descriptors/php_phpcs.md | 2 +- docs/descriptors/php_phpstan.md | 2 +- docs/descriptors/php_psalm.md | 2 +- docs/descriptors/protobuf_protolint.md | 2 +- docs/descriptors/python_pyright.md | 2 +- docs/descriptors/python_ruff.md | 2 +- docs/descriptors/repository_checkov.md | 2 +- docs/descriptors/repository_devskim.md | 4 +- docs/descriptors/repository_trivy.md | 2 +- docs/descriptors/repository_trivy_sbom.md | 2 +- docs/descriptors/repository_trufflehog.md | 2 +- .../salesforce_lightning_flow_scanner.md | 2 +- .../salesforce_sfdx_scanner_apex.md | 144 +++--- .../salesforce_sfdx_scanner_aura.md | 144 +++--- .../salesforce_sfdx_scanner_lwc.md | 144 +++--- docs/descriptors/snakemake_snakefmt.md | 2 +- docs/descriptors/snakemake_snakemake.md | 26 +- docs/descriptors/spell_lychee.md | 4 +- docs/descriptors/spell_vale.md | 3 +- docs/descriptors/terraform_terragrunt.md | 4 +- docs/descriptors/typescript_prettier.md | 4 +- docs/descriptors/vbdotnet_dotnet_format.md | 2 +- docs/descriptors/xml_xmllint.md | 2 +- docs/descriptors/yaml_prettier.md | 4 +- docs/reporters.md | 34 +- docs/used-by-stats.md | 227 ++++----- 39 files changed, 802 insertions(+), 570 deletions(-) diff --git a/.automation/generated/linter-helps.json b/.automation/generated/linter-helps.json index 168dd17141e..c98c8b5712c 100644 --- a/.automation/generated/linter-helps.json +++ b/.automation/generated/linter-helps.json @@ -1769,7 +1769,7 @@ "" ], "devskim": [ - "devskim 1.0.27+935af10ad2", + "devskim 1.0.28+5b7d83e6c7", "\u00a9 Microsoft Corporation. All rights reserved.", "", " analyze Analyze source code using DevSkim", @@ -3258,7 +3258,7 @@ " completion Generate autocompletion script", " config Handle cached configurations", " delete Delete configurations in Kubescape SaaS version", - " download Download controls-inputs,exceptions,control,framework,artifacts,attack-tracks", + " download Download exceptions,control,framework,artifacts,attack-tracks,controls-inputs", " fix Fix misconfiguration in files", " help Help about any command", " list List frameworks/controls will list the supported frameworks and controls", @@ -3305,7 +3305,7 @@ " --version version for kubeval" ], "lightning-flow-scanner": [ - "(node:1916) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.", + "(node:1908) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.", "(Use `node --trace-deprecation ...` to show where the warning was created)", "Try to resolve the errors in the following flows:", "", @@ -3607,7 +3607,7 @@ " -u, --user-agent ", " User agent", "", - " [default: lychee/0.14.0]", + " [default: lychee/0.14.1]", "", " -i, --insecure", " Proceed for server connections considered insecure (invalid TLS)", @@ -3732,7 +3732,7 @@ " Print version" ], "markdown-link-check": [ - "(node:1687) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.", + "(node:1680) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.", "(Use `node --trace-deprecation ...` to show where the warning was created)", "Usage: markdown-link-check [options] [filenamesOrUrls...]", "", @@ -5269,7 +5269,7 @@ " Defaults to css.", " --jsx-single-quote Use single quotes in JSX.", " Defaults to false.", - " --parser ", + " --parser ", " Which parser to use.", " --print-width The line length where Prettier will try wrap.", " Defaults to 80.", @@ -7757,86 +7757,123 @@ "@typescript-eslint/unbound-method typescript Best Practices Best Practices eslint-typescript" ], "sfdx-scanner-apex": [ - "(node:1934) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.", + "(node:1924) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.", "(Use `node --trace-deprecation ...` to show where the warning was created)", "scan a codebase with a selection of rules", "", "USAGE", - " $ sf scanner run", + " $ sf scanner run -t [--verbose] [-c ] [-f", + " csv|html|json|junit|sarif|table|xml] [-o ] [-s | ]", + " [--normalize-severity] [-p ] [-r ] [-e", + " eslint|eslint-lwc|eslint-typescript|pmd|pmd-appexchange|retire-js|sfge|cpd]", + " [--tsconfig ] [--eslintconfig ] [--pmdconfig ] [--env", + " ] [--verbose-violations]", + "", + "FLAGS", + " -c, --category=... one or more categories of rules to run", + " -e, --engine=