From c12bbcfec162091842e321cd0837b1473b9e860d Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Thu, 17 Mar 2022 01:45:43 +0000 Subject: [PATCH] [automation] Auto-update linters version, help and documentation --- .automation/generated/flavors-stats.json | 64 ++++++++++++++++ .automation/generated/linter-helps.json | 74 ++++++++++--------- .automation/generated/linter-versions.json | 10 +-- CHANGELOG.md | 5 ++ docs/all_linters.md | 10 +-- docs/descriptors/css_stylelint.md | 2 +- docs/descriptors/javascript_prettier.md | 8 +- docs/descriptors/json_prettier.md | 8 +- docs/descriptors/powershell_powershell.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 +- docs/descriptors/terraform_kics.md | 2 +- docs/descriptors/typescript_prettier.md | 8 +- docs/descriptors/yaml_prettier.md | 8 +- 16 files changed, 180 insertions(+), 91 deletions(-) diff --git a/.automation/generated/flavors-stats.json b/.automation/generated/flavors-stats.json index 3cff919c495..a62db460496 100644 --- a/.automation/generated/flavors-stats.json +++ b/.automation/generated/flavors-stats.json @@ -651,6 +651,10 @@ [ "2022-03-16T01:45:07", 2469584 + ], + [ + "2022-03-17T01:44:12", + 2469992 ] ], "ci_light": [ @@ -1305,6 +1309,10 @@ [ "2022-03-16T01:45:07", 8395 + ], + [ + "2022-03-17T01:44:12", + 8425 ] ], "dart": [ @@ -1959,6 +1967,10 @@ [ "2022-03-16T01:45:07", 2442 + ], + [ + "2022-03-17T01:44:12", + 2451 ] ], "documentation": [ @@ -2613,6 +2625,10 @@ [ "2022-03-16T01:45:07", 45351 + ], + [ + "2022-03-17T01:44:12", + 45428 ] ], "dotnet": [ @@ -3267,6 +3283,10 @@ [ "2022-03-16T01:45:07", 290855 + ], + [ + "2022-03-17T01:44:12", + 290989 ] ], "go": [ @@ -3921,6 +3941,10 @@ [ "2022-03-16T01:45:07", 8832 + ], + [ + "2022-03-17T01:44:12", + 8857 ] ], "java": [ @@ -4575,6 +4599,10 @@ [ "2022-03-16T01:45:07", 64395 + ], + [ + "2022-03-17T01:44:12", + 64602 ] ], "javascript": [ @@ -5229,6 +5257,10 @@ [ "2022-03-16T01:45:07", 97376 + ], + [ + "2022-03-17T01:44:12", + 97649 ] ], "php": [ @@ -5883,6 +5915,10 @@ [ "2022-03-16T01:45:07", 4566 + ], + [ + "2022-03-17T01:44:12", + 4572 ] ], "python": [ @@ -6537,6 +6573,10 @@ [ "2022-03-16T01:45:07", 65108 + ], + [ + "2022-03-17T01:44:12", + 65238 ] ], "ruby": [ @@ -7187,6 +7227,10 @@ [ "2022-03-16T01:45:07", 1929 + ], + [ + "2022-03-17T01:44:12", + 1929 ] ], "rust": [ @@ -7837,6 +7881,10 @@ [ "2022-03-16T01:45:07", 2655 + ], + [ + "2022-03-17T01:44:12", + 2682 ] ], "salesforce": [ @@ -8491,6 +8539,10 @@ [ "2022-03-16T01:45:07", 11358 + ], + [ + "2022-03-17T01:44:12", + 11384 ] ], "scala": [ @@ -9141,6 +9193,10 @@ [ "2022-03-16T01:45:07", 1462 + ], + [ + "2022-03-17T01:44:12", + 1462 ] ], "swift": [ @@ -9791,6 +9847,10 @@ [ "2022-03-16T01:45:07", 1501 + ], + [ + "2022-03-17T01:44:12", + 1501 ] ], "terraform": [ @@ -10445,6 +10505,10 @@ [ "2022-03-16T01:45:07", 45059 + ], + [ + "2022-03-17T01:44:12", + 45339 ] ] } \ No newline at end of file diff --git a/.automation/generated/linter-helps.json b/.automation/generated/linter-helps.json index 4f93d10d50f..19648f5e0b5 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, time, prun, pypy, capture,", - " timeit, python). Useful for formatting cells", + " magics (prun, capture, pypy, time, python3,", + " python, timeit). Useful for formatting cells", " with custom python magics.", " -S, --skip-string-normalization", " Don't normalize string quotes or prefixes.", @@ -1514,8 +1514,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: ['E24', 'E126', 'E704', 'E226', 'W503',", - " 'W504', 'E123', 'E121'])", + " (Default: ['W504', 'E121', 'E123', 'E704', 'E226',", + " 'E126', 'W503', 'E24'])", " --extend-ignore errors", " Comma-separated list of errors and warnings to add to", " the list of ignored ones. For example, ``--extend-", @@ -3465,7 +3465,7 @@ " Defaults to css.", " --jsx-single-quote Use single quotes in JSX.", " Defaults to false.", - " --parser ", + " --parser ", " Which parser to use.", " --print-width The line length where Prettier will try wrap.", " Defaults to 80.", @@ -3476,6 +3476,9 @@ " Change when properties in objects are quoted.", " Defaults to as-needed.", " --no-semi Do not print semicolons, except at the beginning of lines which may need them.", + " --single-attribute-per-line", + " Enforce single attribute per line in HTML, Vue and JSX.", + " Defaults to false.", " --single-quote Use single quotes instead of double quotes.", " Defaults to false.", " --tab-width Number of spaces per indentation level.", @@ -3540,6 +3543,7 @@ " --loglevel ", " What level of logs to report.", " Defaults to log.", + " --no-plugin-search Disable plugin autoloading.", " --require-pragma Require either '@prettier' or '@format' to be present in the file's first docblock comment", " in order for it to be formatted.", " Defaults to false.", @@ -5315,11 +5319,11 @@ "VfHtmlStyleTagXss visualforce Security pmd", "VfUnescapeEl visualforce Security Basic VF pmd", "ApexAssertionsShouldIncludeMessage apex Best Practices pmd", - "ApexUnitTestClassShouldHaveAsserts apex Best Practices Default ruleset...,quickstart,ApexUnit pmd", + "ApexUnitTestClassShouldHaveAsserts apex Best Practices Default ruleset...,ApexUnit,quickstart pmd", "ApexUnitTestMethodShouldHaveIsTestAnnotation apex Best Practices 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", + "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", "DebugsShouldUseLoggingLevel apex Best Practices quickstart pmd", "UnusedLocalVariable apex Best Practices pmd", "AvoidDebugStatements apex Performance pmd", @@ -5328,18 +5332,18 @@ "AvoidSoslInLoops apex Performance Performance,Default ruleset... pmd", "EagerlyLoadedDescribeSObjectResult apex Performance pmd", "OperationWithLimitsInLoop apex Performance quickstart pmd", - "ApexBadCrypto apex Security Default ruleset...,quickstart,Security pmd", - "ApexCRUDViolation apex Security Default ruleset...,quickstart,Security pmd", + "ApexBadCrypto apex Security Security,Default ruleset...,quickstart pmd", + "ApexCRUDViolation apex Security Security,Default ruleset...,quickstart pmd", "ApexCSRF apex Security Security 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", + "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", "IfElseStmtsMustUseBraces apex Code Style Default ruleset...,quickstart,Braces pmd", "IfStmtsMustUseBraces apex Code Style Default ruleset...,quickstart,Braces pmd", "FieldDeclarationsShouldBeAtStart apex Code Style pmd", @@ -5347,26 +5351,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 Default ruleset...,quickstart,Style pmd", + "MethodNamingConventions apex Code Style Style,Default ruleset...,quickstart pmd", "OneDeclarationPerLine apex Code Style Default ruleset...,quickstart pmd", "PropertyNamingConventions apex Code Style quickstart pmd", - "VariableNamingConventions apex Code Style Default ruleset...,Style pmd", + "VariableNamingConventions apex Code Style Style,Default ruleset... pmd", "WhileLoopsMustUseBraces apex Code Style Default ruleset...,quickstart,Braces pmd", - "AvoidDeeplyNestedIfStmts apex Design Default ruleset...,quickstart,Complexity pmd", - "CyclomaticComplexity apex Design Default ruleset...,quickstart,Metrics tempora... pmd", + "AvoidDeeplyNestedIfStmts apex Design Default ruleset...,Complexity,quickstart pmd", + "CyclomaticComplexity apex Design Metrics tempora...,Default ruleset...,quickstart pmd", "CognitiveComplexity apex Design 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", + "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", "ApexDoc apex Documentation Default ruleset...,quickstart pmd", "ApexCSRF apex Error Prone Default ruleset...,quickstart pmd", - "AvoidDirectAccessTriggerMap apex Error Prone Default ruleset...,quickstart,Style pmd", - "AvoidHardcodingId apex Error Prone Default ruleset...,quickstart,Style pmd", + "AvoidDirectAccessTriggerMap apex Error Prone Style,Default ruleset...,quickstart pmd", + "AvoidHardcodingId apex Error Prone Style,Default ruleset...,quickstart 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", @@ -5374,7 +5378,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 Default ruleset...,quickstart,Style pmd", + "MethodWithSameNameAsEnclosingClass apex Error Prone Style,Default ruleset...,quickstart 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 3829b3aff1a..076ebc5abbb 100644 --- a/.automation/generated/linter-versions.json +++ b/.automation/generated/linter-versions.json @@ -6,7 +6,7 @@ "bash-exec": "5.1.0", "black": "22.1.0", "cfn-lint": "0.58.3", - "checkov": "2.0.962", + "checkov": "2.0.969", "checkstyle": "10.0", "chktex": "1.7.6", "clippy": "0.1.59", @@ -31,7 +31,7 @@ "isort": "5.10.1", "jscpd": "3.3.26", "jsonlint": "1.6.3", - "kics": "1.5.3", + "kics": "1.5.4", "ktlint": "0.44.0", "kubeconform": "0.4.12", "kubeval": "0.16.1", @@ -48,8 +48,8 @@ "phpcs": "3.6.2", "phplint": "3.0", "phpstan": "1.4.10", - "powershell": "7.2.1", - "prettier": "2.5.1", + "powershell": "7.2.2", + "prettier": "2.6.0", "protolint": "0.37.1", "psalm": "Psalm.4.x-dev@", "puppet-lint": "2.5.2", @@ -76,7 +76,7 @@ "sql-lint": "0.0.19", "sqlfluff": "0.11.0", "standard": "15.0.1", - "stylelint": "14.5.3", + "stylelint": "14.6.0", "swiftlint": "0.46.5", "tekton-lint": "0.6.0", "terraform-fmt": "1.1.7", diff --git a/CHANGELOG.md b/CHANGELOG.md index 42906e3bf5f..f9545d33230 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,11 @@ Note: Can be used with `megalinter/megalinter@beta` in your GitHub Action mega-l - [checkov](https://www.checkov.io/) from 2.0.943 to **2.0.949** on 2022-03-15 - [ansible-lint](https://ansible-lint.readthedocs.io/en/latest/) from 5.4.0 to **6.0.0** on 2022-03-16 - [checkov](https://www.checkov.io/) from 2.0.949 to **2.0.962** on 2022-03-16 + - [stylelint](https://stylelint.io) from 14.5.3 to **14.6.0** on 2022-03-17 + - [prettier](https://prettier.io/) from 2.5.1 to **2.6.0** on 2022-03-17 + - [powershell](https://github.com/PowerShell/PSScriptAnalyzer) from 7.2.1 to **7.2.2** on 2022-03-17 + - [checkov](https://www.checkov.io/) from 2.0.962 to **2.0.969** on 2022-03-17 + - [kics](https://www.kics.io) from 1.5.3 to **1.5.4** on 2022-03-17 ## [v5.9.0] - 2022-03-13 diff --git a/docs/all_linters.md b/docs/all_linters.md index 453cba1c850..452683d2dba 100644 --- a/docs/all_linters.md +++ b/docs/all_linters.md @@ -12,7 +12,7 @@ | [**bash-exec**](https://tiswww.case.edu/php/chet/bash/bashtop.html){target=_blank} | 5.1.0 | | [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.1.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.3 | | [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.962 | [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.969 | [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.0 | [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.59 | | [RUST](descriptors/rust_clippy.md) | :white_circle: | [Web Site](https://github.com/rust-lang/rust-clippy){target=_blank} | @@ -37,7 +37,7 @@ | [**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} | -| [**kics**](https://github.com/checkmarx/kics){target=_blank} | 1.5.3 | [Apache-2.0](licenses/kics.md) | [TERRAFORM](descriptors/terraform_kics.md) | :heart: | [MegaLinter reference](https://docs.kics.io/latest/integrations/){target=_blank} | +| [**kics**](https://github.com/checkmarx/kics){target=_blank} | 1.5.4 | [Apache-2.0](licenses/kics.md) | [TERRAFORM](descriptors/terraform_kics.md) | :heart: | [MegaLinter reference](https://docs.kics.io/latest/integrations/){target=_blank} | | [**ktlint**](https://github.com/pinterest/ktlint){target=_blank} | 0.44.0 | [MIT](licenses/ktlint.md) | [KOTLIN](descriptors/kotlin_ktlint.md) | :heart: | [MegaLinter reference](https://github.com/pinterest/ktlint#-with-continuous-integration){target=_blank} | | [**kubeconform**](https://github.com/yannh/kubeconform){target=_blank} | 0.4.12 | [Other](licenses/kubeconform.md) | [KUBERNETES](descriptors/kubernetes_kubeconform.md) | :white_circle: | [Repository](https://github.com/yannh/kubeconform){target=_blank} | | [**kubeval**](https://github.com/instrumenta/kubeval){target=_blank} | 0.16.1 | [Other](licenses/kubeval.md) | [KUBERNETES](descriptors/kubernetes_kubeval.md) | :white_circle: | [Repository](https://github.com/instrumenta/kubeval){target=_blank} | @@ -54,8 +54,8 @@ | [**phpcs**](https://github.com/squizlabs/PHP_CodeSniffer){target=_blank} | 3.6.2 | | [PHP](descriptors/php_phpcs.md) | :white_circle: | [Web Site](https://github.com/squizlabs/PHP_CodeSniffer){target=_blank} | | [**phplint**](https://github.com/overtrue/phplint){target=_blank} | 3.0 | | [PHP](descriptors/php_phplint.md) | :white_circle: | [Web Site](https://github.com/overtrue/phplint){target=_blank} | | [**phpstan**](https://github.com/phpstan/phpstan){target=_blank} | 1.4.10 | [MIT](licenses/phpstan.md) | [PHP](descriptors/php_phpstan.md) | :white_circle: | [Repository](https://github.com/phpstan/phpstan){target=_blank} | -| [**powershell**](https://github.com/PowerShell/PSScriptAnalyzer){target=_blank} | 7.2.1 | | [POWERSHELL](descriptors/powershell_powershell.md) | :white_circle: | [Web Site](https://github.com/PowerShell/PSScriptAnalyzer){target=_blank} | -| [**prettier**](https://github.com/prettier/prettier){target=_blank} | 2.5.1 | [MIT](licenses/prettier.md) | [JAVASCRIPT](descriptors/javascript_prettier.md)
[JSON](descriptors/json_prettier.md)
[TYPESCRIPT](descriptors/typescript_prettier.md)
[YAML](descriptors/yaml_prettier.md) | :white_circle: | [Repository](https://github.com/prettier/prettier){target=_blank} | +| [**powershell**](https://github.com/PowerShell/PSScriptAnalyzer){target=_blank} | 7.2.2 | | [POWERSHELL](descriptors/powershell_powershell.md) | :white_circle: | [Web Site](https://github.com/PowerShell/PSScriptAnalyzer){target=_blank} | +| [**prettier**](https://github.com/prettier/prettier){target=_blank} | 2.6.0 | [MIT](licenses/prettier.md) | [JAVASCRIPT](descriptors/javascript_prettier.md)
[JSON](descriptors/json_prettier.md)
[TYPESCRIPT](descriptors/typescript_prettier.md)
[YAML](descriptors/yaml_prettier.md) | :white_circle: | [Repository](https://github.com/prettier/prettier){target=_blank} | | [**protolint**](https://github.com/yoheimuta/protolint){target=_blank} | 0.37.1 | | [PROTOBUF](descriptors/protobuf_protolint.md) | :white_circle: | [Web Site](https://github.com/yoheimuta/protolint){target=_blank} | | [**psalm**](https://github.com/vimeo/psalm){target=_blank} | Psalm.4.x-dev@ | [MIT](licenses/psalm.md) | [PHP](descriptors/php_psalm.md) | :white_circle: | [Repository](https://github.com/vimeo/psalm){target=_blank} | | [**puppet-lint**](https://github.com/rodjek/puppet-lint){target=_blank} | 2.5.2 | [MIT](licenses/puppet-lint.md) | [PUPPET](descriptors/puppet_puppet_lint.md) | :white_circle: | [Repository](https://github.com/rodjek/puppet-lint){target=_blank} | @@ -81,7 +81,7 @@ | [**sql-lint**](https://github.com/joereynolds/sql-lint){target=_blank} | 0.0.19 | | [SQL](descriptors/sql_sql_lint.md) | :white_circle: | [Web Site](https://github.com/joereynolds/sql-lint){target=_blank} | | [**sqlfluff**](https://github.com/sqlfluff/sqlfluff){target=_blank} | 0.11.0 | [MIT](licenses/sqlfluff.md) | [SQL](descriptors/sql_sqlfluff.md) | :white_circle: | [Repository](https://github.com/sqlfluff/sqlfluff){target=_blank} | | [**standard**](https://github.com/standard/standard){target=_blank} | 15.0.1 | [MIT](licenses/standard.md) | [JAVASCRIPT](descriptors/javascript_standard.md)
[TYPESCRIPT](descriptors/typescript_standard.md) | :white_circle: | [Repository](https://github.com/standard/standard){target=_blank} | -| [**stylelint**](https://github.com/stylelint/stylelint){target=_blank} | 14.5.3 | [MIT](licenses/stylelint.md) | [CSS](descriptors/css_stylelint.md) | :heart: | [MegaLinter reference](https://stylelint.io/user-guide/integrations/other#analysis-platform-engines){target=_blank} | +| [**stylelint**](https://github.com/stylelint/stylelint){target=_blank} | 14.6.0 | [MIT](licenses/stylelint.md) | [CSS](descriptors/css_stylelint.md) | :heart: | [MegaLinter reference](https://stylelint.io/user-guide/integrations/other#analysis-platform-engines){target=_blank} | | [**swiftlint**](https://github.com/realm/SwiftLint){target=_blank} | 0.46.5 | [MIT](licenses/swiftlint.md) | [SWIFT](descriptors/swift_swiftlint.md) | :white_circle: | [Repository](https://github.com/realm/SwiftLint){target=_blank} | | [**tekton-lint**](https://github.com/IBM/tekton-lint){target=_blank} | 0.6.0 | | [TEKTON](descriptors/tekton_tekton_lint.md) | :white_circle: | [Web Site](https://github.com/IBM/tekton-lint){target=_blank} | | [**terraform-fmt**](https://github.com/hashicorp/terraform){target=_blank} | 1.1.7 | [MPL-2.0](licenses/terraform-fmt.md) | [TERRAFORM](descriptors/terraform_terraform_fmt.md) | :white_circle: | [Repository](https://github.com/hashicorp/terraform){target=_blank} | diff --git a/docs/descriptors/css_stylelint.md b/docs/descriptors/css_stylelint.md index 1b5ec69b63e..d803e64c671 100644 --- a/docs/descriptors/css_stylelint.md +++ b/docs/descriptors/css_stylelint.md @@ -9,7 +9,7 @@ ## stylelint documentation -- Version in MegaLinter: **14.5.3** +- Version in MegaLinter: **14.6.0** - Visit [Official Web Site](https://stylelint.io){target=_blank} - See [How to configure stylelint rules](https://stylelint.io/user-guide/configure){target=_blank} - If custom `.stylelintrc.json` config file is not found, [.stylelintrc.json](https://github.com/megalinter/megalinter/tree/main/TEMPLATES/.stylelintrc.json){target=_blank} will be used diff --git a/docs/descriptors/javascript_prettier.md b/docs/descriptors/javascript_prettier.md index 6e921442230..e0ffafb3f59 100644 --- a/docs/descriptors/javascript_prettier.md +++ b/docs/descriptors/javascript_prettier.md @@ -9,7 +9,7 @@ ## prettier documentation -- Version in MegaLinter: **2.5.1** +- Version in MegaLinter: **2.6.0** - Visit [Official Web Site](https://prettier.io/){target=_blank} - See [How to configure prettier rules](https://prettier.io/docs/en/configuration.html){target=_blank} - See [How to disable prettier rules in files](https://prettier.io/docs/en/ignore.html#javascript){target=_blank} @@ -128,7 +128,7 @@ Format options: Defaults to css. --jsx-single-quote Use single quotes in JSX. Defaults to false. - --parser + --parser Which parser to use. --print-width The line length where Prettier will try wrap. Defaults to 80. @@ -139,6 +139,9 @@ Format options: Change when properties in objects are quoted. Defaults to as-needed. --no-semi Do not print semicolons, except at the beginning of lines which may need them. + --single-attribute-per-line + Enforce single attribute per line in HTML, Vue and JSX. + Defaults to false. --single-quote Use single quotes instead of double quotes. Defaults to false. --tab-width Number of spaces per indentation level. @@ -203,6 +206,7 @@ Other options: --loglevel What level of logs to report. Defaults to log. + --no-plugin-search Disable plugin autoloading. --require-pragma Require either '@prettier' or '@format' to be present in the file's first docblock comment in order for it to be formatted. Defaults to false. diff --git a/docs/descriptors/json_prettier.md b/docs/descriptors/json_prettier.md index 792c9f9fe91..be7764303d4 100644 --- a/docs/descriptors/json_prettier.md +++ b/docs/descriptors/json_prettier.md @@ -9,7 +9,7 @@ ## prettier documentation -- Version in MegaLinter: **2.5.1** +- Version in MegaLinter: **2.6.0** - Visit [Official Web Site](https://prettier.io/){target=_blank} - See [How to configure prettier rules](https://prettier.io/docs/en/configuration.html){target=_blank} - See [How to disable prettier rules in files](https://prettier.io/docs/en/ignore.html#javascript){target=_blank} @@ -141,7 +141,7 @@ Format options: Defaults to css. --jsx-single-quote Use single quotes in JSX. Defaults to false. - --parser + --parser Which parser to use. --print-width The line length where Prettier will try wrap. Defaults to 80. @@ -152,6 +152,9 @@ Format options: Change when properties in objects are quoted. Defaults to as-needed. --no-semi Do not print semicolons, except at the beginning of lines which may need them. + --single-attribute-per-line + Enforce single attribute per line in HTML, Vue and JSX. + Defaults to false. --single-quote Use single quotes instead of double quotes. Defaults to false. --tab-width Number of spaces per indentation level. @@ -216,6 +219,7 @@ Other options: --loglevel What level of logs to report. Defaults to log. + --no-plugin-search Disable plugin autoloading. --require-pragma Require either '@prettier' or '@format' to be present in the file's first docblock comment in order for it to be formatted. Defaults to false. diff --git a/docs/descriptors/powershell_powershell.md b/docs/descriptors/powershell_powershell.md index fcdaded1e54..5c9c4cd7d5b 100644 --- a/docs/descriptors/powershell_powershell.md +++ b/docs/descriptors/powershell_powershell.md @@ -4,7 +4,7 @@ ## powershell documentation -- Version in MegaLinter: **7.2.1** +- Version in MegaLinter: **7.2.2** - Visit [Official Web Site](https://github.com/PowerShell/PSScriptAnalyzer#readme){target=_blank} - See [How to configure powershell rules](https://github.com/PowerShell/PSScriptAnalyzer#explicit){target=_blank} - If custom `.powershell-psscriptanalyzer.psd1` config file is not found, [.powershell-psscriptanalyzer.psd1](https://github.com/megalinter/megalinter/tree/main/TEMPLATES/.powershell-psscriptanalyzer.psd1){target=_blank} will be used diff --git a/docs/descriptors/python_black.md b/docs/descriptors/python_black.md index 2fc6ce0288c..f70a0f04663 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, time, prun, pypy, capture, - timeit, python). Useful for formatting cells + magics (prun, capture, pypy, time, python3, + python, timeit). 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 fe203609875..8bcab861c61 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: ['E24', 'E126', 'E704', 'E226', 'W503', - 'W504', 'E123', 'E121']) + (Default: ['W504', 'E121', 'E123', 'E704', 'E226', + 'E126', 'W503', 'E24']) --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 fe37955a7c4..f4b488b7e2f 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...,quickstart,ApexUnit pmd +ApexUnitTestClassShouldHaveAsserts apex Best Practices Default ruleset...,ApexUnit,quickstart pmd ApexUnitTestMethodShouldHaveIsTestAnnotation apex Best Practices 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 +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 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 Default ruleset...,quickstart,Security pmd -ApexCRUDViolation apex Security Default ruleset...,quickstart,Security pmd +ApexBadCrypto apex Security Security,Default ruleset...,quickstart pmd +ApexCRUDViolation apex Security Security,Default ruleset...,quickstart pmd ApexCSRF apex Security Security 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 +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 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 Default ruleset...,quickstart,Style pmd +MethodNamingConventions apex Code Style Style,Default ruleset...,quickstart pmd OneDeclarationPerLine apex Code Style Default ruleset...,quickstart pmd PropertyNamingConventions apex Code Style quickstart pmd -VariableNamingConventions apex Code Style Default ruleset...,Style pmd +VariableNamingConventions apex Code Style Style,Default ruleset... pmd WhileLoopsMustUseBraces apex Code Style Default ruleset...,quickstart,Braces pmd -AvoidDeeplyNestedIfStmts apex Design Default ruleset...,quickstart,Complexity pmd -CyclomaticComplexity apex Design Default ruleset...,quickstart,Metrics tempora... pmd +AvoidDeeplyNestedIfStmts apex Design Default ruleset...,Complexity,quickstart pmd +CyclomaticComplexity apex Design Metrics tempora...,Default ruleset...,quickstart pmd CognitiveComplexity apex Design 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 +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 ApexDoc apex Documentation Default ruleset...,quickstart pmd ApexCSRF apex Error Prone Default ruleset...,quickstart pmd -AvoidDirectAccessTriggerMap apex Error Prone Default ruleset...,quickstart,Style pmd -AvoidHardcodingId apex Error Prone Default ruleset...,quickstart,Style pmd +AvoidDirectAccessTriggerMap apex Error Prone Style,Default ruleset...,quickstart pmd +AvoidHardcodingId apex Error Prone Style,Default ruleset...,quickstart 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 Default ruleset...,quickstart,Style pmd +MethodWithSameNameAsEnclosingClass apex Error Prone Style,Default ruleset...,quickstart 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 8bc74691fa9..1a9df7600e4 100644 --- a/docs/descriptors/terraform_checkov.md +++ b/docs/descriptors/terraform_checkov.md @@ -9,7 +9,7 @@ ## checkov documentation -- Version in MegaLinter: **2.0.962** +- Version in MegaLinter: **2.0.969** - 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/docs/descriptors/terraform_kics.md b/docs/descriptors/terraform_kics.md index d46cf11a27d..5b92afbeeb5 100644 --- a/docs/descriptors/terraform_kics.md +++ b/docs/descriptors/terraform_kics.md @@ -9,7 +9,7 @@ ## kics documentation -- Version in MegaLinter: **1.5.3** +- Version in MegaLinter: **1.5.4** - Visit [Official Web Site](https://www.kics.io){target=_blank} - See [How to disable kics rules in files](https://docs.kics.io/latest/running-kics/#using_commands_on_scanned_files_as_comments){target=_blank} - See [Index of problems detected by kics](https://docs.kics.io/latest/queries/all-queries/){target=_blank} diff --git a/docs/descriptors/typescript_prettier.md b/docs/descriptors/typescript_prettier.md index 26457b5978b..79061c49175 100644 --- a/docs/descriptors/typescript_prettier.md +++ b/docs/descriptors/typescript_prettier.md @@ -9,7 +9,7 @@ ## prettier documentation -- Version in MegaLinter: **2.5.1** +- Version in MegaLinter: **2.6.0** - Visit [Official Web Site](https://prettier.io/){target=_blank} - See [How to configure prettier rules](https://prettier.io/docs/en/configuration.html){target=_blank} - See [How to disable prettier rules in files](https://prettier.io/docs/en/ignore.html#javascript){target=_blank} @@ -128,7 +128,7 @@ Format options: Defaults to css. --jsx-single-quote Use single quotes in JSX. Defaults to false. - --parser + --parser Which parser to use. --print-width The line length where Prettier will try wrap. Defaults to 80. @@ -139,6 +139,9 @@ Format options: Change when properties in objects are quoted. Defaults to as-needed. --no-semi Do not print semicolons, except at the beginning of lines which may need them. + --single-attribute-per-line + Enforce single attribute per line in HTML, Vue and JSX. + Defaults to false. --single-quote Use single quotes instead of double quotes. Defaults to false. --tab-width Number of spaces per indentation level. @@ -203,6 +206,7 @@ Other options: --loglevel What level of logs to report. Defaults to log. + --no-plugin-search Disable plugin autoloading. --require-pragma Require either '@prettier' or '@format' to be present in the file's first docblock comment in order for it to be formatted. Defaults to false. diff --git a/docs/descriptors/yaml_prettier.md b/docs/descriptors/yaml_prettier.md index 1cf5455c787..a31552f7ab4 100644 --- a/docs/descriptors/yaml_prettier.md +++ b/docs/descriptors/yaml_prettier.md @@ -9,7 +9,7 @@ ## prettier documentation -- Version in MegaLinter: **2.5.1** +- Version in MegaLinter: **2.6.0** - Visit [Official Web Site](https://prettier.io/){target=_blank} - See [How to configure prettier rules](https://prettier.io/docs/en/configuration.html){target=_blank} - See [How to disable prettier rules in files](https://prettier.io/docs/en/ignore.html#yaml){target=_blank} @@ -141,7 +141,7 @@ Format options: Defaults to css. --jsx-single-quote Use single quotes in JSX. Defaults to false. - --parser + --parser Which parser to use. --print-width The line length where Prettier will try wrap. Defaults to 80. @@ -152,6 +152,9 @@ Format options: Change when properties in objects are quoted. Defaults to as-needed. --no-semi Do not print semicolons, except at the beginning of lines which may need them. + --single-attribute-per-line + Enforce single attribute per line in HTML, Vue and JSX. + Defaults to false. --single-quote Use single quotes instead of double quotes. Defaults to false. --tab-width Number of spaces per indentation level. @@ -216,6 +219,7 @@ Other options: --loglevel What level of logs to report. Defaults to log. + --no-plugin-search Disable plugin autoloading. --require-pragma Require either '@prettier' or '@format' to be present in the file's first docblock comment in order for it to be formatted. Defaults to false.