From c04d8da2e1482bb1110ac6e427d4c4b5937c91c7 Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Tue, 11 Jul 2023 19:10:08 +0200 Subject: [PATCH] [automation] Auto-update linters version, help and documentation (#2783) --- .automation/generated/flavors-stats.json | 68 +++++++++++ .automation/generated/linter-helps.json | 108 +++++++++--------- .automation/generated/linter-versions.json | 4 +- CHANGELOG.md | 2 + README.md | 2 +- docs/all_linters.md | 4 +- docs/descriptors/python_black.md | 16 +-- docs/descriptors/repository_checkov.md | 6 +- .../salesforce_sfdx_scanner_apex.md | 86 +++++++------- .../salesforce_sfdx_scanner_aura.md | 2 +- .../salesforce_sfdx_scanner_lwc.md | 2 +- docs/descriptors/xml_xmllint.md | 2 +- docs/used-by-stats.md | 34 +++--- 13 files changed, 205 insertions(+), 131 deletions(-) diff --git a/.automation/generated/flavors-stats.json b/.automation/generated/flavors-stats.json index 1cd62c28f6b..97c0dd9ac33 100644 --- a/.automation/generated/flavors-stats.json +++ b/.automation/generated/flavors-stats.json @@ -1619,6 +1619,10 @@ [ "2023-07-10T12:35:57", 3041527 + ], + [ + "2023-07-11T01:09:42", + 3042713 ] ], "ci_light": [ @@ -3241,6 +3245,10 @@ [ "2023-07-10T12:35:57", 76815 + ], + [ + "2023-07-11T01:09:42", + 77020 ] ], "cupcake": [ @@ -3843,6 +3851,10 @@ [ "2023-07-10T12:35:57", 18539 + ], + [ + "2023-07-11T01:09:42", + 18723 ] ], "dart": [ @@ -6375,6 +6387,10 @@ [ "2023-07-10T12:35:57", 163986 + ], + [ + "2023-07-11T01:09:42", + 164160 ] ], "dotnet": [ @@ -7997,12 +8013,20 @@ [ "2023-07-10T12:35:57", 402077 + ], + [ + "2023-07-11T01:09:42", + 402592 ] ], "dotnetweb": [ [ "2023-07-10T12:35:57", 4 + ], + [ + "2023-07-11T01:09:42", + 12 ] ], "go": [ @@ -9625,6 +9649,10 @@ [ "2023-07-10T12:35:57", 23975 + ], + [ + "2023-07-11T01:09:42", + 24035 ] ], "java": [ @@ -11247,6 +11275,10 @@ [ "2023-07-10T12:35:57", 127358 + ], + [ + "2023-07-11T01:09:42", + 127484 ] ], "javascript": [ @@ -12869,6 +12901,10 @@ [ "2023-07-10T12:35:57", 301182 + ], + [ + "2023-07-11T01:09:42", + 301908 ] ], "php": [ @@ -14491,6 +14527,10 @@ [ "2023-07-10T12:35:57", 51714 + ], + [ + "2023-07-11T01:09:42", + 51743 ] ], "python": [ @@ -16113,6 +16153,10 @@ [ "2023-07-10T12:35:57", 229620 + ], + [ + "2023-07-11T01:09:42", + 230012 ] ], "ruby": [ @@ -17731,6 +17775,10 @@ [ "2023-07-10T12:35:57", 3816 + ], + [ + "2023-07-11T01:09:42", + 3820 ] ], "rust": [ @@ -19349,6 +19397,10 @@ [ "2023-07-10T12:35:57", 6187 + ], + [ + "2023-07-11T01:09:42", + 6201 ] ], "salesforce": [ @@ -20971,6 +21023,10 @@ [ "2023-07-10T12:35:57", 21522 + ], + [ + "2023-07-11T01:09:42", + 21541 ] ], "scala": [ @@ -22591,6 +22647,10 @@ [ "2023-07-10T12:35:57", 19221 + ], + [ + "2023-07-11T01:09:42", + 19284 ] ], "swift": [ @@ -24209,6 +24269,10 @@ [ "2023-07-10T12:35:57", 4104 + ], + [ + "2023-07-11T01:09:42", + 4109 ] ], "terraform": [ @@ -25831,6 +25895,10 @@ [ "2023-07-10T12:35:57", 274119 + ], + [ + "2023-07-11T01:09:42", + 274797 ] ] } \ No newline at end of file diff --git a/.automation/generated/linter-helps.json b/.automation/generated/linter-helps.json index 6905b42db46..55fef72fa4d 100644 --- a/.automation/generated/linter-helps.json +++ b/.automation/generated/linter-helps.json @@ -536,7 +536,7 @@ " -c, --code TEXT Format the code passed in as a string.", " -l, --line-length INTEGER How many characters per line to allow.", " [default: 88]", - " -t, --target-version [py33|py34|py35|py36|py37|py38|py39|py310|py311]", + " -t, --target-version [py33|py34|py35|py36|py37|py38|py39|py310|py311|py312]", " Python versions that should be supported by", " Black's output. By default, Black will try", " to infer this from the project metadata in", @@ -595,9 +595,10 @@ " directories on all platforms (Windows, too).", " Exclusions are calculated first, inclusions", " later. [default: /(\\.direnv|\\.eggs|\\.git|\\.h", - " g|\\.mypy_cache|\\.nox|\\.tox|\\.venv|venv|\\.svn", - " |\\.ipynb_checkpoints|_build|buck-", - " out|build|dist|__pypackages__)/]", + " g|\\.ipynb_checkpoints|\\.mypy_cache|\\.nox|\\.p", + " ytest_cache|\\.ruff_cache|\\.tox|\\.svn|\\.venv|", + " \\.vscode|__pypackages__|_build|buck-", + " out|build|dist|venv)/]", " --extend-exclude TEXT Like --exclude, but adds additional files", " and directories on top of the excluded ones.", " (Useful if you simply want to add to the", @@ -610,8 +611,9 @@ " stdin. Useful to make sure Black will", " respect --force-exclude option on some", " editors that rely on using stdin.", - " -W, --workers INTEGER RANGE Number of parallel workers [default: number", - " of CPUs in the system] [x>=1]", + " -W, --workers INTEGER RANGE Number of parallel workers [default:", + " BLACK_NUM_WORKERS environment variable or", + " number of CPUs in the system] [x>=1]", " -q, --quiet Don't emit non-error messages to stderr.", " Errors are still emitted; silence those with", " 2>/dev/null.", @@ -738,7 +740,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] [--deep-analysis]", " [--no-fail-on-crash] [--mask MASK] [--scan-secrets-history]", " [--secrets-history-timeout SECRETS_HISTORY_TIMEOUT]", @@ -1007,7 +1009,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.", @@ -7081,7 +7083,7 @@ " scanner run dfa scan codebase with all DFA rules", "", "WARNING: We're continually improving Salesforce Code Analyzer. Tell us what you think! Give feedback at https://research.net/r/SalesforceCA", - "(node:1489) Warning: Deprecated config name: apiVersion. Please use org-api-version instead.", + "(node:1488) Warning: Deprecated config name: apiVersion. Please use org-api-version instead.", "(Use `node --trace-warnings ...` to show where the warning was created)", " NAME LANGUAGES CATEGORIES RULESETS [DEP] ENGINE IS DFA IS PILOT", " \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500", @@ -7089,67 +7091,67 @@ " VfHtmlStyleTagXss visualforce Security pmd N N", " VfUnescapeEl visualforce Security Basic VF pmd N N", " ApexAssertionsShouldIncludeMessage apex Best Practices pmd N N", - " ApexUnitTestClassShouldHaveAsserts apex Best Practices ApexUnit,quickstart,Default ruleset... pmd N N", + " ApexUnitTestClassShouldHaveAsserts apex Best Practices quickstart,Default ruleset...,ApexUnit pmd N N", " ApexUnitTestClassShouldHaveRunAs apex Best Practices quickstart pmd N N", " ApexUnitTestMethodShouldHaveIsTestAnnotation apex Best Practices pmd N N", - " ApexUnitTestShouldNotUseSeeAllDataTrue apex Best Practices ApexUnit,quickstart,Default ruleset... pmd N N", - " AvoidGlobalModifier apex Best Practices quickstart,Style,Default ruleset... pmd N N", - " AvoidLogicInTrigger apex Best Practices quickstart,Style,Default ruleset... pmd N N", + " ApexUnitTestShouldNotUseSeeAllDataTrue apex Best Practices quickstart,Default ruleset...,ApexUnit pmd N N", + " AvoidGlobalModifier apex Best Practices quickstart,Default ruleset...,Style pmd N N", + " AvoidLogicInTrigger apex Best Practices quickstart,Default ruleset...,Style pmd N N", " DebugsShouldUseLoggingLevel apex Best Practices quickstart pmd N N", " UnusedLocalVariable apex Best Practices pmd N N", " AvoidDebugStatements apex Performance pmd N N", - " AvoidDmlStatementsInLoops apex Performance Performance,Default ruleset... pmd N N", - " AvoidSoqlInLoops apex Performance Performance,Default ruleset... pmd N N", - " AvoidSoslInLoops apex Performance Performance,Default ruleset... pmd N N", + " AvoidDmlStatementsInLoops apex Performance Default ruleset...,Performance pmd N N", + " AvoidSoqlInLoops apex Performance Default ruleset...,Performance pmd N N", + " AvoidSoslInLoops apex Performance Default ruleset...,Performance pmd N N", " EagerlyLoadedDescribeSObjectResult apex Performance pmd N N", " OperationWithLimitsInLoop apex Performance quickstart pmd N N", - " ApexBadCrypto apex Security quickstart,Security,Default ruleset... pmd N N", - " ApexCRUDViolation apex Security quickstart,Security,Default ruleset... pmd N N", + " ApexBadCrypto apex Security quickstart,Default ruleset...,Security pmd N N", + " ApexCRUDViolation apex Security quickstart,Default ruleset...,Security pmd N N", " ApexCSRF apex Security Security pmd N N", - " ApexDangerousMethods apex Security quickstart,Security,Default ruleset... pmd N N", - " ApexInsecureEndpoint apex Security quickstart,Security,Default ruleset... pmd N N", - " ApexOpenRedirect apex Security quickstart,Security,Default ruleset... pmd N N", - " ApexSharingViolations apex Security quickstart,Security,Default ruleset... pmd N N", - " ApexSOQLInjection apex Security quickstart,Security,Default ruleset... pmd N N", - " ApexSuggestUsingNamedCred apex Security quickstart,Security,Default ruleset... pmd N N", - " ApexXSSFromEscapeFalse apex Security quickstart,Security,Default ruleset... pmd N N", - " ApexXSSFromURLParam apex Security quickstart,Security,Default ruleset... pmd N N", - " ClassNamingConventions apex Code Style quickstart,Style,Default ruleset... pmd N N", - " IfElseStmtsMustUseBraces apex Code Style quickstart,Braces,Default ruleset... pmd N N", - " IfStmtsMustUseBraces apex Code Style quickstart,Braces,Default ruleset... pmd N N", + " ApexDangerousMethods apex Security quickstart,Default ruleset...,Security pmd N N", + " ApexInsecureEndpoint apex Security quickstart,Default ruleset...,Security pmd N N", + " ApexOpenRedirect apex Security quickstart,Default ruleset...,Security pmd N N", + " ApexSharingViolations apex Security quickstart,Default ruleset...,Security pmd N N", + " ApexSOQLInjection apex Security quickstart,Default ruleset...,Security pmd N N", + " ApexSuggestUsingNamedCred apex Security quickstart,Default ruleset...,Security pmd N N", + " ApexXSSFromEscapeFalse apex Security quickstart,Default ruleset...,Security pmd N N", + " ApexXSSFromURLParam apex Security quickstart,Default ruleset...,Security pmd N N", + " ClassNamingConventions apex Code Style quickstart,Default ruleset...,Style pmd N N", + " IfElseStmtsMustUseBraces apex Code Style quickstart,Default ruleset...,Braces pmd N N", + " IfStmtsMustUseBraces apex Code Style quickstart,Default ruleset...,Braces pmd N N", " FieldDeclarationsShouldBeAtStart apex Code Style pmd N N", " FieldNamingConventions apex Code Style quickstart pmd N N", - " ForLoopsMustUseBraces apex Code Style quickstart,Braces,Default ruleset... pmd N N", + " ForLoopsMustUseBraces apex Code Style quickstart,Default ruleset...,Braces pmd N N", " FormalParameterNamingConventions apex Code Style quickstart pmd N N", " LocalVariableNamingConventions apex Code Style quickstart pmd N N", - " MethodNamingConventions apex Code Style quickstart,Style,Default ruleset... pmd N N", + " MethodNamingConventions apex Code Style quickstart,Default ruleset...,Style pmd N N", " OneDeclarationPerLine apex Code Style quickstart,Default ruleset... pmd N N", " PropertyNamingConventions apex Code Style quickstart pmd N N", - " VariableNamingConventions apex Code Style Style,Default ruleset... pmd N N", - " WhileLoopsMustUseBraces apex Code Style quickstart,Braces,Default ruleset... pmd N N", - " AvoidDeeplyNestedIfStmts apex Design quickstart,Complexity,Default ruleset... pmd N N", - " CyclomaticComplexity apex Design Metrics tempora...,quickstart,Default ruleset... pmd N N", + " VariableNamingConventions apex Code Style Default ruleset...,Style pmd N N", + " WhileLoopsMustUseBraces apex Code Style quickstart,Default ruleset...,Braces pmd N N", + " AvoidDeeplyNestedIfStmts apex Design quickstart,Default ruleset...,Complexity pmd N N", + " CyclomaticComplexity apex Design quickstart,Default ruleset...,Metrics tempora... pmd N N", " CognitiveComplexity apex Design pmd N N", - " ExcessiveClassLength apex Design quickstart,Complexity,Default ruleset... pmd N N", - " ExcessiveParameterList apex Design quickstart,Complexity,Default ruleset... pmd N N", - " ExcessivePublicCount apex Design quickstart,Complexity,Default ruleset... pmd N N", - " NcssConstructorCount apex Design quickstart,Complexity,Default ruleset... pmd N N", - " NcssMethodCount apex Design quickstart,Complexity,Default ruleset... pmd N N", - " NcssTypeCount apex Design quickstart,Complexity,Default ruleset... pmd N N", - " StdCyclomaticComplexity apex Design quickstart,Complexity,Default ruleset... pmd N N", - " TooManyFields apex Design quickstart,Complexity,Default ruleset... pmd N N", + " ExcessiveClassLength apex Design quickstart,Default ruleset...,Complexity pmd N N", + " ExcessiveParameterList apex Design quickstart,Default ruleset...,Complexity pmd N N", + " ExcessivePublicCount apex Design quickstart,Default ruleset...,Complexity pmd N N", + " NcssConstructorCount apex Design quickstart,Default ruleset...,Complexity pmd N N", + " NcssMethodCount apex Design quickstart,Default ruleset...,Complexity pmd N N", + " NcssTypeCount apex Design quickstart,Default ruleset...,Complexity pmd N N", + " StdCyclomaticComplexity apex Design quickstart,Default ruleset...,Complexity pmd N N", + " TooManyFields apex Design quickstart,Default ruleset...,Complexity pmd N N", " ApexDoc apex Documentation quickstart,Default ruleset... pmd N N", " ApexCSRF apex Error Prone quickstart,Default ruleset... pmd N N", - " AvoidDirectAccessTriggerMap apex Error Prone quickstart,Style,Default ruleset... pmd N N", - " AvoidHardcodingId apex Error Prone quickstart,Style,Default ruleset... pmd N N", + " AvoidDirectAccessTriggerMap apex Error Prone quickstart,Default ruleset...,Style pmd N N", + " AvoidHardcodingId apex Error Prone quickstart,Default ruleset...,Style pmd N N", " AvoidNonExistentAnnotations apex Error Prone quickstart,Default ruleset... pmd N N", - " EmptyCatchBlock apex Error Prone Empty Code,quickstart,Default ruleset... pmd N N", - " EmptyIfStmt apex Error Prone Empty Code,quickstart,Default ruleset... pmd N N", - " EmptyStatementBlock apex Error Prone Empty Code,quickstart,Default ruleset... pmd N N", - " EmptyTryOrFinallyBlock apex Error Prone Empty Code,quickstart,Default ruleset... pmd N N", - " EmptyWhileStmt apex Error Prone Empty Code,quickstart,Default ruleset... pmd N N", + " EmptyCatchBlock apex Error Prone quickstart,Empty Code,Default ruleset... pmd N N", + " EmptyIfStmt apex Error Prone quickstart,Empty Code,Default ruleset... pmd N N", + " EmptyStatementBlock apex Error Prone quickstart,Empty Code,Default ruleset... pmd N N", + " EmptyTryOrFinallyBlock apex Error Prone quickstart,Empty Code,Default ruleset... pmd N N", + " EmptyWhileStmt apex Error Prone quickstart,Empty Code,Default ruleset... pmd N N", " InaccessibleAuraEnabledGetter apex Error Prone pmd N N", - " MethodWithSameNameAsEnclosingClass apex Error Prone quickstart,Style,Default ruleset... pmd N N", + " MethodWithSameNameAsEnclosingClass apex Error Prone quickstart,Default ruleset...,Style pmd N N", " OverrideBothEqualsAndHashcode apex Error Prone pmd N N", " TestMethodsMustBeInTestClasses apex Error Prone pmd N N", " constructor-super javascript problem problem eslint N N", @@ -7374,7 +7376,7 @@ " scanner run dfa scan codebase with all DFA rules", "", "WARNING: We're continually improving Salesforce Code Analyzer. Tell us what you think! Give feedback at https://research.net/r/SalesforceCA", - "(node:1630) Warning: Deprecated config name: apiVersion. Please use org-api-version instead.", + "(node:1629) Warning: Deprecated config name: apiVersion. Please use org-api-version instead.", "(Use `node --trace-warnings ...` to show where the warning was created)", " NAME LANGUAGES CATEGORIES RULESETS [DEP] ENGINE IS DFA IS PILOT", " \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500", @@ -7667,7 +7669,7 @@ " scanner run dfa scan codebase with all DFA rules", "", "WARNING: We're continually improving Salesforce Code Analyzer. Tell us what you think! Give feedback at https://research.net/r/SalesforceCA", - "(node:1771) Warning: Deprecated config name: apiVersion. Please use org-api-version instead.", + "(node:1770) Warning: Deprecated config name: apiVersion. Please use org-api-version instead.", "(Use `node --trace-warnings ...` to show where the warning was created)", " NAME LANGUAGES CATEGORIES RULESETS [DEP] ENGINE IS DFA IS PILOT", " \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500", diff --git a/.automation/generated/linter-versions.json b/.automation/generated/linter-versions.json index 993489cba60..0d5652e0f2a 100644 --- a/.automation/generated/linter-versions.json +++ b/.automation/generated/linter-versions.json @@ -5,10 +5,10 @@ "bandit": "1.7.5", "bash-exec": "5.2.15", "bicep_linter": "0.18.4", - "black": "23.3.0", + "black": "23.7.0", "cfn-lint": "0.77.10", "checkmake": "0.2.0", - "checkov": "2.3.316", + "checkov": "2.3.318", "checkstyle": "10.12.1", "chktex": "1.7.6", "clippy": "0.1.70", diff --git a/CHANGELOG.md b/CHANGELOG.md index 51938ad9e5d..3e4e25220a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -117,6 +117,8 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l - [kubescape](https://github.com/kubescape/kubescape) from 2.3.7 to **2.3.6** on 2023-07-10 - [checkov](https://www.checkov.io/) from 2.3.314 to **2.3.316** on 2023-07-10 - [tflint](https://github.com/terraform-linters/tflint) from 0.46.1 to **0.47.0** on 2023-07-10 + - [black](https://black.readthedocs.io/en/stable/) from 23.3.0 to **23.7.0** on 2023-07-11 + - [checkov](https://www.checkov.io/) from 2.3.316 to **2.3.318** on 2023-07-11 ## [v7.1.0] - 2023-06-11 diff --git a/README.md b/README.md index 4a4eac1e1c9..a2c45af07be 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ [![MegaLinter](https://github.com/oxsecurity/megalinter/workflows/MegaLinter/badge.svg?branch=main)](https://github.com/oxsecurity/megalinter/actions?query=workflow%3AMegaLinter+branch%3Amain) [![codecov](https://codecov.io/gh/oxsecurity/megalinter/branch/main/graph/badge.svg)](https://codecov.io/gh/oxsecurity/megalinter) -[![](https://img.shields.io/static/v1?label=Used%20by&message=2575&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) +[![](https://img.shields.io/static/v1?label=Used%20by&message=2576&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) [![Secured with Trivy](https://img.shields.io/badge/Trivy-secured-green?logo=docker)](https://github.com/aquasecurity/trivy) [![GitHub contributors](https://img.shields.io/github/contributors/oxsecurity/megalinter.svg)](https://github.com/oxsecurity/megalinter/graphs/contributors/) [![GitHub Sponsors](https://img.shields.io/github/sponsors/nvuillam)](https://github.com/sponsors/nvuillam) diff --git a/docs/all_linters.md b/docs/all_linters.md index 50850e678f2..68196020294 100644 --- a/docs/all_linters.md +++ b/docs/all_linters.md @@ -11,10 +11,10 @@ | [**bandit**](https://github.com/PyCQA/bandit){target=_blank} | 1.7.5 | [Apache-2.0](licenses/bandit.md) | [![GitHub stars](https://img.shields.io/github/stars/PyCQA/bandit?cacheSeconds=3600)](https://github.com/PyCQA/bandit){target=_blank} | [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.2.15 | | | [BASH](descriptors/bash_bash_exec.md) | | [Web Site](https://tiswww.case.edu/php/chet/bash/bashtop.html){target=_blank} | | [**bicep_linter**](https://github.com/Azure/bicep){target=_blank} | 0.18.4 | [MIT](licenses/bicep_linter.md) | [![GitHub stars](https://img.shields.io/github/stars/Azure/bicep?cacheSeconds=3600)](https://github.com/Azure/bicep){target=_blank} | [BICEP](descriptors/bicep_bicep_linter.md) | :white_circle: | [Repository](https://github.com/Azure/bicep){target=_blank} | -| [**black**](https://github.com/psf/black){target=_blank} | 23.3.0 | [MIT](licenses/black.md) | [![GitHub stars](https://img.shields.io/github/stars/psf/black?cacheSeconds=3600)](https://github.com/psf/black){target=_blank} | [PYTHON](descriptors/python_black.md) | :white_circle: | [Repository](https://github.com/psf/black){target=_blank} | +| [**black**](https://github.com/psf/black){target=_blank} | 23.7.0 | [MIT](licenses/black.md) | [![GitHub stars](https://img.shields.io/github/stars/psf/black?cacheSeconds=3600)](https://github.com/psf/black){target=_blank} | [PYTHON](descriptors/python_black.md) | :white_circle: | [Repository](https://github.com/psf/black){target=_blank} | | [**cfn-lint**](https://github.com/aws-cloudformation/cfn-lint){target=_blank} | 0.77.10 | [MIT-0](licenses/cfn-lint.md) | [![GitHub stars](https://img.shields.io/github/stars/aws-cloudformation/cfn-lint?cacheSeconds=3600)](https://github.com/aws-cloudformation/cfn-lint){target=_blank} | [CLOUDFORMATION](descriptors/cloudformation_cfn_lint.md) | :white_circle: | [Repository](https://github.com/aws-cloudformation/cfn-lint){target=_blank} | | [**checkmake**](https://github.com/mrtazz/checkmake){target=_blank} | 0.2.0 | [MIT](licenses/checkmake.md) | [![GitHub stars](https://img.shields.io/github/stars/mrtazz/checkmake?cacheSeconds=3600)](https://github.com/mrtazz/checkmake){target=_blank} | [MAKEFILE](descriptors/makefile_checkmake.md) | :white_circle: | [Repository](https://github.com/mrtazz/checkmake){target=_blank} | -| [**checkov**](https://github.com/bridgecrewio/checkov){target=_blank} | 2.3.316 | [Apache-2.0](licenses/checkov.md) | [![GitHub stars](https://img.shields.io/github/stars/bridgecrewio/checkov?cacheSeconds=3600)](https://github.com/bridgecrewio/checkov){target=_blank} | [REPOSITORY](descriptors/repository_checkov.md) | :no_entry_sign: | [Repository](https://github.com/bridgecrewio/checkov){target=_blank} | +| [**checkov**](https://github.com/bridgecrewio/checkov){target=_blank} | 2.3.318 | [Apache-2.0](licenses/checkov.md) | [![GitHub stars](https://img.shields.io/github/stars/bridgecrewio/checkov?cacheSeconds=3600)](https://github.com/bridgecrewio/checkov){target=_blank} | [REPOSITORY](descriptors/repository_checkov.md) | :no_entry_sign: | [Repository](https://github.com/bridgecrewio/checkov){target=_blank} | | [**checkstyle**](https://github.com/checkstyle/checkstyle){target=_blank} | 10.12.1 | [LGPL-2.1](licenses/checkstyle.md) | [![GitHub stars](https://img.shields.io/github/stars/checkstyle/checkstyle?cacheSeconds=3600)](https://github.com/checkstyle/checkstyle){target=_blank} | [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.70 | [Other](licenses/clippy.md) | [![GitHub stars](https://img.shields.io/github/stars/rust-lang/rust-clippy?cacheSeconds=3600)](https://github.com/rust-lang/rust-clippy){target=_blank} | [RUST](descriptors/rust_clippy.md) | :white_circle: | [Repository](https://github.com/rust-lang/rust-clippy){target=_blank} | diff --git a/docs/descriptors/python_black.md b/docs/descriptors/python_black.md index f237f0b36c2..824761307f9 100644 --- a/docs/descriptors/python_black.md +++ b/docs/descriptors/python_black.md @@ -15,7 +15,7 @@ description: How to use black (configure, ignore files, ignore errors, help & ve ## black documentation -- Version in MegaLinter: **23.3.0** +- Version in MegaLinter: **23.7.0** - Visit [Official Web Site](https://black.readthedocs.io/en/stable/){target=_blank} - See [How to configure black rules](https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#configuration-format){target=_blank} - If custom `pyproject.toml` config file isn't found, [pyproject.toml](https://github.com/oxsecurity/megalinter/tree/main/TEMPLATES/pyproject.toml){target=_blank} will be used @@ -108,7 +108,7 @@ Options: -c, --code TEXT Format the code passed in as a string. -l, --line-length INTEGER How many characters per line to allow. [default: 88] - -t, --target-version [py33|py34|py35|py36|py37|py38|py39|py310|py311] + -t, --target-version [py33|py34|py35|py36|py37|py38|py39|py310|py311|py312] Python versions that should be supported by Black's output. By default, Black will try to infer this from the project metadata in @@ -167,9 +167,10 @@ Options: directories on all platforms (Windows, too). Exclusions are calculated first, inclusions later. [default: /(\.direnv|\.eggs|\.git|\.h - g|\.mypy_cache|\.nox|\.tox|\.venv|venv|\.svn - |\.ipynb_checkpoints|_build|buck- - out|build|dist|__pypackages__)/] + g|\.ipynb_checkpoints|\.mypy_cache|\.nox|\.p + ytest_cache|\.ruff_cache|\.tox|\.svn|\.venv| + \.vscode|__pypackages__|_build|buck- + out|build|dist|venv)/] --extend-exclude TEXT Like --exclude, but adds additional files and directories on top of the excluded ones. (Useful if you simply want to add to the @@ -182,8 +183,9 @@ Options: stdin. Useful to make sure Black will respect --force-exclude option on some editors that rely on using stdin. - -W, --workers INTEGER RANGE Number of parallel workers [default: number - of CPUs in the system] [x>=1] + -W, --workers INTEGER RANGE Number of parallel workers [default: + BLACK_NUM_WORKERS environment variable or + number of CPUs in the system] [x>=1] -q, --quiet Don't emit non-error messages to stderr. Errors are still emitted; silence those with 2>/dev/null. diff --git a/docs/descriptors/repository_checkov.md b/docs/descriptors/repository_checkov.md index e58bd7b6821..11e3eb231f1 100644 --- a/docs/descriptors/repository_checkov.md +++ b/docs/descriptors/repository_checkov.md @@ -15,7 +15,7 @@ description: How to use checkov (configure, ignore files, ignore errors, help & ## checkov documentation -- Version in MegaLinter: **2.3.316** +- Version in MegaLinter: **2.3.318** - Visit [Official Web Site](https://www.checkov.io/){target=_blank} - See [How to configure checkov rules](https://github.com/bridgecrewio/checkov#configuration-using-a-config-file){target=_blank} - If custom `.checkov.yml` config file isn't found, [.checkov.yml](https://github.com/oxsecurity/megalinter/tree/main/TEMPLATES/.checkov.yml){target=_blank} will be used @@ -133,7 +133,7 @@ usage: checkov [-h] [-v] [--support] [-d DIRECTORY] [--add-check] [--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] [--deep-analysis] [--no-fail-on-crash] [--mask MASK] [--scan-secrets-history] [--secrets-history-timeout SECRETS_HISTORY_TIMEOUT] @@ -402,7 +402,7 @@ options: --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. diff --git a/docs/descriptors/salesforce_sfdx_scanner_apex.md b/docs/descriptors/salesforce_sfdx_scanner_apex.md index cabc02e2f04..f6039f592ca 100644 --- a/docs/descriptors/salesforce_sfdx_scanner_apex.md +++ b/docs/descriptors/salesforce_sfdx_scanner_apex.md @@ -163,7 +163,7 @@ COMMANDS scanner run dfa scan codebase with all DFA rules WARNING: We're continually improving Salesforce Code Analyzer. Tell us what you think! Give feedback at https://research.net/r/SalesforceCA -(node:1489) Warning: Deprecated config name: apiVersion. Please use org-api-version instead. +(node:1488) Warning: Deprecated config name: apiVersion. Please use org-api-version instead. (Use `node --trace-warnings ...` to show where the warning was created) NAME LANGUAGES CATEGORIES RULESETS [DEP] ENGINE IS DFA IS PILOT ────────────────────────────────────────────────────── ─────────── ───────────────────── ──────────────────────────────────────────────── ───────────────── ────── ──────── @@ -171,67 +171,67 @@ WARNING: We're continually improving Salesforce Code Analyzer. Tell us what you VfHtmlStyleTagXss visualforce Security pmd N N VfUnescapeEl visualforce Security Basic VF pmd N N ApexAssertionsShouldIncludeMessage apex Best Practices pmd N N - ApexUnitTestClassShouldHaveAsserts apex Best Practices ApexUnit,quickstart,Default ruleset... pmd N N + ApexUnitTestClassShouldHaveAsserts apex Best Practices quickstart,Default ruleset...,ApexUnit pmd N N ApexUnitTestClassShouldHaveRunAs apex Best Practices quickstart pmd N N ApexUnitTestMethodShouldHaveIsTestAnnotation apex Best Practices pmd N N - ApexUnitTestShouldNotUseSeeAllDataTrue apex Best Practices ApexUnit,quickstart,Default ruleset... pmd N N - AvoidGlobalModifier apex Best Practices quickstart,Style,Default ruleset... pmd N N - AvoidLogicInTrigger apex Best Practices quickstart,Style,Default ruleset... pmd N N + ApexUnitTestShouldNotUseSeeAllDataTrue apex Best Practices quickstart,Default ruleset...,ApexUnit pmd N N + AvoidGlobalModifier apex Best Practices quickstart,Default ruleset...,Style pmd N N + AvoidLogicInTrigger apex Best Practices quickstart,Default ruleset...,Style pmd N N DebugsShouldUseLoggingLevel apex Best Practices quickstart pmd N N UnusedLocalVariable apex Best Practices pmd N N AvoidDebugStatements apex Performance pmd N N - AvoidDmlStatementsInLoops apex Performance Performance,Default ruleset... pmd N N - AvoidSoqlInLoops apex Performance Performance,Default ruleset... pmd N N - AvoidSoslInLoops apex Performance Performance,Default ruleset... pmd N N + AvoidDmlStatementsInLoops apex Performance Default ruleset...,Performance pmd N N + AvoidSoqlInLoops apex Performance Default ruleset...,Performance pmd N N + AvoidSoslInLoops apex Performance Default ruleset...,Performance pmd N N EagerlyLoadedDescribeSObjectResult apex Performance pmd N N OperationWithLimitsInLoop apex Performance quickstart pmd N N - ApexBadCrypto apex Security quickstart,Security,Default ruleset... pmd N N - ApexCRUDViolation apex Security quickstart,Security,Default ruleset... pmd N N + ApexBadCrypto apex Security quickstart,Default ruleset...,Security pmd N N + ApexCRUDViolation apex Security quickstart,Default ruleset...,Security pmd N N ApexCSRF apex Security Security pmd N N - ApexDangerousMethods apex Security quickstart,Security,Default ruleset... pmd N N - ApexInsecureEndpoint apex Security quickstart,Security,Default ruleset... pmd N N - ApexOpenRedirect apex Security quickstart,Security,Default ruleset... pmd N N - ApexSharingViolations apex Security quickstart,Security,Default ruleset... pmd N N - ApexSOQLInjection apex Security quickstart,Security,Default ruleset... pmd N N - ApexSuggestUsingNamedCred apex Security quickstart,Security,Default ruleset... pmd N N - ApexXSSFromEscapeFalse apex Security quickstart,Security,Default ruleset... pmd N N - ApexXSSFromURLParam apex Security quickstart,Security,Default ruleset... pmd N N - ClassNamingConventions apex Code Style quickstart,Style,Default ruleset... pmd N N - IfElseStmtsMustUseBraces apex Code Style quickstart,Braces,Default ruleset... pmd N N - IfStmtsMustUseBraces apex Code Style quickstart,Braces,Default ruleset... pmd N N + ApexDangerousMethods apex Security quickstart,Default ruleset...,Security pmd N N + ApexInsecureEndpoint apex Security quickstart,Default ruleset...,Security pmd N N + ApexOpenRedirect apex Security quickstart,Default ruleset...,Security pmd N N + ApexSharingViolations apex Security quickstart,Default ruleset...,Security pmd N N + ApexSOQLInjection apex Security quickstart,Default ruleset...,Security pmd N N + ApexSuggestUsingNamedCred apex Security quickstart,Default ruleset...,Security pmd N N + ApexXSSFromEscapeFalse apex Security quickstart,Default ruleset...,Security pmd N N + ApexXSSFromURLParam apex Security quickstart,Default ruleset...,Security pmd N N + ClassNamingConventions apex Code Style quickstart,Default ruleset...,Style pmd N N + IfElseStmtsMustUseBraces apex Code Style quickstart,Default ruleset...,Braces pmd N N + IfStmtsMustUseBraces apex Code Style quickstart,Default ruleset...,Braces pmd N N FieldDeclarationsShouldBeAtStart apex Code Style pmd N N FieldNamingConventions apex Code Style quickstart pmd N N - ForLoopsMustUseBraces apex Code Style quickstart,Braces,Default ruleset... pmd N N + ForLoopsMustUseBraces apex Code Style quickstart,Default ruleset...,Braces pmd N N FormalParameterNamingConventions apex Code Style quickstart pmd N N LocalVariableNamingConventions apex Code Style quickstart pmd N N - MethodNamingConventions apex Code Style quickstart,Style,Default ruleset... pmd N N + MethodNamingConventions apex Code Style quickstart,Default ruleset...,Style pmd N N OneDeclarationPerLine apex Code Style quickstart,Default ruleset... pmd N N PropertyNamingConventions apex Code Style quickstart pmd N N - VariableNamingConventions apex Code Style Style,Default ruleset... pmd N N - WhileLoopsMustUseBraces apex Code Style quickstart,Braces,Default ruleset... pmd N N - AvoidDeeplyNestedIfStmts apex Design quickstart,Complexity,Default ruleset... pmd N N - CyclomaticComplexity apex Design Metrics tempora...,quickstart,Default ruleset... pmd N N + VariableNamingConventions apex Code Style Default ruleset...,Style pmd N N + WhileLoopsMustUseBraces apex Code Style quickstart,Default ruleset...,Braces pmd N N + AvoidDeeplyNestedIfStmts apex Design quickstart,Default ruleset...,Complexity pmd N N + CyclomaticComplexity apex Design quickstart,Default ruleset...,Metrics tempora... pmd N N CognitiveComplexity apex Design pmd N N - ExcessiveClassLength apex Design quickstart,Complexity,Default ruleset... pmd N N - ExcessiveParameterList apex Design quickstart,Complexity,Default ruleset... pmd N N - ExcessivePublicCount apex Design quickstart,Complexity,Default ruleset... pmd N N - NcssConstructorCount apex Design quickstart,Complexity,Default ruleset... pmd N N - NcssMethodCount apex Design quickstart,Complexity,Default ruleset... pmd N N - NcssTypeCount apex Design quickstart,Complexity,Default ruleset... pmd N N - StdCyclomaticComplexity apex Design quickstart,Complexity,Default ruleset... pmd N N - TooManyFields apex Design quickstart,Complexity,Default ruleset... pmd N N + ExcessiveClassLength apex Design quickstart,Default ruleset...,Complexity pmd N N + ExcessiveParameterList apex Design quickstart,Default ruleset...,Complexity pmd N N + ExcessivePublicCount apex Design quickstart,Default ruleset...,Complexity pmd N N + NcssConstructorCount apex Design quickstart,Default ruleset...,Complexity pmd N N + NcssMethodCount apex Design quickstart,Default ruleset...,Complexity pmd N N + NcssTypeCount apex Design quickstart,Default ruleset...,Complexity pmd N N + StdCyclomaticComplexity apex Design quickstart,Default ruleset...,Complexity pmd N N + TooManyFields apex Design quickstart,Default ruleset...,Complexity pmd N N ApexDoc apex Documentation quickstart,Default ruleset... pmd N N ApexCSRF apex Error Prone quickstart,Default ruleset... pmd N N - AvoidDirectAccessTriggerMap apex Error Prone quickstart,Style,Default ruleset... pmd N N - AvoidHardcodingId apex Error Prone quickstart,Style,Default ruleset... pmd N N + AvoidDirectAccessTriggerMap apex Error Prone quickstart,Default ruleset...,Style pmd N N + AvoidHardcodingId apex Error Prone quickstart,Default ruleset...,Style pmd N N AvoidNonExistentAnnotations apex Error Prone quickstart,Default ruleset... pmd N N - EmptyCatchBlock apex Error Prone Empty Code,quickstart,Default ruleset... pmd N N - EmptyIfStmt apex Error Prone Empty Code,quickstart,Default ruleset... pmd N N - EmptyStatementBlock apex Error Prone Empty Code,quickstart,Default ruleset... pmd N N - EmptyTryOrFinallyBlock apex Error Prone Empty Code,quickstart,Default ruleset... pmd N N - EmptyWhileStmt apex Error Prone Empty Code,quickstart,Default ruleset... pmd N N + EmptyCatchBlock apex Error Prone quickstart,Empty Code,Default ruleset... pmd N N + EmptyIfStmt apex Error Prone quickstart,Empty Code,Default ruleset... pmd N N + EmptyStatementBlock apex Error Prone quickstart,Empty Code,Default ruleset... pmd N N + EmptyTryOrFinallyBlock apex Error Prone quickstart,Empty Code,Default ruleset... pmd N N + EmptyWhileStmt apex Error Prone quickstart,Empty Code,Default ruleset... pmd N N InaccessibleAuraEnabledGetter apex Error Prone pmd N N - MethodWithSameNameAsEnclosingClass apex Error Prone quickstart,Style,Default ruleset... pmd N N + MethodWithSameNameAsEnclosingClass apex Error Prone quickstart,Default ruleset...,Style pmd N N OverrideBothEqualsAndHashcode apex Error Prone pmd N N TestMethodsMustBeInTestClasses apex Error Prone pmd N N constructor-super javascript problem problem eslint N N diff --git a/docs/descriptors/salesforce_sfdx_scanner_aura.md b/docs/descriptors/salesforce_sfdx_scanner_aura.md index edb7c7e493c..c19e0e55a0c 100644 --- a/docs/descriptors/salesforce_sfdx_scanner_aura.md +++ b/docs/descriptors/salesforce_sfdx_scanner_aura.md @@ -159,7 +159,7 @@ COMMANDS scanner run dfa scan codebase with all DFA rules WARNING: We're continually improving Salesforce Code Analyzer. Tell us what you think! Give feedback at https://research.net/r/SalesforceCA -(node:1630) Warning: Deprecated config name: apiVersion. Please use org-api-version instead. +(node:1629) Warning: Deprecated config name: apiVersion. Please use org-api-version instead. (Use `node --trace-warnings ...` to show where the warning was created) NAME LANGUAGES CATEGORIES RULESETS [DEP] ENGINE IS DFA IS PILOT ────────────────────────────────────────────────────── ─────────── ───────────────────── ──────────────────────────────────────────────── ───────────────── ────── ──────── diff --git a/docs/descriptors/salesforce_sfdx_scanner_lwc.md b/docs/descriptors/salesforce_sfdx_scanner_lwc.md index 36e019b0bef..773356607e5 100644 --- a/docs/descriptors/salesforce_sfdx_scanner_lwc.md +++ b/docs/descriptors/salesforce_sfdx_scanner_lwc.md @@ -159,7 +159,7 @@ COMMANDS scanner run dfa scan codebase with all DFA rules WARNING: We're continually improving Salesforce Code Analyzer. Tell us what you think! Give feedback at https://research.net/r/SalesforceCA -(node:1771) Warning: Deprecated config name: apiVersion. Please use org-api-version instead. +(node:1770) Warning: Deprecated config name: apiVersion. Please use org-api-version instead. (Use `node --trace-warnings ...` to show where the warning was created) NAME LANGUAGES CATEGORIES RULESETS [DEP] ENGINE IS DFA IS PILOT ────────────────────────────────────────────────────── ─────────── ───────────────────── ──────────────────────────────────────────────── ───────────────── ────── ──────── diff --git a/docs/descriptors/xml_xmllint.md b/docs/descriptors/xml_xmllint.md index f1ad42e735b..1e5e412bff5 100644 --- a/docs/descriptors/xml_xmllint.md +++ b/docs/descriptors/xml_xmllint.md @@ -25,7 +25,7 @@ To apply file formatting you must set `XML_XMLLINT_CLI_LINT_MODE: file` and `XML | Variable | Description | Default value | |-----------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------| | XML_XMLLINT_AUTOFORMAT | If set to `true`, it will reformat and reindent the output | `false` | -| XML_XMLLINT_INDENT | The number of indentation spaces when `XML_XMLLINT_AUTOFORMAT` is `true` | `` | +| XML_XMLLINT_INDENT | The number of indentation spaces when `XML_XMLLINT_AUTOFORMAT` is `true` | ` ` | | XML_XMLLINT_ARGUMENTS | User custom arguments to add in linter CLI call
Ex: `-s --foo "bar"` | | | XML_XMLLINT_FILTER_REGEX_INCLUDE | Custom regex including filter
Ex: `(src\|lib)` | Include every file | | XML_XMLLINT_FILTER_REGEX_EXCLUDE | Custom regex excluding filter
Ex: `(test\|examples)` | Exclude no file | diff --git a/docs/used-by-stats.md b/docs/used-by-stats.md index 1908b1bec0a..4e217c4c7f9 100644 --- a/docs/used-by-stats.md +++ b/docs/used-by-stats.md @@ -1,39 +1,39 @@ # Dependents stats for oxsecurity/megalinter -[![](https://img.shields.io/static/v1?label=Used%20by&message=2575&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) +[![](https://img.shields.io/static/v1?label=Used%20by&message=2576&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) [![](https://img.shields.io/static/v1?label=Used%20by%20(public)&message=1748&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) -[![](https://img.shields.io/static/v1?label=Used%20by%20(private)&message=827&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) -[![](https://img.shields.io/static/v1?label=Used%20by%20(stars)&message=65421&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) +[![](https://img.shields.io/static/v1?label=Used%20by%20(private)&message=828&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) +[![](https://img.shields.io/static/v1?label=Used%20by%20(stars)&message=65497&color=informational&logo=slickpic)](https://github.com/oxsecurity/megalinter/network/dependents) | Repository | Stars | |:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------:| -| [nektos/act](https://github.com/nektos/act) | 39791 | +| [nektos/act](https://github.com/nektos/act) | 39806 | | [PRQL/prql](https://github.com/PRQL/prql) | 7231 | | [stepancheg/rust-protobuf](https://github.com/stepancheg/rust-protobuf) | 2466 | -| [dorssel/usbipd-win](https://github.com/dorssel/usbipd-win) | 2132 | +| [dorssel/usbipd-win](https://github.com/dorssel/usbipd-win) | 2133 | | [IlanCosman/tide](https://github.com/IlanCosman/tide) | 2066 | | [PowerDNS-Admin/PowerDNS-Admin](https://github.com/PowerDNS-Admin/PowerDNS-Admin) | 2046 | | [microsoft/code-with-engineering-playbook](https://github.com/microsoft/code-with-engineering-playbook) | 1741 | -| [oxsecurity/megalinter](https://github.com/oxsecurity/megalinter) | 1348 | -| [ever-co/ever-gauzy](https://github.com/ever-co/ever-gauzy) | 1244 | +| [oxsecurity/megalinter](https://github.com/oxsecurity/megalinter) | 1349 | +| [ever-co/ever-gauzy](https://github.com/ever-co/ever-gauzy) | 1246 | | [flosse/sloc](https://github.com/flosse/sloc) | 935 | | [unixorn/git-extra-commands](https://github.com/unixorn/git-extra-commands) | 893 | | [unixorn/zsh-quickstart-kit](https://github.com/unixorn/zsh-quickstart-kit) | 658 | | [secureCodeBox/secureCodeBox](https://github.com/secureCodeBox/secureCodeBox) | 603 | | [awslabs/aws-deployment-framework](https://github.com/awslabs/aws-deployment-framework) | 574 | | [Romanitho/Winget-AutoUpdate](https://github.com/Romanitho/Winget-AutoUpdate) | 549 | -| [meichthys/foss_photo_libraries](https://github.com/meichthys/foss_photo_libraries) | 518 | +| [meichthys/foss_photo_libraries](https://github.com/meichthys/foss_photo_libraries) | 520 | | [cattle-ops/terraform-aws-gitlab-runner](https://github.com/cattle-ops/terraform-aws-gitlab-runner) | 501 | | [practicalli/clojure-cli-config](https://github.com/practicalli/clojure-cli-config) | 462 | -| [ministryofjustice/modernisation-platform](https://github.com/ministryofjustice/modernisation-platform) | 389 | +| [ministryofjustice/modernisation-platform](https://github.com/ministryofjustice/modernisation-platform) | 440 | | [ruzickap/packer-templates](https://github.com/ruzickap/packer-templates) | 385 | | [llaville/php-compatinfo](https://github.com/llaville/php-compatinfo) | 363 | | [xUnholy/k8s-gitops](https://github.com/xUnholy/k8s-gitops) | 360 | | [bjw-s/home-ops](https://github.com/bjw-s/home-ops) | 333 | -| [scolladon/sfdx-git-delta](https://github.com/scolladon/sfdx-git-delta) | 310 | -| [ahmadnassri/action-dependabot-auto-merge](https://github.com/ahmadnassri/action-dependabot-auto-merge) | 308 | +| [scolladon/sfdx-git-delta](https://github.com/scolladon/sfdx-git-delta) | 311 | +| [ahmadnassri/action-dependabot-auto-merge](https://github.com/ahmadnassri/action-dependabot-auto-merge) | 309 | | [OCSInventory-NG/OCSInventory-Server](https://github.com/OCSInventory-NG/OCSInventory-Server) | 305 | -| [leosuncin/nest-auth-example](https://github.com/leosuncin/nest-auth-example) | 277 | +| [leosuncin/nest-auth-example](https://github.com/leosuncin/nest-auth-example) | 278 | | [neon-mmd/websurfx](https://github.com/neon-mmd/websurfx) | 208 | | [OCSInventory-NG/OCSInventory-ocsreports](https://github.com/OCSInventory-NG/OCSInventory-ocsreports) | 206 | | [toboshii/home-ops](https://github.com/toboshii/home-ops) | 197 | @@ -76,8 +76,8 @@ | [MythicDrops/MythicDrops](https://github.com/MythicDrops/MythicDrops) | 33 | | [leosuncin/nest-typeorm-custom-repository](https://github.com/leosuncin/nest-typeorm-custom-repository) | 33 | | [hardisgroupcom/vscode-sfdx-hardis](https://github.com/hardisgroupcom/vscode-sfdx-hardis) | 32 | +| [apigee/terraform-modules](https://github.com/apigee/terraform-modules) | 32 | | [nvuillam/github-dependents-info](https://github.com/nvuillam/github-dependents-info) | 32 | -| [apigee/terraform-modules](https://github.com/apigee/terraform-modules) | 31 | | [ahmadnassri/action-workflow-queue](https://github.com/ahmadnassri/action-workflow-queue) | 31 | | [OperationCode/operationcode-pybot](https://github.com/OperationCode/operationcode-pybot) | 31 | | [ZEISS/libczi](https://github.com/ZEISS/libczi) | 30 | @@ -90,10 +90,10 @@ | [rwaltr/home-ops](https://github.com/rwaltr/home-ops) | 25 | | [ahmadnassri/node-pretty-exceptions](https://github.com/ahmadnassri/node-pretty-exceptions) | 25 | | [ahmadnassri/node-api-problem](https://github.com/ahmadnassri/node-api-problem) | 25 | +| [ministryofjustice/modernisation-platform-environments](https://github.com/ministryofjustice/modernisation-platform-environments) | 25 | | [MoegirlPediaInterfaceAdmins/MoegirlPediaInterfaceCodes](https://github.com/MoegirlPediaInterfaceAdmins/MoegirlPediaInterfaceCodes) | 24 | | [arbitraryexecution/forta-bot-templates](https://github.com/arbitraryexecution/forta-bot-templates) | 24 | | [gluwa/creditcoin](https://github.com/gluwa/creditcoin) | 24 | -| [ministryofjustice/modernisation-platform-environments](https://github.com/ministryofjustice/modernisation-platform-environments) | 24 | | [unixorn/ha-mqtt-discoverable](https://github.com/unixorn/ha-mqtt-discoverable) | 23 | | [AErmie/DevSecOps](https://github.com/AErmie/DevSecOps) | 23 | | [ahmadnassri/action-terraform-report](https://github.com/ahmadnassri/action-terraform-report) | 23 | @@ -169,6 +169,7 @@ | [miracum/fhir-pseudonymizer](https://github.com/miracum/fhir-pseudonymizer) | 9 | | [eclipse/kuksa.val.services](https://github.com/eclipse/kuksa.val.services) | 8 | | [QuantumPL/bib](https://github.com/QuantumPL/bib) | 8 | +| [nvuillam/node-sarif-builder](https://github.com/nvuillam/node-sarif-builder) | 8 | | [victory-sokolov/dotfiles](https://github.com/victory-sokolov/dotfiles) | 8 | | [Ramblurr/home-ops](https://github.com/Ramblurr/home-ops) | 8 | | [unixorn/1password-op.plugin.zsh](https://github.com/unixorn/1password-op.plugin.zsh) | 8 | @@ -184,7 +185,6 @@ | [nujiak/recce](https://github.com/nujiak/recce) | 7 | | [iggy/terrarific](https://github.com/iggy/terrarific) | 7 | | [ChristopherHX/act](https://github.com/ChristopherHX/act) | 7 | -| [nvuillam/node-sarif-builder](https://github.com/nvuillam/node-sarif-builder) | 7 | | [dochang/bumplus](https://github.com/dochang/bumplus) | 7 | | [xoap-io/xoap-uberagent-kibana-dashboards](https://github.com/xoap-io/xoap-uberagent-kibana-dashboards) | 7 | | [philips-software/amp-preview](https://github.com/philips-software/amp-preview) | 7 | @@ -344,10 +344,10 @@ | [The-IT-Dept/infra](https://github.com/The-IT-Dept/infra) | 2 | | [home-ops/home-k8s-cluster](https://github.com/home-ops/home-k8s-cluster) | 2 | | [ThonyPrice/home-ops](https://github.com/ThonyPrice/home-ops) | 2 | +| [AliceO2Group/analysis-framework](https://github.com/AliceO2Group/analysis-framework) | 2 | | [insuusvenerati/k8s-home](https://github.com/insuusvenerati/k8s-home) | 2 | | [dmamulashvili/webapi-msa-template](https://github.com/dmamulashvili/webapi-msa-template) | 2 | | [lucacalcaterra/kube-home](https://github.com/lucacalcaterra/kube-home) | 2 | -| [ishioni/k3s-cluster](https://github.com/ishioni/k3s-cluster) | 2 | | [chgl/FhirParametersGenerator](https://github.com/chgl/FhirParametersGenerator) | 2 | | [proinsias/proinsias](https://github.com/proinsias/proinsias) | 2 | | [proinsias/dotfiles](https://github.com/proinsias/dotfiles) | 2 | @@ -482,7 +482,6 @@ | [proinsias/detection-and-exploration](https://github.com/proinsias/detection-and-exploration) | 1 | | [csacca/home-infra2](https://github.com/csacca/home-infra2) | 1 | | [stan1ey-shen/lint](https://github.com/stan1ey-shen/lint) | 1 | -| [AliceO2Group/analysis-framework](https://github.com/AliceO2Group/analysis-framework) | 1 | | [SkunkOne/kluster](https://github.com/SkunkOne/kluster) | 1 | | [kh-rawad/dotFiles](https://github.com/kh-rawad/dotFiles) | 1 | | [dkw99/home-cluster](https://github.com/dkw99/home-cluster) | 1 | @@ -1179,6 +1178,7 @@ | [rciam/simplesamlphp-module-assurance](https://github.com/rciam/simplesamlphp-module-assurance) | 0 | | [rciam/simplesamlphp-module-userid](https://github.com/rciam/simplesamlphp-module-userid) | 0 | | [Teasel-Ian/terraform](https://github.com/Teasel-Ian/terraform) | 0 | +| [MRDGH2821/CodersPack](https://github.com/MRDGH2821/CodersPack) | 0 | | [anushshukla/node.ts](https://github.com/anushshukla/node.ts) | 0 | | [doonga/lego-auto](https://github.com/doonga/lego-auto) | 0 | | [bjw-s/lego-auto](https://github.com/bjw-s/lego-auto) | 0 |