From 5cc076531be20c11580083b52d1a970f7e53700d Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Tue, 12 Apr 2022 00:14:02 +0200 Subject: [PATCH] [automation] Auto-update linters version, help and documentation (#1405) --- .automation/generated/flavors-stats.json | 50 +++++++------- .automation/generated/linter-helps.json | 68 +++++++++---------- .automation/generated/linter-versions.json | 6 +- .automation/generated/megalinter-users.json | 34 +++++----- CHANGELOG.md | 3 + docs/all_linters.md | 6 +- docs/descriptors/coffee_coffeelint.md | 2 +- docs/descriptors/html_htmlhint.md | 2 +- docs/descriptors/python_black.md | 4 +- docs/descriptors/python_flake8.md | 4 +- .../salesforce_sfdx_scanner_aura.md | 60 ++++++++-------- docs/descriptors/terraform_checkov.md | 2 +- flavors/ci_light/action.yml | 2 +- flavors/dart/action.yml | 2 +- flavors/documentation/action.yml | 2 +- flavors/dotnet/action.yml | 2 +- flavors/go/action.yml | 2 +- flavors/java/action.yml | 2 +- flavors/javascript/action.yml | 2 +- flavors/php/action.yml | 2 +- flavors/python/action.yml | 2 +- flavors/ruby/action.yml | 2 +- flavors/rust/action.yml | 2 +- flavors/salesforce/action.yml | 2 +- flavors/scala/action.yml | 2 +- flavors/swift/action.yml | 2 +- flavors/terraform/action.yml | 2 +- 27 files changed, 137 insertions(+), 134 deletions(-) diff --git a/.automation/generated/flavors-stats.json b/.automation/generated/flavors-stats.json index c386bcc183a..074ac2a131b 100644 --- a/.automation/generated/flavors-stats.json +++ b/.automation/generated/flavors-stats.json @@ -725,8 +725,8 @@ 2479993 ], [ - "2022-04-11T19:23:23", - 2480439 + "2022-04-11T17:59:19", + 2480452 ] ], "ci_light": [ @@ -1455,7 +1455,7 @@ 9137 ], [ - "2022-04-11T19:23:23", + "2022-04-11T17:59:19", 9190 ] ], @@ -2185,7 +2185,7 @@ 2580 ], [ - "2022-04-11T19:23:23", + "2022-04-11T17:59:19", 2586 ] ], @@ -2915,8 +2915,8 @@ 47830 ], [ - "2022-04-11T19:23:23", - 47962 + "2022-04-11T17:59:19", + 47969 ] ], "dotnet": [ @@ -3645,8 +3645,8 @@ 293623 ], [ - "2022-04-11T19:23:23", - 293754 + "2022-04-11T17:59:19", + 293759 ] ], "go": [ @@ -4375,8 +4375,8 @@ 9665 ], [ - "2022-04-11T19:23:23", - 9713 + "2022-04-11T17:59:19", + 9717 ] ], "java": [ @@ -5105,8 +5105,8 @@ 70383 ], [ - "2022-04-11T19:23:23", - 70481 + "2022-04-11T17:59:19", + 70483 ] ], "javascript": [ @@ -5835,8 +5835,8 @@ 104811 ], [ - "2022-04-11T19:23:23", - 105385 + "2022-04-11T17:59:19", + 105423 ] ], "php": [ @@ -6565,8 +6565,8 @@ 6227 ], [ - "2022-04-11T19:23:23", - 6267 + "2022-04-11T17:59:19", + 6276 ] ], "python": [ @@ -7295,8 +7295,8 @@ 68326 ], [ - "2022-04-11T19:23:23", - 68460 + "2022-04-11T17:59:19", + 68472 ] ], "ruby": [ @@ -8021,7 +8021,7 @@ 2053 ], [ - "2022-04-11T19:23:23", + "2022-04-11T17:59:19", 2058 ] ], @@ -8747,7 +8747,7 @@ 3117 ], [ - "2022-04-11T19:23:23", + "2022-04-11T17:59:19", 3117 ] ], @@ -9477,7 +9477,7 @@ 11641 ], [ - "2022-04-11T19:23:23", + "2022-04-11T17:59:19", 11647 ] ], @@ -10203,7 +10203,7 @@ 1463 ], [ - "2022-04-11T19:23:23", + "2022-04-11T17:59:19", 1463 ] ], @@ -10929,7 +10929,7 @@ 1516 ], [ - "2022-04-11T19:23:23", + "2022-04-11T17:59:19", 1516 ] ], @@ -11659,8 +11659,8 @@ 50998 ], [ - "2022-04-11T19:23:23", - 51275 + "2022-04-11T17:59:19", + 51285 ] ] } \ No newline at end of file diff --git a/.automation/generated/linter-helps.json b/.automation/generated/linter-helps.json index 583ee68605f..be02cfd7a0e 100644 --- a/.automation/generated/linter-helps.json +++ b/.automation/generated/linter-helps.json @@ -343,8 +343,8 @@ " input).", " --python-cell-magics TEXT When processing Jupyter Notebooks, add the", " given magic to the list of known python-", - " magics (python3, python, time, capture,", - " pypy, prun, timeit). Useful for formatting", + " magics (time, timeit, prun, pypy, python,", + " python3, capture). Useful for formatting", " cells with custom python magics.", " -S, --skip-string-normalization", " Don't normalize string quotes or prefixes.", @@ -1535,8 +1535,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: ['W504', 'E24', 'E121', 'W503', 'E126',", - " 'E704', 'E226', 'E123'])", + " (Default: ['E226', 'E24', 'E123', 'W503', 'W504',", + " 'E126', 'E704', 'E121'])", " --extend-ignore errors", " Comma-separated list of errors and warnings to add to", " the list of ignored ones. For example, ``--extend-", @@ -5347,11 +5347,11 @@ "VfHtmlStyleTagXss visualforce Security pmd", "VfUnescapeEl visualforce Security Basic VF pmd", "ApexAssertionsShouldIncludeMessage apex Best Practices pmd", - "ApexUnitTestClassShouldHaveAsserts apex Best Practices Default ruleset...,ApexUnit,quickstart pmd", + "ApexUnitTestClassShouldHaveAsserts apex Best Practices Default ruleset...,quickstart,ApexUnit pmd", "ApexUnitTestMethodShouldHaveIsTestAnnotation apex Best Practices pmd", - "ApexUnitTestShouldNotUseSeeAllDataTrue apex Best Practices Default ruleset...,ApexUnit,quickstart pmd", - "AvoidGlobalModifier apex Best Practices Style,Default ruleset...,quickstart pmd", - "AvoidLogicInTrigger apex Best Practices Style,Default ruleset...,quickstart pmd", + "ApexUnitTestShouldNotUseSeeAllDataTrue apex Best Practices Default ruleset...,quickstart,ApexUnit pmd", + "AvoidGlobalModifier apex Best Practices Default ruleset...,quickstart,Style pmd", + "AvoidLogicInTrigger apex Best Practices Default ruleset...,quickstart,Style pmd", "DebugsShouldUseLoggingLevel apex Best Practices quickstart pmd", "UnusedLocalVariable apex Best Practices pmd", "AvoidDebugStatements apex Performance pmd", @@ -5360,18 +5360,18 @@ "AvoidSoslInLoops apex Performance Performance,Default ruleset... pmd", "EagerlyLoadedDescribeSObjectResult apex Performance pmd", "OperationWithLimitsInLoop apex Performance quickstart pmd", - "ApexBadCrypto apex Security Security,Default ruleset...,quickstart pmd", - "ApexCRUDViolation apex Security Security,Default ruleset...,quickstart pmd", + "ApexBadCrypto apex Security Default ruleset...,quickstart,Security pmd", + "ApexCRUDViolation apex Security Default ruleset...,quickstart,Security pmd", "ApexCSRF apex Security Security pmd", - "ApexDangerousMethods apex Security Security,Default ruleset...,quickstart pmd", - "ApexInsecureEndpoint apex Security Security,Default ruleset...,quickstart pmd", - "ApexOpenRedirect apex Security Security,Default ruleset...,quickstart pmd", - "ApexSharingViolations apex Security Security,Default ruleset...,quickstart pmd", - "ApexSOQLInjection apex Security Security,Default ruleset...,quickstart pmd", - "ApexSuggestUsingNamedCred apex Security Security,Default ruleset...,quickstart pmd", - "ApexXSSFromEscapeFalse apex Security Security,Default ruleset...,quickstart pmd", - "ApexXSSFromURLParam apex Security Security,Default ruleset...,quickstart pmd", - "ClassNamingConventions apex Code Style Style,Default ruleset...,quickstart pmd", + "ApexDangerousMethods apex Security Default ruleset...,quickstart,Security pmd", + "ApexInsecureEndpoint apex Security Default ruleset...,quickstart,Security pmd", + "ApexOpenRedirect apex Security Default ruleset...,quickstart,Security pmd", + "ApexSharingViolations apex Security Default ruleset...,quickstart,Security pmd", + "ApexSOQLInjection apex Security Default ruleset...,quickstart,Security pmd", + "ApexSuggestUsingNamedCred apex Security Default ruleset...,quickstart,Security pmd", + "ApexXSSFromEscapeFalse apex Security Default ruleset...,quickstart,Security pmd", + "ApexXSSFromURLParam apex Security Default ruleset...,quickstart,Security pmd", + "ClassNamingConventions apex Code Style Default ruleset...,quickstart,Style pmd", "IfElseStmtsMustUseBraces apex Code Style Default ruleset...,quickstart,Braces pmd", "IfStmtsMustUseBraces apex Code Style Default ruleset...,quickstart,Braces pmd", "FieldDeclarationsShouldBeAtStart apex Code Style pmd", @@ -5379,26 +5379,26 @@ "ForLoopsMustUseBraces apex Code Style Default ruleset...,quickstart,Braces pmd", "FormalParameterNamingConventions apex Code Style quickstart pmd", "LocalVariableNamingConventions apex Code Style quickstart pmd", - "MethodNamingConventions apex Code Style Style,Default ruleset...,quickstart pmd", + "MethodNamingConventions apex Code Style Default ruleset...,quickstart,Style pmd", "OneDeclarationPerLine apex Code Style Default ruleset...,quickstart pmd", "PropertyNamingConventions apex Code Style quickstart pmd", - "VariableNamingConventions apex Code Style Style,Default ruleset... pmd", + "VariableNamingConventions apex Code Style Default ruleset...,Style pmd", "WhileLoopsMustUseBraces apex Code Style Default ruleset...,quickstart,Braces pmd", - "AvoidDeeplyNestedIfStmts apex Design Default ruleset...,Complexity,quickstart pmd", - "CyclomaticComplexity apex Design Metrics tempora...,Default ruleset...,quickstart pmd", + "AvoidDeeplyNestedIfStmts apex Design Default ruleset...,quickstart,Complexity pmd", + "CyclomaticComplexity apex Design Default ruleset...,quickstart,Metrics tempora... pmd", "CognitiveComplexity apex Design pmd", - "ExcessiveClassLength apex Design Default ruleset...,Complexity,quickstart pmd", - "ExcessiveParameterList apex Design Default ruleset...,Complexity,quickstart pmd", - "ExcessivePublicCount apex Design Default ruleset...,Complexity,quickstart pmd", - "NcssConstructorCount apex Design Default ruleset...,Complexity,quickstart pmd", - "NcssMethodCount apex Design Default ruleset...,Complexity,quickstart pmd", - "NcssTypeCount apex Design Default ruleset...,Complexity,quickstart pmd", - "StdCyclomaticComplexity apex Design Default ruleset...,Complexity,quickstart pmd", - "TooManyFields apex Design Default ruleset...,Complexity,quickstart pmd", + "ExcessiveClassLength apex Design Default ruleset...,quickstart,Complexity pmd", + "ExcessiveParameterList apex Design Default ruleset...,quickstart,Complexity pmd", + "ExcessivePublicCount apex Design Default ruleset...,quickstart,Complexity pmd", + "NcssConstructorCount apex Design Default ruleset...,quickstart,Complexity pmd", + "NcssMethodCount apex Design Default ruleset...,quickstart,Complexity pmd", + "NcssTypeCount apex Design Default ruleset...,quickstart,Complexity pmd", + "StdCyclomaticComplexity apex Design Default ruleset...,quickstart,Complexity pmd", + "TooManyFields apex Design Default ruleset...,quickstart,Complexity pmd", "ApexDoc apex Documentation Default ruleset...,quickstart pmd", "ApexCSRF apex Error Prone Default ruleset...,quickstart pmd", - "AvoidDirectAccessTriggerMap apex Error Prone Style,Default ruleset...,quickstart pmd", - "AvoidHardcodingId apex Error Prone Style,Default ruleset...,quickstart pmd", + "AvoidDirectAccessTriggerMap apex Error Prone Default ruleset...,quickstart,Style pmd", + "AvoidHardcodingId apex Error Prone Default ruleset...,quickstart,Style pmd", "AvoidNonExistentAnnotations apex Error Prone Default ruleset...,quickstart pmd", "EmptyCatchBlock apex Error Prone Default ruleset...,quickstart,Empty Code pmd", "EmptyIfStmt apex Error Prone Default ruleset...,quickstart,Empty Code pmd", @@ -5406,7 +5406,7 @@ "EmptyTryOrFinallyBlock apex Error Prone Default ruleset...,quickstart,Empty Code pmd", "EmptyWhileStmt apex Error Prone Default ruleset...,quickstart,Empty Code pmd", "InaccessibleAuraEnabledGetter apex Error Prone pmd", - "MethodWithSameNameAsEnclosingClass apex Error Prone Style,Default ruleset...,quickstart pmd", + "MethodWithSameNameAsEnclosingClass apex Error Prone Default ruleset...,quickstart,Style pmd", "OverrideBothEqualsAndHashcode apex Error Prone pmd", "TestMethodsMustBeInTestClasses apex Error Prone pmd", "constructor-super javascript ECMAScript 6 ECMAScript 6 eslint", diff --git a/.automation/generated/linter-versions.json b/.automation/generated/linter-versions.json index c23fef7a434..d43711e929a 100644 --- a/.automation/generated/linter-versions.json +++ b/.automation/generated/linter-versions.json @@ -6,12 +6,12 @@ "bash-exec": "5.1.16", "black": "22.3.0", "cfn-lint": "0.58.4", - "checkov": "2.0.1047", + "checkov": "2.0.1050", "checkstyle": "10.1", "chktex": "1.7.6", "clippy": "0.1.60", "clj-kondo": "2022.04.08", - "coffeelint": "5.2.5", + "coffeelint": "5.2.6", "cpplint": "1.6.0", "cspell": "5.19.7", "dartanalyzer": "0.0.0", @@ -27,7 +27,7 @@ "golangci-lint": "1.45.2", "graphql-schema-linter": "2.0.1", "hadolint": "2.10.0", - "htmlhint": "1.1.3", + "htmlhint": "1.1.4", "isort": "5.10.1", "jscpd": "3.3.26", "jsonlint": "1.6.3", diff --git a/.automation/generated/megalinter-users.json b/.automation/generated/megalinter-users.json index e86e6c7539d..82c36a33a1d 100644 --- a/.automation/generated/megalinter-users.json +++ b/.automation/generated/megalinter-users.json @@ -110,7 +110,7 @@ "releases_url": "https://api.github.com/repos/nektos/act/releases{/id}", "size": 5671, "ssh_url": "git@github.com:nektos/act.git", - "stargazers_count": 23159, + "stargazers_count": 23160, "stargazers_url": "https://api.github.com/repos/nektos/act/stargazers", "statuses_url": "https://api.github.com/repos/nektos/act/statuses/{sha}", "subscribers_count": 109, @@ -127,14 +127,14 @@ "golang" ], "trees_url": "https://api.github.com/repos/nektos/act/git/trees{/sha}", - "updated_at": "2022-04-11T16:07:54Z", + "updated_at": "2022-04-11T17:48:27Z", "url": "https://api.github.com/repos/nektos/act", "visibility": "public", - "watchers": 23159, - "watchers_count": 23159 + "watchers": 23160, + "watchers_count": 23160 }, "repo_url": "https://github.com/nektos/act", - "stargazers": 23159 + "stargazers": 23160 }, { "info": { @@ -475,11 +475,11 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/megalinter/megalinter/pulls{/number}", - "pushed_at": "2022-04-11T15:51:48Z", + "pushed_at": "2022-04-11T17:27:45Z", "releases_url": "https://api.github.com/repos/megalinter/megalinter/releases{/id}", "size": 114344, "ssh_url": "git@github.com:megalinter/megalinter.git", - "stargazers_count": 578, + "stargazers_count": 579, "stargazers_url": "https://api.github.com/repos/megalinter/megalinter/stargazers", "statuses_url": "https://api.github.com/repos/megalinter/megalinter/statuses/{sha}", "subscribers_count": 6, @@ -511,14 +511,14 @@ "terraform" ], "trees_url": "https://api.github.com/repos/megalinter/megalinter/git/trees{/sha}", - "updated_at": "2022-04-11T08:24:13Z", + "updated_at": "2022-04-11T17:57:28Z", "url": "https://api.github.com/repos/megalinter/megalinter", "visibility": "public", - "watchers": 578, - "watchers_count": 578 + "watchers": 579, + "watchers_count": 579 }, "repo_url": "https://github.com/megalinter/megalinter", - "stargazers": 578 + "stargazers": 579 }, { "info": { @@ -1934,8 +1934,8 @@ "network_count": 24, "node_id": "MDEwOlJlcG9zaXRvcnkzNTk2MzQzNzc=", "notifications_url": "https://api.github.com/repos/oasisprotocol/oasis-wallet-web/notifications{?since,all,participating}", - "open_issues": 61, - "open_issues_count": 61, + "open_issues": 60, + "open_issues_count": 60, "organization": { "avatar_url": "https://avatars.githubusercontent.com/u/52803776?v=4", "events_url": "https://api.github.com/users/oasisprotocol/events{/privacy}", @@ -1978,7 +1978,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/oasisprotocol/oasis-wallet-web/pulls{/number}", - "pushed_at": "2022-04-11T17:03:15Z", + "pushed_at": "2022-04-11T17:36:54Z", "releases_url": "https://api.github.com/repos/oasisprotocol/oasis-wallet-web/releases{/id}", "size": 5485, "ssh_url": "git@github.com:oasisprotocol/oasis-wallet-web.git", @@ -4645,8 +4645,8 @@ "network_count": 0, "node_id": "MDEwOlJlcG9zaXRvcnkzODI4NjMyOTE=", "notifications_url": "https://api.github.com/repos/0dragosh/homelab-k3s/notifications{?since,all,participating}", - "open_issues": 2, - "open_issues_count": 2, + "open_issues": 1, + "open_issues_count": 1, "owner": { "avatar_url": "https://avatars.githubusercontent.com/u/39906742?v=4", "events_url": "https://api.github.com/users/0dragosh/events{/privacy}", @@ -4669,7 +4669,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/0dragosh/homelab-k3s/pulls{/number}", - "pushed_at": "2022-04-11T14:15:32Z", + "pushed_at": "2022-04-11T17:41:18Z", "releases_url": "https://api.github.com/repos/0dragosh/homelab-k3s/releases{/id}", "size": 2490, "ssh_url": "git@github.com:0dragosh/homelab-k3s.git", diff --git a/CHANGELOG.md b/CHANGELOG.md index 2393fbc97f0..55d57e5ee04 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), Note: Can be used with `megalinter/megalinter@beta` in your GitHub Action mega-linter.yml file, or with `megalinter/megalinter:beta` docker image - Linter versions upgrades + - [coffeelint](http://www.coffeelint.org) from 5.2.5 to **5.2.6** on 2022-04-11 + - [htmlhint](https://htmlhint.com/) from 1.1.3 to **1.1.4** on 2022-04-11 + - [checkov](https://www.checkov.io/) from 2.0.1047 to **2.0.1050** on 2022-04-11 ## [v5.11.0] - 2022-04-11 diff --git a/docs/all_linters.md b/docs/all_linters.md index 041c0167a17..e27adfbb4fb 100644 --- a/docs/all_linters.md +++ b/docs/all_linters.md @@ -12,12 +12,12 @@ | [**bash-exec**](https://tiswww.case.edu/php/chet/bash/bashtop.html){target=_blank} | 5.1.16 | | [BASH](descriptors/bash_bash_exec.md) | | [Web Site](https://tiswww.case.edu/php/chet/bash/bashtop.html){target=_blank} | | [**black**](https://github.com/psf/black){target=_blank} | 22.3.0 | [MIT](licenses/black.md) | [PYTHON](descriptors/python_black.md) | :white_circle: | [Repository](https://github.com/psf/black){target=_blank} | | [**cfn-lint**](https://github.com/martysweet/cfn-lint){target=_blank} | 0.58.4 | | [CLOUDFORMATION](descriptors/cloudformation_cfn_lint.md) | :white_circle: | [Web Site](https://github.com/martysweet/cfn-lint){target=_blank} | -| [**checkov**](https://github.com/bridgecrewio/checkov){target=_blank} | 2.0.1047 | [Apache-2.0](licenses/checkov.md) | [TERRAFORM](descriptors/terraform_checkov.md) | :no_entry_sign: | [Repository](https://github.com/bridgecrewio/checkov){target=_blank} | +| [**checkov**](https://github.com/bridgecrewio/checkov){target=_blank} | 2.0.1050 | [Apache-2.0](licenses/checkov.md) | [TERRAFORM](descriptors/terraform_checkov.md) | :no_entry_sign: | [Repository](https://github.com/bridgecrewio/checkov){target=_blank} | | [**checkstyle**](https://github.com/checkstyle/checkstyle){target=_blank} | 10.1 | [Other](licenses/checkstyle.md) | [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.60 | | [RUST](descriptors/rust_clippy.md) | :white_circle: | [Web Site](https://github.com/rust-lang/rust-clippy){target=_blank} | | [**clj-kondo**](https://github.com/borkdude/clj-kondo){target=_blank} | 2022.04.08 | | [CLOJURE](descriptors/clojure_clj_kondo.md) | :heart: | [MegaLinter reference](https://github.com/borkdude/clj-kondo/blob/master/doc/ci-integration.md#github){target=_blank} | -| [**coffeelint**](https://github.com/clutchski/coffeelint){target=_blank} | 5.2.5 | [Other](licenses/coffeelint.md) | [COFFEE](descriptors/coffee_coffeelint.md) | :white_circle: | [Repository](https://github.com/clutchski/coffeelint){target=_blank} | +| [**coffeelint**](https://github.com/clutchski/coffeelint){target=_blank} | 5.2.6 | [Other](licenses/coffeelint.md) | [COFFEE](descriptors/coffee_coffeelint.md) | :white_circle: | [Repository](https://github.com/clutchski/coffeelint){target=_blank} | | [**cpplint**](https://github.com/cpplint/cpplint){target=_blank} | 1.6.0 | | [C](descriptors/c_cpplint.md)
[CPP](descriptors/cpp_cpplint.md) | :white_circle: | [Web Site](https://github.com/cpplint/cpplint){target=_blank} | | [**cspell**](https://github.com/streetsidesoftware/cspell){target=_blank} | 5.19.7 | [MIT](licenses/cspell.md) | [SPELL](descriptors/spell_cspell.md) | :heart: | [MegaLinter reference](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell#mega-linter){target=_blank} | | [**dartanalyzer**](https://github.com/dart-lang/sdk){target=_blank} | N/A | [BSD-3-Clause](licenses/dartanalyzer.md) | [DART](descriptors/dart_dartanalyzer.md) | :no_entry_sign: | [Repository](https://github.com/dart-lang/sdk){target=_blank} | @@ -33,7 +33,7 @@ | [**golangci-lint**](https://github.com/golangci/golangci-lint){target=_blank} | 1.45.2 | [GPL-3.0](licenses/golangci-lint.md) | [GO](descriptors/go_golangci_lint.md) | :white_circle: | [Repository](https://github.com/golangci/golangci-lint){target=_blank} | | [**graphql-schema-linter**](https://github.com/cjoudrey/graphql-schema-linter){target=_blank} | 2.0.1 | | [GRAPHQL](descriptors/graphql_graphql_schema_linter.md) | :hammer_and_wrench: | [Pull Request](https://github.com/cjoudrey/graphql-schema-linter/pull/272){target=_blank} | | [**hadolint**](https://github.com/hadolint/hadolint){target=_blank} | 2.10.0 | | [DOCKERFILE](descriptors/dockerfile_hadolint.md) | :heart: | [MegaLinter reference](https://github.com/hadolint/hadolint/blob/master/docs/INTEGRATION.md#mega-linter){target=_blank} | -| [**htmlhint**](https://github.com/htmlhint/HTMLHint){target=_blank} | 1.1.3 | [MIT](licenses/htmlhint.md) | [HTML](descriptors/html_htmlhint.md) | :heart: | [MegaLinter reference](https://htmlhint.com/docs/user-guide/integrations/task-runner){target=_blank} | +| [**htmlhint**](https://github.com/htmlhint/HTMLHint){target=_blank} | 1.1.4 | [MIT](licenses/htmlhint.md) | [HTML](descriptors/html_htmlhint.md) | :heart: | [MegaLinter reference](https://htmlhint.com/docs/user-guide/integrations/task-runner){target=_blank} | | [**isort**](https://github.com/PyCQA/isort){target=_blank} | 5.10.1 | [MIT](licenses/isort.md) | [PYTHON](descriptors/python_isort.md) | :white_circle: | [Repository](https://github.com/PyCQA/isort){target=_blank} | | [**jscpd**](https://github.com/kucherenko/jscpd){target=_blank} | 3.3.26 | [MIT](licenses/jscpd.md) | [COPYPASTE](descriptors/copypaste_jscpd.md) | :heart: | [MegaLinter reference](https://github.com/kucherenko/jscpd#who-uses-jscpd){target=_blank} | | [**jsonlint**](https://github.com/zaach/jsonlint){target=_blank} | 1.6.3 | | [JSON](descriptors/json_jsonlint.md) | :hammer_and_wrench: | [Pull Request](https://github.com/zaach/jsonlint/pull/127){target=_blank} | diff --git a/docs/descriptors/coffee_coffeelint.md b/docs/descriptors/coffee_coffeelint.md index fedc25f948b..326f986173c 100644 --- a/docs/descriptors/coffee_coffeelint.md +++ b/docs/descriptors/coffee_coffeelint.md @@ -4,7 +4,7 @@ ## coffeelint documentation -- Version in MegaLinter: **5.2.5** +- Version in MegaLinter: **5.2.6** - Visit [Official Web Site](http://www.coffeelint.org){target=_blank} - See [How to configure coffeelint rules](http://www.coffeelint.org/#options){target=_blank} - If custom `.coffee-lint.json` config file is not found, [.coffee-lint.json](https://github.com/megalinter/megalinter/tree/main/TEMPLATES/.coffee-lint.json){target=_blank} will be used diff --git a/docs/descriptors/html_htmlhint.md b/docs/descriptors/html_htmlhint.md index 310da114d89..77ef88eba0c 100644 --- a/docs/descriptors/html_htmlhint.md +++ b/docs/descriptors/html_htmlhint.md @@ -4,7 +4,7 @@ ## htmlhint documentation -- Version in MegaLinter: **1.1.3** +- Version in MegaLinter: **1.1.4** - Visit [Official Web Site](https://htmlhint.com/){target=_blank} - See [How to configure htmlhint rules](https://htmlhint.com/docs/user-guide/configuration){target=_blank} - If custom `.htmlhintrc` config file is not found, [.htmlhintrc](https://github.com/megalinter/megalinter/tree/main/TEMPLATES/.htmlhintrc){target=_blank} will be used diff --git a/docs/descriptors/python_black.md b/docs/descriptors/python_black.md index 2288b713ade..e4c95ead9e5 100644 --- a/docs/descriptors/python_black.md +++ b/docs/descriptors/python_black.md @@ -112,8 +112,8 @@ Options: input). --python-cell-magics TEXT When processing Jupyter Notebooks, add the given magic to the list of known python- - magics (python3, python, time, capture, - pypy, prun, timeit). Useful for formatting + magics (time, timeit, prun, pypy, python, + python3, capture). Useful for formatting cells with custom python magics. -S, --skip-string-normalization Don't normalize string quotes or prefixes. diff --git a/docs/descriptors/python_flake8.md b/docs/descriptors/python_flake8.md index a4009c20062..7d0d2c24faa 100644 --- a/docs/descriptors/python_flake8.md +++ b/docs/descriptors/python_flake8.md @@ -124,8 +124,8 @@ optional arguments: 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: ['W504', 'E24', 'E121', 'W503', 'E126', - 'E704', 'E226', 'E123']) + (Default: ['E226', 'E24', 'E123', 'W503', 'W504', + 'E126', 'E704', 'E121']) --extend-ignore errors Comma-separated list of errors and warnings to add to the list of ignored ones. For example, ``--extend- diff --git a/docs/descriptors/salesforce_sfdx_scanner_aura.md b/docs/descriptors/salesforce_sfdx_scanner_aura.md index 6d619fc3262..ddac43c2cca 100644 --- a/docs/descriptors/salesforce_sfdx_scanner_aura.md +++ b/docs/descriptors/salesforce_sfdx_scanner_aura.md @@ -225,11 +225,11 @@ VfCsrf visualforce Security VfHtmlStyleTagXss visualforce Security pmd VfUnescapeEl visualforce Security Basic VF pmd ApexAssertionsShouldIncludeMessage apex Best Practices pmd -ApexUnitTestClassShouldHaveAsserts apex Best Practices Default ruleset...,ApexUnit,quickstart pmd +ApexUnitTestClassShouldHaveAsserts apex Best Practices Default ruleset...,quickstart,ApexUnit pmd ApexUnitTestMethodShouldHaveIsTestAnnotation apex Best Practices pmd -ApexUnitTestShouldNotUseSeeAllDataTrue apex Best Practices Default ruleset...,ApexUnit,quickstart pmd -AvoidGlobalModifier apex Best Practices Style,Default ruleset...,quickstart pmd -AvoidLogicInTrigger apex Best Practices Style,Default ruleset...,quickstart pmd +ApexUnitTestShouldNotUseSeeAllDataTrue apex Best Practices Default ruleset...,quickstart,ApexUnit pmd +AvoidGlobalModifier apex Best Practices Default ruleset...,quickstart,Style pmd +AvoidLogicInTrigger apex Best Practices Default ruleset...,quickstart,Style pmd DebugsShouldUseLoggingLevel apex Best Practices quickstart pmd UnusedLocalVariable apex Best Practices pmd AvoidDebugStatements apex Performance pmd @@ -238,18 +238,18 @@ AvoidSoqlInLoops apex Performance AvoidSoslInLoops apex Performance Performance,Default ruleset... pmd EagerlyLoadedDescribeSObjectResult apex Performance pmd OperationWithLimitsInLoop apex Performance quickstart pmd -ApexBadCrypto apex Security Security,Default ruleset...,quickstart pmd -ApexCRUDViolation apex Security Security,Default ruleset...,quickstart pmd +ApexBadCrypto apex Security Default ruleset...,quickstart,Security pmd +ApexCRUDViolation apex Security Default ruleset...,quickstart,Security pmd ApexCSRF apex Security Security pmd -ApexDangerousMethods apex Security Security,Default ruleset...,quickstart pmd -ApexInsecureEndpoint apex Security Security,Default ruleset...,quickstart pmd -ApexOpenRedirect apex Security Security,Default ruleset...,quickstart pmd -ApexSharingViolations apex Security Security,Default ruleset...,quickstart pmd -ApexSOQLInjection apex Security Security,Default ruleset...,quickstart pmd -ApexSuggestUsingNamedCred apex Security Security,Default ruleset...,quickstart pmd -ApexXSSFromEscapeFalse apex Security Security,Default ruleset...,quickstart pmd -ApexXSSFromURLParam apex Security Security,Default ruleset...,quickstart pmd -ClassNamingConventions apex Code Style Style,Default ruleset...,quickstart pmd +ApexDangerousMethods apex Security Default ruleset...,quickstart,Security pmd +ApexInsecureEndpoint apex Security Default ruleset...,quickstart,Security pmd +ApexOpenRedirect apex Security Default ruleset...,quickstart,Security pmd +ApexSharingViolations apex Security Default ruleset...,quickstart,Security pmd +ApexSOQLInjection apex Security Default ruleset...,quickstart,Security pmd +ApexSuggestUsingNamedCred apex Security Default ruleset...,quickstart,Security pmd +ApexXSSFromEscapeFalse apex Security Default ruleset...,quickstart,Security pmd +ApexXSSFromURLParam apex Security Default ruleset...,quickstart,Security pmd +ClassNamingConventions apex Code Style Default ruleset...,quickstart,Style pmd IfElseStmtsMustUseBraces apex Code Style Default ruleset...,quickstart,Braces pmd IfStmtsMustUseBraces apex Code Style Default ruleset...,quickstart,Braces pmd FieldDeclarationsShouldBeAtStart apex Code Style pmd @@ -257,26 +257,26 @@ FieldNamingConventions apex Code Style ForLoopsMustUseBraces apex Code Style Default ruleset...,quickstart,Braces pmd FormalParameterNamingConventions apex Code Style quickstart pmd LocalVariableNamingConventions apex Code Style quickstart pmd -MethodNamingConventions apex Code Style Style,Default ruleset...,quickstart pmd +MethodNamingConventions apex Code Style Default ruleset...,quickstart,Style pmd OneDeclarationPerLine apex Code Style Default ruleset...,quickstart pmd PropertyNamingConventions apex Code Style quickstart pmd -VariableNamingConventions apex Code Style Style,Default ruleset... pmd +VariableNamingConventions apex Code Style Default ruleset...,Style pmd WhileLoopsMustUseBraces apex Code Style Default ruleset...,quickstart,Braces pmd -AvoidDeeplyNestedIfStmts apex Design Default ruleset...,Complexity,quickstart pmd -CyclomaticComplexity apex Design Metrics tempora...,Default ruleset...,quickstart pmd +AvoidDeeplyNestedIfStmts apex Design Default ruleset...,quickstart,Complexity pmd +CyclomaticComplexity apex Design Default ruleset...,quickstart,Metrics tempora... pmd CognitiveComplexity apex Design pmd -ExcessiveClassLength apex Design Default ruleset...,Complexity,quickstart pmd -ExcessiveParameterList apex Design Default ruleset...,Complexity,quickstart pmd -ExcessivePublicCount apex Design Default ruleset...,Complexity,quickstart pmd -NcssConstructorCount apex Design Default ruleset...,Complexity,quickstart pmd -NcssMethodCount apex Design Default ruleset...,Complexity,quickstart pmd -NcssTypeCount apex Design Default ruleset...,Complexity,quickstart pmd -StdCyclomaticComplexity apex Design Default ruleset...,Complexity,quickstart pmd -TooManyFields apex Design Default ruleset...,Complexity,quickstart pmd +ExcessiveClassLength apex Design Default ruleset...,quickstart,Complexity pmd +ExcessiveParameterList apex Design Default ruleset...,quickstart,Complexity pmd +ExcessivePublicCount apex Design Default ruleset...,quickstart,Complexity pmd +NcssConstructorCount apex Design Default ruleset...,quickstart,Complexity pmd +NcssMethodCount apex Design Default ruleset...,quickstart,Complexity pmd +NcssTypeCount apex Design Default ruleset...,quickstart,Complexity pmd +StdCyclomaticComplexity apex Design Default ruleset...,quickstart,Complexity pmd +TooManyFields apex Design Default ruleset...,quickstart,Complexity pmd ApexDoc apex Documentation Default ruleset...,quickstart pmd ApexCSRF apex Error Prone Default ruleset...,quickstart pmd -AvoidDirectAccessTriggerMap apex Error Prone Style,Default ruleset...,quickstart pmd -AvoidHardcodingId apex Error Prone Style,Default ruleset...,quickstart pmd +AvoidDirectAccessTriggerMap apex Error Prone Default ruleset...,quickstart,Style pmd +AvoidHardcodingId apex Error Prone Default ruleset...,quickstart,Style pmd AvoidNonExistentAnnotations apex Error Prone Default ruleset...,quickstart pmd EmptyCatchBlock apex Error Prone Default ruleset...,quickstart,Empty Code pmd EmptyIfStmt apex Error Prone Default ruleset...,quickstart,Empty Code pmd @@ -284,7 +284,7 @@ EmptyStatementBlock apex Error Prone EmptyTryOrFinallyBlock apex Error Prone Default ruleset...,quickstart,Empty Code pmd EmptyWhileStmt apex Error Prone Default ruleset...,quickstart,Empty Code pmd InaccessibleAuraEnabledGetter apex Error Prone pmd -MethodWithSameNameAsEnclosingClass apex Error Prone Style,Default ruleset...,quickstart pmd +MethodWithSameNameAsEnclosingClass apex Error Prone Default ruleset...,quickstart,Style pmd OverrideBothEqualsAndHashcode apex Error Prone pmd TestMethodsMustBeInTestClasses apex Error Prone pmd constructor-super javascript ECMAScript 6 ECMAScript 6 eslint diff --git a/docs/descriptors/terraform_checkov.md b/docs/descriptors/terraform_checkov.md index 14765e1b5e3..041d5817660 100644 --- a/docs/descriptors/terraform_checkov.md +++ b/docs/descriptors/terraform_checkov.md @@ -9,7 +9,7 @@ ## checkov documentation -- Version in MegaLinter: **2.0.1047** +- Version in MegaLinter: **2.0.1050** - Visit [Official Web Site](https://www.checkov.io/){target=_blank} - See [How to disable checkov rules in files](https://www.checkov.io/2.Basics/Suppressing%20and%20Skipping%20Policies.html){target=_blank} - See [Index of problems detected by checkov](https://www.checkov.io/5.Policy%20Index/all.html){target=_blank} diff --git a/flavors/ci_light/action.yml b/flavors/ci_light/action.yml index 2601e9a8415..ab9dfbb8a11 100644 --- a/flavors/ci_light/action.yml +++ b/flavors/ci_light/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-ci_light:v5.11.0" + image: "docker://megalinter/megalinter-ci_light:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/dart/action.yml b/flavors/dart/action.yml index 71d5dc9679d..53356ae875c 100644 --- a/flavors/dart/action.yml +++ b/flavors/dart/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-dart:v5.11.0" + image: "docker://megalinter/megalinter-dart:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/documentation/action.yml b/flavors/documentation/action.yml index 07f7727c50f..ae90e36ca1b 100644 --- a/flavors/documentation/action.yml +++ b/flavors/documentation/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-documentation:v5.11.0" + image: "docker://megalinter/megalinter-documentation:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/dotnet/action.yml b/flavors/dotnet/action.yml index 238e79669bf..e09b2825d2d 100644 --- a/flavors/dotnet/action.yml +++ b/flavors/dotnet/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-dotnet:v5.11.0" + image: "docker://megalinter/megalinter-dotnet:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/go/action.yml b/flavors/go/action.yml index 755e656293a..7c73a43f705 100644 --- a/flavors/go/action.yml +++ b/flavors/go/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-go:v5.11.0" + image: "docker://megalinter/megalinter-go:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/java/action.yml b/flavors/java/action.yml index b5bae099671..235bbdc2859 100644 --- a/flavors/java/action.yml +++ b/flavors/java/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-java:v5.11.0" + image: "docker://megalinter/megalinter-java:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/javascript/action.yml b/flavors/javascript/action.yml index c3e076b489e..21f313d3a63 100644 --- a/flavors/javascript/action.yml +++ b/flavors/javascript/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-javascript:v5.11.0" + image: "docker://megalinter/megalinter-javascript:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/php/action.yml b/flavors/php/action.yml index 40a8fb6e432..a22a8b34bb6 100644 --- a/flavors/php/action.yml +++ b/flavors/php/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-php:v5.11.0" + image: "docker://megalinter/megalinter-php:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/python/action.yml b/flavors/python/action.yml index c71208f111b..d5bfdfaf143 100644 --- a/flavors/python/action.yml +++ b/flavors/python/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-python:v5.11.0" + image: "docker://megalinter/megalinter-python:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/ruby/action.yml b/flavors/ruby/action.yml index 8190ac30ac5..f4cbc4ad6df 100644 --- a/flavors/ruby/action.yml +++ b/flavors/ruby/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-ruby:v5.11.0" + image: "docker://megalinter/megalinter-ruby:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/rust/action.yml b/flavors/rust/action.yml index 689bd8ecb16..bbfc5f91a9e 100644 --- a/flavors/rust/action.yml +++ b/flavors/rust/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-rust:v5.11.0" + image: "docker://megalinter/megalinter-rust:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/salesforce/action.yml b/flavors/salesforce/action.yml index 5496332e245..961e8e91a21 100644 --- a/flavors/salesforce/action.yml +++ b/flavors/salesforce/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-salesforce:v5.11.0" + image: "docker://megalinter/megalinter-salesforce:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/scala/action.yml b/flavors/scala/action.yml index 48a50a1cf66..7a85eeed9fa 100644 --- a/flavors/scala/action.yml +++ b/flavors/scala/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-scala:v5.11.0" + image: "docker://megalinter/megalinter-scala:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/swift/action.yml b/flavors/swift/action.yml index e8fadc2eed7..40a5113f630 100644 --- a/flavors/swift/action.yml +++ b/flavors/swift/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-swift:v5.11.0" + image: "docker://megalinter/megalinter-swift:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/terraform/action.yml b/flavors/terraform/action.yml index 588972f2a2f..ec73254fa7a 100644 --- a/flavors/terraform/action.yml +++ b/flavors/terraform/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-terraform:v5.11.0" + image: "docker://megalinter/megalinter-terraform:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw"