From 60604bc1a2788c31db0f5432eb812cb65bc8a39f Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Sat, 9 Apr 2022 12:16:31 +0200 Subject: [PATCH] Manage dependencies & upgrade clj-kondo & hadolint (#1396) * Bump actions/setup-python from 2 to 3.1.1 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 3.1.1. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v2...v3.1.1) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Bump actions/upload-artifact from 2 to 3 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Bump cljkondo/clj-kondo from 2022.02.09-alpine to 2022.04.08-alpine Bumps cljkondo/clj-kondo from 2022.02.09-alpine to 2022.04.08-alpine. --- updated-dependencies: - dependency-name: cljkondo/clj-kondo dependency-type: direct:production ... Signed-off-by: dependabot[bot] * Bump actions/checkout from 2.4.0 to 3.0.0 Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.0.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3.0.0) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Bump actions/stale from 4 to 5 Bumps [actions/stale](https://github.com/actions/stale) from 4 to 5. - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/stale/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/stale dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * [automation] Auto-update linters version, help and documentation * Upgrade clj-kondo and hadolint, + fix sqlfluff test case * Fix clj-kondo test case for new version Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .automation/generated/flavors-stats.json | 64 ++++ .automation/generated/linter-helps.json | 183 +++++------ .automation/generated/linter-versions.json | 14 +- .automation/generated/megalinter-users.json | 292 +++++++++--------- .automation/test/clojure/clojure_good_1.clj | 3 + .automation/test/sql/.sqlfluff | 187 +++++++++++ .github/workflows/auto-update-linters.yml | 4 +- .github/workflows/build-deploy-docs.yml | 4 +- .github/workflows/deploy-ALPHA-flavors.yml | 2 +- .github/workflows/deploy-ALPHA.yml | 2 +- .github/workflows/deploy-DEV.yml | 4 +- .github/workflows/deploy-PROD-flavors.yml | 2 +- .github/workflows/deploy-PROD.yml | 2 +- .github/workflows/deploy-RELEASE-flavors.yml | 2 +- .github/workflows/deploy-RELEASE.yml | 6 +- .github/workflows/mega-linter-for-runner.yml | 4 +- .github/workflows/mega-linter.yml | 4 +- .github/workflows/stale.yml | 2 +- .github/workflows/test-mega-linter-runner.yml | 2 +- .github/workflows/versioning.yml | 2 +- CHANGELOG.md | 7 + Dockerfile | 4 +- docs/all_linters.md | 14 +- docs/descriptors/javascript_eslint.md | 2 +- docs/descriptors/jsx_eslint.md | 2 +- docs/descriptors/puppet_puppet_lint.md | 86 +++--- docs/descriptors/python_black.md | 4 +- docs/descriptors/python_flake8.md | 4 +- docs/descriptors/ruby_rubocop.md | 2 +- docs/descriptors/rust_clippy.md | 27 +- .../salesforce_sfdx_scanner_lwc.md | 60 ++-- docs/descriptors/scala_scalafix.md | 2 +- docs/descriptors/spell_cspell.md | 2 +- docs/descriptors/sql_sqlfluff.md | 2 +- docs/descriptors/terraform_checkov.md | 2 +- docs/descriptors/terraform_terraform_fmt.md | 2 +- docs/descriptors/tsx_eslint.md | 2 +- docs/descriptors/typescript_eslint.md | 2 +- flavors/ci_light/Dockerfile | 2 +- flavors/dart/Dockerfile | 2 +- flavors/documentation/Dockerfile | 2 +- flavors/dotnet/Dockerfile | 2 +- flavors/go/Dockerfile | 2 +- flavors/java/Dockerfile | 4 +- flavors/javascript/Dockerfile | 2 +- flavors/php/Dockerfile | 2 +- flavors/python/Dockerfile | 2 +- flavors/ruby/Dockerfile | 2 +- flavors/rust/Dockerfile | 2 +- flavors/salesforce/Dockerfile | 2 +- flavors/scala/Dockerfile | 2 +- flavors/swift/Dockerfile | 2 +- flavors/terraform/Dockerfile | 2 +- .../clojure.megalinter-descriptor.yml | 3 +- .../dockerfile.megalinter-descriptor.yml | 2 +- .../descriptors/sql.megalinter-descriptor.yml | 2 + 56 files changed, 658 insertions(+), 392 deletions(-) create mode 100644 .automation/test/sql/.sqlfluff diff --git a/.automation/generated/flavors-stats.json b/.automation/generated/flavors-stats.json index cc503726b1d..7f057acebb0 100644 --- a/.automation/generated/flavors-stats.json +++ b/.automation/generated/flavors-stats.json @@ -715,6 +715,10 @@ [ "2022-04-07T01:53:15", 2478387 + ], + [ + "2022-04-09T01:50:38", + 2479648 ] ], "ci_light": [ @@ -1433,6 +1437,10 @@ [ "2022-04-07T01:53:15", 9083 + ], + [ + "2022-04-09T01:50:38", + 9123 ] ], "dart": [ @@ -2151,6 +2159,10 @@ [ "2022-04-07T01:53:15", 2557 + ], + [ + "2022-04-09T01:50:38", + 2580 ] ], "documentation": [ @@ -2869,6 +2881,10 @@ [ "2022-04-07T01:53:15", 47424 + ], + [ + "2022-04-09T01:50:38", + 47772 ] ], "dotnet": [ @@ -3587,6 +3603,10 @@ [ "2022-04-07T01:53:15", 293383 + ], + [ + "2022-04-09T01:50:38", + 293609 ] ], "go": [ @@ -4305,6 +4325,10 @@ [ "2022-04-07T01:53:15", 9565 + ], + [ + "2022-04-09T01:50:38", + 9662 ] ], "java": [ @@ -5023,6 +5047,10 @@ [ "2022-04-07T01:53:15", 69805 + ], + [ + "2022-04-09T01:50:38", + 70210 ] ], "javascript": [ @@ -5741,6 +5769,10 @@ [ "2022-04-07T01:53:15", 103537 + ], + [ + "2022-04-09T01:50:38", + 104418 ] ], "php": [ @@ -6459,6 +6491,10 @@ [ "2022-04-07T01:53:15", 5857 + ], + [ + "2022-04-09T01:50:38", + 6225 ] ], "python": [ @@ -7177,6 +7213,10 @@ [ "2022-04-07T01:53:15", 67968 + ], + [ + "2022-04-09T01:50:38", + 68244 ] ], "ruby": [ @@ -7891,6 +7931,10 @@ [ "2022-04-07T01:53:15", 2037 + ], + [ + "2022-04-09T01:50:38", + 2053 ] ], "rust": [ @@ -8605,6 +8649,10 @@ [ "2022-04-07T01:53:15", 3099 + ], + [ + "2022-04-09T01:50:38", + 3117 ] ], "salesforce": [ @@ -9323,6 +9371,10 @@ [ "2022-04-07T01:53:15", 11600 + ], + [ + "2022-04-09T01:50:38", + 11636 ] ], "scala": [ @@ -10037,6 +10089,10 @@ [ "2022-04-07T01:53:15", 1463 + ], + [ + "2022-04-09T01:50:38", + 1463 ] ], "swift": [ @@ -10751,6 +10807,10 @@ [ "2022-04-07T01:53:15", 1508 + ], + [ + "2022-04-09T01:50:38", + 1508 ] ], "terraform": [ @@ -11469,6 +11529,10 @@ [ "2022-04-07T01:53:15", 50289 + ], + [ + "2022-04-09T01:50:38", + 50846 ] ] } \ No newline at end of file diff --git a/.automation/generated/linter-helps.json b/.automation/generated/linter-helps.json index 9316548d4d4..c9120c71c1a 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 (pypy, timeit, prun, time, capture,", - " python, python3). Useful for formatting", + " magics (capture, pypy, python, python3,", + " timeit, time, prun). Useful for formatting", " cells with custom python magics.", " -S, --skip-string-normalization", " Don't normalize string quotes or prefixes.", @@ -888,18 +888,19 @@ " cargo [+toolchain] [OPTIONS] [SUBCOMMAND]", "", "OPTIONS:", - " -V, --version Print version info and exit", - " --list List installed commands", - " --explain Run `rustc --explain CODE`", - " -v, --verbose Use verbose output (-vv very verbose/build.rs output)", - " -q, --quiet Do not print cargo log messages", - " --color Coloring: auto, always, never", - " --frozen Require Cargo.lock and cache are up to date", - " --locked Require Cargo.lock is up to date", - " --offline Run without accessing the network", - " --config ... Override a configuration value (unstable)", - " -Z ... Unstable (nightly-only) flags to Cargo, see 'cargo -Z help' for details", - " -h, --help Prints help information", + " -V, --version Print version info and exit", + " --list List installed commands", + " --explain Run `rustc --explain CODE`", + " -v, --verbose Use verbose output (-vv very verbose/build.rs output)", + " -q, --quiet Do not print cargo log messages", + " --color Coloring: auto, always, never", + " --frozen Require Cargo.lock and cache are up to date", + " --locked Require Cargo.lock is up to date", + " --offline Run without accessing the network", + " --config Override a configuration value (unstable)", + " -Z Unstable (nightly-only) flags to Cargo, see 'cargo -Z help' for", + " details", + " -h, --help Print help information", "", "Some common cargo commands are (see all commands with --list):", " build, b Compile the current package", @@ -1532,8 +1533,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: ['E704', 'W503', 'E121', 'E123', 'E226',", - " 'E126', 'W504', 'E24'])", + " (Default: ['W504', 'E126', 'E121', 'E24', 'E704',", + " 'E123', 'W503', 'E226'])", " --extend-ignore errors", " Comma-separated list of errors and warnings to add to", " the list of ignored ones. For example, ``--extend-", @@ -3789,70 +3790,70 @@ " Checks:", " --only-checks CHECKS A comma separated list of checks that should be run", " --ignore-paths PATHS A comma separated list of patterns to ignore", - " --no-quoted_booleans-check Skip the quoted_booleans check.", - " --quoted_booleans-check Enable the quoted_booleans check.", + " --no-140chars-check Skip the 140chars check.", + " --no-hard_tabs-check Skip the hard_tabs check.", + " --no-80chars-check Skip the 80chars check.", + " --80chars-check Enable the 80chars check.", + " --no-arrow_alignment-check Skip the arrow_alignment check.", + " --no-2sp_soft_tabs-check Skip the 2sp_soft_tabs check.", + " --no-trailing_whitespace-check", + " Skip the trailing_whitespace check.", + " --no-slash_comments-check Skip the slash_comments check.", + " --no-star_comments-check Skip the star_comments check.", + " --no-documentation-check Skip the documentation check.", + " --no-selector_inside_resource-check", + " Skip the selector_inside_resource check.", + " --no-case_without_default-check", + " Skip the case_without_default check.", + " --no-unquoted_node_name-check", + " Skip the unquoted_node_name check.", + " --no-ensure_first_param-check", + " Skip the ensure_first_param check.", + " --no-unquoted_file_mode-check", + " Skip the unquoted_file_mode check.", + " --no-unquoted_resource_title-check", + " Skip the unquoted_resource_title check.", + " --no-file_mode-check Skip the file_mode check.", + " --no-ensure_not_symlink_target-check", + " Skip the ensure_not_symlink_target check.", + " --no-duplicate_params-check Skip the duplicate_params check.", + " --no-variables_not_enclosed-check", + " Skip the variables_not_enclosed check.", " --no-double_quoted_strings-check", " Skip the double_quoted_strings check.", + " --no-only_variable_string-check", + " Skip the only_variable_string check.", " --no-single_quote_string_with_variables-check", " Skip the single_quote_string_with_variables check.", " --no-puppet_url_without_modules-check", " Skip the puppet_url_without_modules check.", - " --no-only_variable_string-check", - " Skip the only_variable_string check.", - " --no-variables_not_enclosed-check", - " Skip the variables_not_enclosed check.", - " --no-variable_is_lowercase-check", - " Skip the variable_is_lowercase check.", + " --no-quoted_booleans-check Skip the quoted_booleans check.", + " --quoted_booleans-check Enable the quoted_booleans check.", " --no-variable_contains_dash-check", " Skip the variable_contains_dash check.", - " --no-variable_scope-check Skip the variable_scope check.", - " --no-code_on_top_scope-check Skip the code_on_top_scope check.", - " --code_on_top_scope-check Enable the code_on_top_scope check.", + " --no-variable_is_lowercase-check", + " Skip the variable_is_lowercase check.", + " --no-nested_classes_or_defines-check", + " Skip the nested_classes_or_defines check.", + " --no-arrow_on_right_operand_line-check", + " Skip the arrow_on_right_operand_line check.", " --no-names_containing_uppercase-check", " Skip the names_containing_uppercase check.", " --no-inherits_across_namespaces-check", " Skip the inherits_across_namespaces check.", " --no-names_containing_dash-check", " Skip the names_containing_dash check.", - " --no-nested_classes_or_defines-check", - " Skip the nested_classes_or_defines check.", - " --no-autoloader_layout-check Skip the autoloader_layout check.", - " --no-arrow_on_right_operand_line-check", - " Skip the arrow_on_right_operand_line check.", + " --no-code_on_top_scope-check Skip the code_on_top_scope check.", + " --code_on_top_scope-check Enable the code_on_top_scope check.", " --no-class_inherits_from_params_class-check", " Skip the class_inherits_from_params_class check.", " --class_inherits_from_params_class-check", " Enable the class_inherits_from_params_class check.", + " --no-autoloader_layout-check Skip the autoloader_layout check.", + " --no-variable_scope-check Skip the variable_scope check.", " --no-right_to_left_relationship-check", " Skip the right_to_left_relationship check.", - " --no-parameter_order-check Skip the parameter_order check.", - " --no-ensure_not_symlink_target-check", - " Skip the ensure_not_symlink_target check.", - " --no-unquoted_resource_title-check", - " Skip the unquoted_resource_title check.", - " --no-duplicate_params-check Skip the duplicate_params check.", - " --no-unquoted_file_mode-check", - " Skip the unquoted_file_mode check.", - " --no-ensure_first_param-check", - " Skip the ensure_first_param check.", - " --no-file_mode-check Skip the file_mode check.", - " --no-star_comments-check Skip the star_comments check.", - " --no-slash_comments-check Skip the slash_comments check.", - " --no-documentation-check Skip the documentation check.", - " --no-unquoted_node_name-check", - " Skip the unquoted_node_name check.", - " --no-selector_inside_resource-check", - " Skip the selector_inside_resource check.", - " --no-case_without_default-check", - " Skip the case_without_default check.", - " --no-2sp_soft_tabs-check Skip the 2sp_soft_tabs check.", - " --no-trailing_whitespace-check", - " Skip the trailing_whitespace check.", - " --no-80chars-check Skip the 80chars check.", - " --80chars-check Enable the 80chars check.", - " --no-arrow_alignment-check Skip the arrow_alignment check.", - " --no-140chars-check Skip the 140chars check.", - " --no-hard_tabs-check Skip the hard_tabs check." + " --no-parameter_order-check Skip the parameter_order check." ], "pylint": [ "Usage: pylint [options]", @@ -4365,7 +4366,7 @@ " -V, --verbose-version Display verbose version." ], "scalafix": [ - "Scalafix 0.10.0-RC1", + "Scalafix 0.10.0", "Usage: scalafix [options] [ ...]", "", "Scalafix is a refactoring and linting tool. Scalafix supports both syntactic and", @@ -5678,11 +5679,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", @@ -5691,18 +5692,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", @@ -5710,26 +5711,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", @@ -5737,7 +5738,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 be80d8c377d..2460be88e07 100644 --- a/.automation/generated/linter-versions.json +++ b/.automation/generated/linter-versions.json @@ -6,20 +6,20 @@ "bash-exec": "5.1.16", "black": "22.3.0", "cfn-lint": "0.58.4", - "checkov": "2.0.1037", + "checkov": "2.0.1045", "checkstyle": "10.1", "chktex": "1.7.6", - "clippy": "0.1.59", + "clippy": "0.1.60", "clj-kondo": "2022.02.09", "coffeelint": "5.2.5", "cpplint": "1.6.0", - "cspell": "5.19.5", + "cspell": "5.19.6", "dartanalyzer": "0.0.0", "dockerfilelint": "1.8.0", "dotenv-linter": "3.2.0", "dotnet-format": "000", "editorconfig-checker": "2.3.5", - "eslint": "8.12.0", + "eslint": "8.13.0", "eslint-plugin-jsonc": "2.2.1", "flake8": "4.0.1", "gherkin-lint": "0.0.0", @@ -60,7 +60,7 @@ "rst-lint": "1.4.0", "rstcheck": "3.3.1", "rstfmt": "0.0.10", - "rubocop": "1.26.1", + "rubocop": "1.27.0", "scalafix": "0.10.0", "scss-lint": "0.59.0", "secretlint": "4.1.0", @@ -74,12 +74,12 @@ "snakemake": "7.3.8", "spectral": "5.6.0", "sql-lint": "0.0.19", - "sqlfluff": "0.11.2", + "sqlfluff": "0.12.0", "standard": "15.0.1", "stylelint": "14.6.1", "swiftlint": "0.46.5", "tekton-lint": "0.6.0", - "terraform-fmt": "1.1.7", + "terraform-fmt": "1.1.8", "terragrunt": "0.36.6", "terrascan": "1.14.0", "tflint": "0.34.1", diff --git a/.automation/generated/megalinter-users.json b/.automation/generated/megalinter-users.json index 42319165135..89db73d7bc9 100644 --- a/.automation/generated/megalinter-users.json +++ b/.automation/generated/megalinter-users.json @@ -23,8 +23,8 @@ "downloads_url": "https://api.github.com/repos/nektos/act/downloads", "events_url": "https://api.github.com/repos/nektos/act/events", "fork": false, - "forks": 610, - "forks_count": 610, + "forks": 612, + "forks_count": 612, "forks_url": "https://api.github.com/repos/nektos/act/forks", "full_name": "nektos/act", "git_commits_url": "https://api.github.com/repos/nektos/act/git/commits{/sha}", @@ -59,11 +59,11 @@ "milestones_url": "https://api.github.com/repos/nektos/act/milestones{/number}", "mirror_url": null, "name": "act", - "network_count": 610, + "network_count": 612, "node_id": "MDEwOlJlcG9zaXRvcnkxNjM4ODMyNzk=", "notifications_url": "https://api.github.com/repos/nektos/act/notifications{?since,all,participating}", - "open_issues": 73, - "open_issues_count": 73, + "open_issues": 72, + "open_issues_count": 72, "organization": { "avatar_url": "https://avatars.githubusercontent.com/u/3813618?v=4", "events_url": "https://api.github.com/users/nektos/events{/privacy}", @@ -106,14 +106,14 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/nektos/act/pulls{/number}", - "pushed_at": "2022-04-06T14:48:51Z", + "pushed_at": "2022-04-08T10:20:37Z", "releases_url": "https://api.github.com/repos/nektos/act/releases{/id}", - "size": 6399, + "size": 6422, "ssh_url": "git@github.com:nektos/act.git", - "stargazers_count": 23017, + "stargazers_count": 23101, "stargazers_url": "https://api.github.com/repos/nektos/act/stargazers", "statuses_url": "https://api.github.com/repos/nektos/act/statuses/{sha}", - "subscribers_count": 106, + "subscribers_count": 109, "subscribers_url": "https://api.github.com/repos/nektos/act/subscribers", "subscription_url": "https://api.github.com/repos/nektos/act/subscription", "svn_url": "https://github.com/nektos/act", @@ -127,14 +127,14 @@ "golang" ], "trees_url": "https://api.github.com/repos/nektos/act/git/trees{/sha}", - "updated_at": "2022-04-07T01:42:50Z", + "updated_at": "2022-04-09T00:48:04Z", "url": "https://api.github.com/repos/nektos/act", "visibility": "public", - "watchers": 23017, - "watchers_count": 23017 + "watchers": 23101, + "watchers_count": 23101 }, "repo_url": "https://github.com/nektos/act", - "stargazers": 23017 + "stargazers": 23101 }, { "info": { @@ -226,7 +226,7 @@ "releases_url": "https://api.github.com/repos/stepancheg/rust-protobuf/releases{/id}", "size": 57125, "ssh_url": "git@github.com:stepancheg/rust-protobuf.git", - "stargazers_count": 1964, + "stargazers_count": 1966, "stargazers_url": "https://api.github.com/repos/stepancheg/rust-protobuf/stargazers", "statuses_url": "https://api.github.com/repos/stepancheg/rust-protobuf/statuses/{sha}", "subscribers_count": 19, @@ -242,14 +242,14 @@ "serialization" ], "trees_url": "https://api.github.com/repos/stepancheg/rust-protobuf/git/trees{/sha}", - "updated_at": "2022-04-05T00:20:44Z", + "updated_at": "2022-04-08T09:28:34Z", "url": "https://api.github.com/repos/stepancheg/rust-protobuf", "visibility": "public", - "watchers": 1964, - "watchers_count": 1964 + "watchers": 1966, + "watchers_count": 1966 }, "repo_url": "https://github.com/stepancheg/rust-protobuf", - "stargazers": 1964 + "stargazers": 1966 }, { "info": { @@ -431,8 +431,8 @@ "network_count": 86, "node_id": "MDEwOlJlcG9zaXRvcnkzMDQ4MzAyMjY=", "notifications_url": "https://api.github.com/repos/megalinter/megalinter/notifications{?since,all,participating}", - "open_issues": 25, - "open_issues_count": 25, + "open_issues": 29, + "open_issues_count": 29, "organization": { "avatar_url": "https://avatars.githubusercontent.com/u/76904213?v=4", "events_url": "https://api.github.com/users/megalinter/events{/privacy}", @@ -475,11 +475,11 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/megalinter/megalinter/pulls{/number}", - "pushed_at": "2022-04-06T05:41:49Z", + "pushed_at": "2022-04-08T15:23:37Z", "releases_url": "https://api.github.com/repos/megalinter/megalinter/releases{/id}", - "size": 111585, + "size": 112168, "ssh_url": "git@github.com:megalinter/megalinter.git", - "stargazers_count": 572, + "stargazers_count": 574, "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-05T21:33:42Z", + "updated_at": "2022-04-08T02:31:53Z", "url": "https://api.github.com/repos/megalinter/megalinter", "visibility": "public", - "watchers": 572, - "watchers_count": 572 + "watchers": 574, + "watchers_count": 574 }, "repo_url": "https://github.com/megalinter/megalinter", - "stargazers": 572 + "stargazers": 574 }, { "info": { @@ -606,11 +606,11 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/unixorn/zsh-quickstart-kit/pulls{/number}", - "pushed_at": "2022-03-24T01:54:24Z", + "pushed_at": "2022-04-07T14:43:58Z", "releases_url": "https://api.github.com/repos/unixorn/zsh-quickstart-kit/releases{/id}", - "size": 428, + "size": 439, "ssh_url": "git@github.com:unixorn/zsh-quickstart-kit.git", - "stargazers_count": 524, + "stargazers_count": 525, "stargazers_url": "https://api.github.com/repos/unixorn/zsh-quickstart-kit/stargazers", "statuses_url": "https://api.github.com/repos/unixorn/zsh-quickstart-kit/statuses/{sha}", "subscribers_count": 13, @@ -637,14 +637,14 @@ "zshrc-enhancements" ], "trees_url": "https://api.github.com/repos/unixorn/zsh-quickstart-kit/git/trees{/sha}", - "updated_at": "2022-04-04T08:58:33Z", + "updated_at": "2022-04-08T16:38:27Z", "url": "https://api.github.com/repos/unixorn/zsh-quickstart-kit", "visibility": "public", - "watchers": 524, - "watchers_count": 524 + "watchers": 525, + "watchers_count": 525 }, "repo_url": "https://github.com/unixorn/zsh-quickstart-kit", - "stargazers": 524 + "stargazers": 525 }, { "info": { @@ -708,8 +708,8 @@ "network_count": 77, "node_id": "MDEwOlJlcG9zaXRvcnkyMzA5OTk4MjY=", "notifications_url": "https://api.github.com/repos/onedr0p/home-ops/notifications{?since,all,participating}", - "open_issues": 8, - "open_issues_count": 8, + "open_issues": 19, + "open_issues_count": 19, "owner": { "avatar_url": "https://avatars.githubusercontent.com/u/213795?v=4", "events_url": "https://api.github.com/users/onedr0p/events{/privacy}", @@ -732,11 +732,11 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/onedr0p/home-ops/pulls{/number}", - "pushed_at": "2022-04-07T00:10:09Z", + "pushed_at": "2022-04-09T01:32:02Z", "releases_url": "https://api.github.com/repos/onedr0p/home-ops/releases{/id}", - "size": 22663, + "size": 22700, "ssh_url": "git@github.com:onedr0p/home-ops.git", - "stargazers_count": 474, + "stargazers_count": 477, "stargazers_url": "https://api.github.com/repos/onedr0p/home-ops/stargazers", "statuses_url": "https://api.github.com/repos/onedr0p/home-ops/statuses/{sha}", "subscribers_count": 11, @@ -758,14 +758,14 @@ "terraform" ], "trees_url": "https://api.github.com/repos/onedr0p/home-ops/git/trees{/sha}", - "updated_at": "2022-04-05T19:04:23Z", + "updated_at": "2022-04-08T07:29:05Z", "url": "https://api.github.com/repos/onedr0p/home-ops", "visibility": "public", - "watchers": 474, - "watchers_count": 474 + "watchers": 477, + "watchers_count": 477 }, "repo_url": "https://github.com/onedr0p/home-ops", - "stargazers": 474 + "stargazers": 477 }, { "info": { @@ -790,8 +790,8 @@ "downloads_url": "https://api.github.com/repos/practicalli/clojure-deps-edn/downloads", "events_url": "https://api.github.com/repos/practicalli/clojure-deps-edn/events", "fork": false, - "forks": 474, - "forks_count": 474, + "forks": 473, + "forks_count": 473, "forks_url": "https://api.github.com/repos/practicalli/clojure-deps-edn/forks", "full_name": "practicalli/clojure-deps-edn", "git_commits_url": "https://api.github.com/repos/practicalli/clojure-deps-edn/git/commits{/sha}", @@ -820,7 +820,7 @@ "milestones_url": "https://api.github.com/repos/practicalli/clojure-deps-edn/milestones{/number}", "mirror_url": null, "name": "clojure-deps-edn", - "network_count": 474, + "network_count": 473, "node_id": "MDEwOlJlcG9zaXRvcnkyODM3MjYwNTI=", "notifications_url": "https://api.github.com/repos/practicalli/clojure-deps-edn/notifications{?since,all,participating}", "open_issues": 1, @@ -871,7 +871,7 @@ "releases_url": "https://api.github.com/repos/practicalli/clojure-deps-edn/releases{/id}", "size": 818, "ssh_url": "git@github.com:practicalli/clojure-deps-edn.git", - "stargazers_count": 357, + "stargazers_count": 358, "stargazers_url": "https://api.github.com/repos/practicalli/clojure-deps-edn/stargazers", "statuses_url": "https://api.github.com/repos/practicalli/clojure-deps-edn/statuses/{sha}", "subscribers_count": 10, @@ -887,14 +887,14 @@ "deps-edn" ], "trees_url": "https://api.github.com/repos/practicalli/clojure-deps-edn/git/trees{/sha}", - "updated_at": "2022-03-29T07:13:45Z", + "updated_at": "2022-04-07T09:11:29Z", "url": "https://api.github.com/repos/practicalli/clojure-deps-edn", "visibility": "public", - "watchers": 357, - "watchers_count": 357 + "watchers": 358, + "watchers_count": 358 }, "repo_url": "https://github.com/practicalli/clojure-deps-edn", - "stargazers": 357 + "stargazers": 358 }, { "info": { @@ -982,9 +982,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/llaville/php-compatinfo/pulls{/number}", - "pushed_at": "2022-04-06T10:32:41Z", + "pushed_at": "2022-04-07T10:55:11Z", "releases_url": "https://api.github.com/repos/llaville/php-compatinfo/releases{/id}", - "size": 11063, + "size": 11033, "ssh_url": "git@github.com:llaville/php-compatinfo.git", "stargazers_count": 352, "stargazers_url": "https://api.github.com/repos/llaville/php-compatinfo/stargazers", @@ -1033,8 +1033,8 @@ "downloads_url": "https://api.github.com/repos/KelvinTegelaar/CIPP/downloads", "events_url": "https://api.github.com/repos/KelvinTegelaar/CIPP/events", "fork": false, - "forks": 769, - "forks_count": 769, + "forks": 778, + "forks_count": 778, "forks_url": "https://api.github.com/repos/KelvinTegelaar/CIPP/forks", "full_name": "KelvinTegelaar/CIPP", "git_commits_url": "https://api.github.com/repos/KelvinTegelaar/CIPP/git/commits{/sha}", @@ -1069,11 +1069,11 @@ "milestones_url": "https://api.github.com/repos/KelvinTegelaar/CIPP/milestones{/number}", "mirror_url": null, "name": "CIPP", - "network_count": 769, + "network_count": 778, "node_id": "R_kgDOGNiHEA", "notifications_url": "https://api.github.com/repos/KelvinTegelaar/CIPP/notifications{?since,all,participating}", - "open_issues": 9, - "open_issues_count": 9, + "open_issues": 7, + "open_issues_count": 7, "owner": { "avatar_url": "https://avatars.githubusercontent.com/u/49186168?v=4", "events_url": "https://api.github.com/users/KelvinTegelaar/events{/privacy}", @@ -1096,14 +1096,14 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/KelvinTegelaar/CIPP/pulls{/number}", - "pushed_at": "2022-04-06T15:14:55Z", + "pushed_at": "2022-04-08T12:05:55Z", "releases_url": "https://api.github.com/repos/KelvinTegelaar/CIPP/releases{/id}", - "size": 44842, + "size": 45439, "ssh_url": "git@github.com:KelvinTegelaar/CIPP.git", - "stargazers_count": 320, + "stargazers_count": 321, "stargazers_url": "https://api.github.com/repos/KelvinTegelaar/CIPP/stargazers", "statuses_url": "https://api.github.com/repos/KelvinTegelaar/CIPP/statuses/{sha}", - "subscribers_count": 19, + "subscribers_count": 20, "subscribers_url": "https://api.github.com/repos/KelvinTegelaar/CIPP/subscribers", "subscription_url": "https://api.github.com/repos/KelvinTegelaar/CIPP/subscription", "svn_url": "https://github.com/KelvinTegelaar/CIPP", @@ -1112,14 +1112,14 @@ "temp_clone_token": null, "topics": [], "trees_url": "https://api.github.com/repos/KelvinTegelaar/CIPP/git/trees{/sha}", - "updated_at": "2022-04-06T14:34:46Z", + "updated_at": "2022-04-07T15:56:48Z", "url": "https://api.github.com/repos/KelvinTegelaar/CIPP", "visibility": "public", - "watchers": 320, - "watchers_count": 320 + "watchers": 321, + "watchers_count": 321 }, "repo_url": "https://github.com/KelvinTegelaar/CIPP", - "stargazers": 320 + "stargazers": 321 }, { "info": { @@ -1183,8 +1183,8 @@ "network_count": 17, "node_id": "MDEwOlJlcG9zaXRvcnkyODc1MDA0NTY=", "notifications_url": "https://api.github.com/repos/bjw-s/home-ops/notifications{?since,all,participating}", - "open_issues": 4, - "open_issues_count": 4, + "open_issues": 3, + "open_issues_count": 3, "owner": { "avatar_url": "https://avatars.githubusercontent.com/u/6213398?v=4", "events_url": "https://api.github.com/users/bjw-s/events{/privacy}", @@ -1207,9 +1207,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/bjw-s/home-ops/pulls{/number}", - "pushed_at": "2022-04-07T00:21:56Z", + "pushed_at": "2022-04-09T01:34:08Z", "releases_url": "https://api.github.com/repos/bjw-s/home-ops/releases{/id}", - "size": 29157, + "size": 29199, "ssh_url": "git@github.com:bjw-s/home-ops.git", "stargazers_count": 122, "stargazers_url": "https://api.github.com/repos/bjw-s/home-ops/stargazers", @@ -1324,9 +1324,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/unixorn/tumult.plugin.zsh/pulls{/number}", - "pushed_at": "2022-04-05T15:46:17Z", + "pushed_at": "2022-04-07T14:57:00Z", "releases_url": "https://api.github.com/repos/unixorn/tumult.plugin.zsh/releases{/id}", - "size": 370, + "size": 371, "ssh_url": "git@github.com:unixorn/tumult.plugin.zsh.git", "stargazers_count": 121, "stargazers_url": "https://api.github.com/repos/unixorn/tumult.plugin.zsh/stargazers", @@ -1420,8 +1420,8 @@ "network_count": 56, "node_id": "MDEwOlJlcG9zaXRvcnk0NjEyMjQ2MA==", "notifications_url": "https://api.github.com/repos/newrelic/newrelic-python-agent/notifications{?since,all,participating}", - "open_issues": 30, - "open_issues_count": 30, + "open_issues": 31, + "open_issues_count": 31, "organization": { "avatar_url": "https://avatars.githubusercontent.com/u/31739?v=4", "events_url": "https://api.github.com/users/newrelic/events{/privacy}", @@ -1583,7 +1583,7 @@ "releases_url": "https://api.github.com/repos/nvuillam/npm-groovy-lint/releases{/id}", "size": 73705, "ssh_url": "git@github.com:nvuillam/npm-groovy-lint.git", - "stargazers_count": 96, + "stargazers_count": 98, "stargazers_url": "https://api.github.com/repos/nvuillam/npm-groovy-lint/stargazers", "statuses_url": "https://api.github.com/repos/nvuillam/npm-groovy-lint/statuses/{sha}", "subscribers_count": 2, @@ -1603,14 +1603,14 @@ "linter" ], "trees_url": "https://api.github.com/repos/nvuillam/npm-groovy-lint/git/trees{/sha}", - "updated_at": "2022-03-28T10:25:15Z", + "updated_at": "2022-04-08T08:56:01Z", "url": "https://api.github.com/repos/nvuillam/npm-groovy-lint", "visibility": "public", - "watchers": 96, - "watchers_count": 96 + "watchers": 98, + "watchers_count": 98 }, "repo_url": "https://github.com/nvuillam/npm-groovy-lint", - "stargazers": 96 + "stargazers": 98 }, { "info": { @@ -1712,9 +1712,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/practicalli/spacemacs/pulls{/number}", - "pushed_at": "2022-04-06T19:55:08Z", + "pushed_at": "2022-04-07T16:21:21Z", "releases_url": "https://api.github.com/repos/practicalli/spacemacs/releases{/id}", - "size": 78365, + "size": 80191, "ssh_url": "git@github.com:practicalli/spacemacs.git", "stargazers_count": 82, "stargazers_url": "https://api.github.com/repos/practicalli/spacemacs/stargazers", @@ -1842,9 +1842,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/practicalli/spacemacs/pulls{/number}", - "pushed_at": "2022-04-06T19:55:08Z", + "pushed_at": "2022-04-07T16:21:21Z", "releases_url": "https://api.github.com/repos/practicalli/spacemacs/releases{/id}", - "size": 78365, + "size": 80191, "ssh_url": "git@github.com:practicalli/spacemacs.git", "stargazers_count": 82, "stargazers_url": "https://api.github.com/repos/practicalli/spacemacs/stargazers", @@ -1908,7 +1908,7 @@ "has_pages": false, "has_projects": false, "has_wiki": true, - "homepage": "", + "homepage": "https://wallet.oasisprotocol.org", "hooks_url": "https://api.github.com/repos/oasisprotocol/oasis-wallet-web/hooks", "html_url": "https://github.com/oasisprotocol/oasis-wallet-web", "id": 359634377, @@ -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": 56, - "open_issues_count": 56, + "open_issues": 59, + "open_issues_count": 59, "organization": { "avatar_url": "https://avatars.githubusercontent.com/u/52803776?v=4", "events_url": "https://api.github.com/users/oasisprotocol/events{/privacy}", @@ -1978,9 +1978,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/oasisprotocol/oasis-wallet-web/pulls{/number}", - "pushed_at": "2022-04-06T19:36:27Z", + "pushed_at": "2022-04-08T19:47:40Z", "releases_url": "https://api.github.com/repos/oasisprotocol/oasis-wallet-web/releases{/id}", - "size": 7156, + "size": 7716, "ssh_url": "git@github.com:oasisprotocol/oasis-wallet-web.git", "stargazers_count": 66, "stargazers_url": "https://api.github.com/repos/oasisprotocol/oasis-wallet-web/stargazers", @@ -2006,7 +2006,7 @@ "web" ], "trees_url": "https://api.github.com/repos/oasisprotocol/oasis-wallet-web/git/trees{/sha}", - "updated_at": "2022-04-04T00:24:50Z", + "updated_at": "2022-04-08T16:46:58Z", "url": "https://api.github.com/repos/oasisprotocol/oasis-wallet-web", "visibility": "public", "watchers": 66, @@ -2101,9 +2101,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/rasa/scoops/pulls{/number}", - "pushed_at": "2022-03-30T13:08:07Z", + "pushed_at": "2022-04-08T01:28:41Z", "releases_url": "https://api.github.com/repos/rasa/scoops/releases{/id}", - "size": 1025, + "size": 1033, "ssh_url": "git@github.com:rasa/scoops.git", "stargazers_count": 58, "stargazers_url": "https://api.github.com/repos/rasa/scoops/stargazers", @@ -2719,7 +2719,7 @@ "releases_url": "https://api.github.com/repos/nvuillam/sfdx-essentials/releases{/id}", "size": 3419, "ssh_url": "git@github.com:nvuillam/sfdx-essentials.git", - "stargazers_count": 40, + "stargazers_count": 41, "stargazers_url": "https://api.github.com/repos/nvuillam/sfdx-essentials/stargazers", "statuses_url": "https://api.github.com/repos/nvuillam/sfdx-essentials/statuses/{sha}", "subscribers_count": 7, @@ -2736,14 +2736,14 @@ "sfdx" ], "trees_url": "https://api.github.com/repos/nvuillam/sfdx-essentials/git/trees{/sha}", - "updated_at": "2022-01-03T23:02:49Z", + "updated_at": "2022-04-08T09:16:03Z", "url": "https://api.github.com/repos/nvuillam/sfdx-essentials", "visibility": "public", - "watchers": 40, - "watchers_count": 40 + "watchers": 41, + "watchers_count": 41 }, "repo_url": "https://github.com/nvuillam/sfdx-essentials", - "stargazers": 40 + "stargazers": 41 }, { "info": { @@ -2801,8 +2801,8 @@ "network_count": 16, "node_id": "MDEwOlJlcG9zaXRvcnk1NzI2MjkxNQ==", "notifications_url": "https://api.github.com/repos/practicalli/clojure/notifications{?since,all,participating}", - "open_issues": 350, - "open_issues_count": 350, + "open_issues": 351, + "open_issues_count": 351, "organization": { "avatar_url": "https://avatars.githubusercontent.com/u/8628530?v=4", "events_url": "https://api.github.com/users/practicalli/events{/privacy}", @@ -3409,8 +3409,8 @@ "network_count": 6, "node_id": "MDEwOlJlcG9zaXRvcnkzMzI5MDU3MDI=", "notifications_url": "https://api.github.com/repos/hardisgroupcom/sfdx-hardis/notifications{?since,all,participating}", - "open_issues": 10, - "open_issues_count": 10, + "open_issues": 11, + "open_issues_count": 11, "organization": { "avatar_url": "https://avatars.githubusercontent.com/u/22538326?v=4", "events_url": "https://api.github.com/users/hardisgroupcom/events{/privacy}", @@ -3453,9 +3453,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/hardisgroupcom/sfdx-hardis/pulls{/number}", - "pushed_at": "2022-04-05T21:04:32Z", + "pushed_at": "2022-04-08T16:17:54Z", "releases_url": "https://api.github.com/repos/hardisgroupcom/sfdx-hardis/releases{/id}", - "size": 6403, + "size": 6675, "ssh_url": "git@github.com:hardisgroupcom/sfdx-hardis.git", "stargazers_count": 20, "stargazers_url": "https://api.github.com/repos/hardisgroupcom/sfdx-hardis/stargazers", @@ -3478,7 +3478,7 @@ "sfdx" ], "trees_url": "https://api.github.com/repos/hardisgroupcom/sfdx-hardis/git/trees{/sha}", - "updated_at": "2022-03-24T15:55:40Z", + "updated_at": "2022-04-08T07:48:27Z", "url": "https://api.github.com/repos/hardisgroupcom/sfdx-hardis", "visibility": "public", "watchers": 20, @@ -3549,8 +3549,8 @@ "network_count": 8, "node_id": "MDEwOlJlcG9zaXRvcnkzNDc3NzIyMzQ=", "notifications_url": "https://api.github.com/repos/GrandMoff100/HomeAssistantAPI/notifications{?since,all,participating}", - "open_issues": 3, - "open_issues_count": 3, + "open_issues": 2, + "open_issues_count": 2, "owner": { "avatar_url": "https://avatars.githubusercontent.com/u/51765903?v=4", "events_url": "https://api.github.com/users/GrandMoff100/events{/privacy}", @@ -3573,9 +3573,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/GrandMoff100/HomeAssistantAPI/pulls{/number}", - "pushed_at": "2022-04-06T14:47:57Z", + "pushed_at": "2022-04-07T16:11:14Z", "releases_url": "https://api.github.com/repos/GrandMoff100/HomeAssistantAPI/releases{/id}", - "size": 1122, + "size": 1135, "ssh_url": "git@github.com:GrandMoff100/HomeAssistantAPI.git", "stargazers_count": 17, "stargazers_url": "https://api.github.com/repos/GrandMoff100/HomeAssistantAPI/stargazers", @@ -3669,8 +3669,8 @@ "network_count": 1, "node_id": "MDEwOlJlcG9zaXRvcnkzOTE3NjkwNDE=", "notifications_url": "https://api.github.com/repos/jr0dd/home-ops/notifications{?since,all,participating}", - "open_issues": 3, - "open_issues_count": 3, + "open_issues": 8, + "open_issues_count": 8, "owner": { "avatar_url": "https://avatars.githubusercontent.com/u/285797?v=4", "events_url": "https://api.github.com/users/jr0dd/events{/privacy}", @@ -3693,9 +3693,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/jr0dd/home-ops/pulls{/number}", - "pushed_at": "2022-04-07T01:09:38Z", + "pushed_at": "2022-04-09T01:06:29Z", "releases_url": "https://api.github.com/repos/jr0dd/home-ops/releases{/id}", - "size": 3951, + "size": 3964, "ssh_url": "git@github.com:jr0dd/home-ops.git", "stargazers_count": 17, "stargazers_url": "https://api.github.com/repos/jr0dd/home-ops/stargazers", @@ -3750,8 +3750,8 @@ "downloads_url": "https://api.github.com/repos/rwaltr/infra/downloads", "events_url": "https://api.github.com/repos/rwaltr/infra/events", "fork": false, - "forks": 1, - "forks_count": 1, + "forks": 0, + "forks_count": 0, "forks_url": "https://api.github.com/repos/rwaltr/infra/forks", "full_name": "rwaltr/infra", "git_commits_url": "https://api.github.com/repos/rwaltr/infra/git/commits{/sha}", @@ -3780,7 +3780,7 @@ "milestones_url": "https://api.github.com/repos/rwaltr/infra/milestones{/number}", "mirror_url": null, "name": "infra", - "network_count": 1, + "network_count": 0, "node_id": "MDEwOlJlcG9zaXRvcnkzNzYxOTIyODE=", "notifications_url": "https://api.github.com/repos/rwaltr/infra/notifications{?since,all,participating}", "open_issues": 9, @@ -3807,11 +3807,11 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/rwaltr/infra/pulls{/number}", - "pushed_at": "2022-04-07T01:03:46Z", + "pushed_at": "2022-04-08T20:15:39Z", "releases_url": "https://api.github.com/repos/rwaltr/infra/releases{/id}", - "size": 1493, + "size": 1496, "ssh_url": "git@github.com:rwaltr/infra.git", - "stargazers_count": 16, + "stargazers_count": 17, "stargazers_url": "https://api.github.com/repos/rwaltr/infra/stargazers", "statuses_url": "https://api.github.com/repos/rwaltr/infra/statuses/{sha}", "subscribers_count": 2, @@ -3832,14 +3832,14 @@ "terraform" ], "trees_url": "https://api.github.com/repos/rwaltr/infra/git/trees{/sha}", - "updated_at": "2022-04-06T09:03:30Z", + "updated_at": "2022-04-08T00:54:30Z", "url": "https://api.github.com/repos/rwaltr/infra", "visibility": "public", - "watchers": 16, - "watchers_count": 16 + "watchers": 17, + "watchers_count": 17 }, "repo_url": "https://github.com/rwaltr/infra", - "stargazers": 16 + "stargazers": 17 }, { "info": { @@ -3947,11 +3947,11 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/hardisgroupcom/vscode-sfdx-hardis/pulls{/number}", - "pushed_at": "2022-04-04T20:57:58Z", + "pushed_at": "2022-04-08T05:50:40Z", "releases_url": "https://api.github.com/repos/hardisgroupcom/vscode-sfdx-hardis/releases{/id}", - "size": 1289, + "size": 1305, "ssh_url": "git@github.com:hardisgroupcom/vscode-sfdx-hardis.git", - "stargazers_count": 13, + "stargazers_count": 14, "stargazers_url": "https://api.github.com/repos/hardisgroupcom/vscode-sfdx-hardis/stargazers", "statuses_url": "https://api.github.com/repos/hardisgroupcom/vscode-sfdx-hardis/statuses/{sha}", "subscribers_count": 5, @@ -3971,14 +3971,14 @@ "vscode" ], "trees_url": "https://api.github.com/repos/hardisgroupcom/vscode-sfdx-hardis/git/trees{/sha}", - "updated_at": "2022-03-24T15:55:36Z", + "updated_at": "2022-04-08T04:35:56Z", "url": "https://api.github.com/repos/hardisgroupcom/vscode-sfdx-hardis", "visibility": "public", - "watchers": 13, - "watchers_count": 13 + "watchers": 14, + "watchers_count": 14 }, "repo_url": "https://github.com/hardisgroupcom/vscode-sfdx-hardis", - "stargazers": 13 + "stargazers": 14 }, { "info": { @@ -4042,8 +4042,8 @@ "network_count": 4, "node_id": "MDEwOlJlcG9zaXRvcnkzNjM5OTQ2ODM=", "notifications_url": "https://api.github.com/repos/GSA/usagov-benefits-eligibility/notifications{?since,all,participating}", - "open_issues": 65, - "open_issues_count": 65, + "open_issues": 66, + "open_issues_count": 66, "organization": { "avatar_url": "https://avatars.githubusercontent.com/u/643070?v=4", "events_url": "https://api.github.com/users/GSA/events{/privacy}", @@ -4086,9 +4086,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/GSA/usagov-benefits-eligibility/pulls{/number}", - "pushed_at": "2022-04-06T21:20:30Z", + "pushed_at": "2022-04-08T20:42:34Z", "releases_url": "https://api.github.com/repos/GSA/usagov-benefits-eligibility/releases{/id}", - "size": 8859, + "size": 9223, "ssh_url": "git@github.com:GSA/usagov-benefits-eligibility.git", "stargazers_count": 13, "stargazers_url": "https://api.github.com/repos/GSA/usagov-benefits-eligibility/stargazers", @@ -4439,7 +4439,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/jokay/docker-ccu-historian/pulls{/number}", - "pushed_at": "2022-04-06T22:51:02Z", + "pushed_at": "2022-04-08T22:13:53Z", "releases_url": "https://api.github.com/repos/jokay/docker-ccu-historian/releases{/id}", "size": 269, "ssh_url": "git@github.com:jokay/docker-ccu-historian.git", @@ -4669,9 +4669,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/0dragosh/homelab-k3s/pulls{/number}", - "pushed_at": "2022-04-06T21:52:07Z", + "pushed_at": "2022-04-08T23:16:40Z", "releases_url": "https://api.github.com/repos/0dragosh/homelab-k3s/releases{/id}", - "size": 2364, + "size": 2426, "ssh_url": "git@github.com:0dragosh/homelab-k3s.git", "stargazers_count": 10, "stargazers_url": "https://api.github.com/repos/0dragosh/homelab-k3s/stargazers", @@ -4813,9 +4813,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/wareismymind/peer/pulls{/number}", - "pushed_at": "2022-03-30T18:03:15Z", + "pushed_at": "2022-04-08T01:59:52Z", "releases_url": "https://api.github.com/repos/wareismymind/peer/releases{/id}", - "size": 224, + "size": 217, "ssh_url": "git@github.com:wareismymind/peer.git", "stargazers_count": 9, "stargazers_url": "https://api.github.com/repos/wareismymind/peer/stargazers", @@ -4899,8 +4899,8 @@ "network_count": 4, "node_id": "MDEwOlJlcG9zaXRvcnkzMDA3NjE4MzU=", "notifications_url": "https://api.github.com/repos/GSA/site-scanning-engine/notifications{?since,all,participating}", - "open_issues": 3, - "open_issues_count": 3, + "open_issues": 4, + "open_issues_count": 4, "organization": { "avatar_url": "https://avatars.githubusercontent.com/u/643070?v=4", "events_url": "https://api.github.com/users/GSA/events{/privacy}", @@ -4943,7 +4943,7 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/GSA/site-scanning-engine/pulls{/number}", - "pushed_at": "2022-04-06T19:42:52Z", + "pushed_at": "2022-04-07T16:05:02Z", "releases_url": "https://api.github.com/repos/GSA/site-scanning-engine/releases{/id}", "size": 8822, "ssh_url": "git@github.com:GSA/site-scanning-engine.git", @@ -5603,9 +5603,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/QuantumPL/bib/pulls{/number}", - "pushed_at": "2022-03-29T16:33:09Z", + "pushed_at": "2022-04-08T01:53:22Z", "releases_url": "https://api.github.com/repos/QuantumPL/bib/releases{/id}", - "size": 22258, + "size": 22720, "ssh_url": "git@github.com:QuantumPL/bib.git", "stargazers_count": 6, "stargazers_url": "https://api.github.com/repos/QuantumPL/bib/stargazers", @@ -6087,9 +6087,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/ScribeMD/slack-templates/pulls{/number}", - "pushed_at": "2021-11-09T23:06:14Z", + "pushed_at": "2022-04-08T00:56:02Z", "releases_url": "https://api.github.com/repos/ScribeMD/slack-templates/releases{/id}", - "size": 86, + "size": 128, "ssh_url": "git@github.com:ScribeMD/slack-templates.git", "stargazers_count": 5, "stargazers_url": "https://api.github.com/repos/ScribeMD/slack-templates/stargazers", @@ -6787,9 +6787,9 @@ }, "private": false, "pulls_url": "https://api.github.com/repos/Neragin/cx-bot/pulls{/number}", - "pushed_at": "2022-04-01T10:06:44Z", + "pushed_at": "2022-04-08T11:23:47Z", "releases_url": "https://api.github.com/repos/Neragin/cx-bot/releases{/id}", - "size": 933, + "size": 932, "ssh_url": "git@github.com:Neragin/cx-bot.git", "stargazers_count": 3, "stargazers_url": "https://api.github.com/repos/Neragin/cx-bot/stargazers", diff --git a/.automation/test/clojure/clojure_good_1.clj b/.automation/test/clojure/clojure_good_1.clj index e18d90dba92..a3f5499c462 100644 --- a/.automation/test/clojure/clojure_good_1.clj +++ b/.automation/test/clojure/clojure_good_1.clj @@ -1,3 +1,4 @@ +#_{:clj-kondo/ignore [:namespace-name-mismatch]} (ns foo (:require [clojure.string :as str])) @@ -20,6 +21,7 @@ (Thread/sleep 1000 1) ;; Here we switch to another namespace and require the previous: +#_{:clj-kondo/ignore [:namespace-name-mismatch]} (ns bar (:require [foo :as f])) (f/foo-fn 1) @@ -28,6 +30,7 @@ #{1 2} {:a 1 :b 2} +#_{:clj-kondo/ignore [:namespace-name-mismatch]} (ns bar-test (:require [clojure.test :as t])) (t/deftest my-tests diff --git a/.automation/test/sql/.sqlfluff b/.automation/test/sql/.sqlfluff new file mode 100644 index 00000000000..b3807d644d0 --- /dev/null +++ b/.automation/test/sql/.sqlfluff @@ -0,0 +1,187 @@ +## This .sqlfluff file can be used to configure the SQLFluff linter when +## used via the MegaLinter. Copy it to the .github/linters folder of +## your repo, and uncomment the necessary lines to configure the MegaLinter. +## +## IMPORTANT NOTE: The MegaLinter configuration file for SQLFluff +## supersedes any local configuration files you might have in within your +## codebase. For this reason it should only be used when you want the same +## configuration for your entire code base. If you need different configuration +## in different folders you must leave this config commented out, and instead +## manage all your config files within your code base rather than in the +## .github/linters folder +## + +[sqlfluff] +## verbose is an integer (0-2) indicating the level of log output +#verbose = 0 +## Turn off color formatting of output +#nocolor = False +## Supported dialects https://docs.sqlfluff.com/en/stable/dialects.html +## Or run 'sqlfluff dialects' +dialect = mysql +## One of [raw|jinja|python|placeholder] +#templater = jinja +## Comma separated list of rules to check, or None for all +#rules = None +## Comma separated list of rules to exclude, or None +#exclude_rules = None +## The depth to recursively parse to (0 for unlimited) +#recurse = 0 +## Below controls SQLFluff output, see max_line_length for SQL output +#output_line_length = 80 +## Number of passes to run before admitting defeat +#runaway_limit = 10 +## Ignore errors by category (one or more of the following, separated by commas: lexing,linting,parsing,templating) +#ignore = None +## Ignore linting errors found within sections of code coming directly from +## templated code (e.g. from within Jinja curly braces. Note that it does not +## ignore errors from literal code found within template loops. +#ignore_templated_areas = True +## can either be autodetect or a valid encoding e.g. utf-8, utf-8-sig +#encoding = autodetect +## Ignore inline overrides (e.g. to test if still required) +#disable_noqa = False +## Comma separated list of file extensions to lint +## NB: This config will only apply in the root folder +#sql_file_exts = .sql,.sql.j2,.dml,.ddl +## Allow fix to run on files, even if they contain parsing errors +## Note altering this is NOT RECOMMENDED as can corrupt SQL +#fix_even_unparsable = False +# +[sqlfluff:indentation] +## See https://docs.sqlfluff.com/en/stable/indentation.html +#indented_joins = False +#indented_ctes = False +#indented_using_on = True +#template_blocks_indent = True +# +[sqlfluff:templater] +#unwrap_wrapped_queries = True +# +[sqlfluff:templater:jinja] +#apply_dbt_builtins = True +# +[sqlfluff:templater:jinja:macros] +## Macros provided as builtins for dbt projects +#dbt_ref = {% macro ref(model_ref) %}{{model_ref}}{% endmacro %} +#dbt_source = {% macro source(source_name, table) %}{{source_name}}_{{table}}{% endmacro %} +#dbt_config = {% macro config() %}{% for k in kwargs %}{% endfor %}{% endmacro %} +#dbt_var = {% macro var(variable, default='') %}item{% endmacro %} +#dbt_is_incremental = {% macro is_incremental() %}True{% endmacro %} +# +## Some rules can be configured directly from the config common to other rules +[sqlfluff:rules] +#tab_space_size = 4 +#max_line_length = 80 +#indent_unit = space +#comma_style = trailing +#allow_scalar = True +#single_table_references = consistent +#unquoted_identifiers_policy = all +# +## Some rules have their own specific config +[sqlfluff:rules:L007] +#operator_new_lines = after +# +[sqlfluff:rules:L010] +## Keywords +#capitalisation_policy = consistent +## Comma separated list of words to ignore for this rule +#ignore_words = None +# +[sqlfluff:rules:L011] +## Aliasing preference for tables +#aliasing = explicit +# +[sqlfluff:rules:L012] +## Aliasing preference for columns +#aliasing = explicit +# +[sqlfluff:rules:L014] +## Unquoted identifiers +#extended_capitalisation_policy = consistent +## Comma separated list of words to ignore for this rule +#ignore_words = None +# +[sqlfluff:rules:L016] +## Line length +#ignore_comment_lines = False +#ignore_comment_clauses = False +# +[sqlfluff:rules:L026] +## References must be in FROM clause +## Disabled for some dialects (e.g. bigquery) +#force_enable = False +# +[sqlfluff:rules:L028] +## References must be consistently used +## Disabled for some dialects (e.g. bigquery) +#force_enable = False +# +[sqlfluff:rules:L029] +## Keywords should not be used as identifiers. +#unquoted_identifiers_policy = aliases +#quoted_identifiers_policy = none +## Comma separated list of words to ignore for this rule +#ignore_words = None +# +[sqlfluff:rules:L030] +## Function names +#extended_capitalisation_policy = consistent +## Comma separated list of words to ignore for this rule +#ignore_words = None +# +[sqlfluff:rules:L038] +## Trailing commas +#select_clause_trailing_comma = forbid +# +[sqlfluff:rules:L040] +## Null & Boolean Literals +#capitalisation_policy = consistent +## Comma separated list of words to ignore for this rule +#ignore_words = None +# +[sqlfluff:rules:L042] +## By default, allow subqueries in from clauses, but not join clauses +#forbid_subquery_in = join +# +[sqlfluff:rules:L047] +## Consistent syntax to count all rows +#prefer_count_1 = False +#prefer_count_0 = False +# +[sqlfluff:rules:L051] +## Fully qualify JOIN clause +#fully_qualify_join_types = inner +# +# +[sqlfluff:rules:L052] +## Semi-colon formatting approach +#multiline_newline = False +#require_final_semicolon = False +# +[sqlfluff:rules:L054] +## GROUP BY/ORDER BY column references +#group_by_and_order_by_style = consistent +# +[sqlfluff:rules:L057] +## Special characters in identifiers +#unquoted_identifiers_policy = all +#quoted_identifiers_policy = all +#allow_space_in_identifier = False +#additional_allowed_characters = "" +## Comma separated list of words to ignore for this rule +#ignore_words = None +[sqlfluff:rules:L058] +## Comma separated list of words to ignore for this rule +#ignore_words = None +# +[sqlfluff:rules:L059] +## Policy on quoted and unquoted identifiers +#prefer_quoted_identifiers = False +## Comma separated list of words to ignore for this rule +#ignore_words = None +# +[sqlfluff:rules:L062] +## Comma separated list of blocked words that should not be used +#blocked_words = None \ No newline at end of file diff --git a/.github/workflows/auto-update-linters.yml b/.github/workflows/auto-update-linters.yml index 0c3f1f5f05a..67456382310 100644 --- a/.github/workflows/auto-update-linters.yml +++ b/.github/workflows/auto-update-linters.yml @@ -36,7 +36,7 @@ jobs: # Checkout the code base # ########################## - name: Checkout Code - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v3.0.0 with: # Full git history is needed to get a proper list of changed files within `mega-linter` fetch-depth: 0 @@ -67,7 +67,7 @@ jobs: # Upload MegaLinter artifacts - name: Archive production artifacts if: ${{ success() }} || ${{ failure() }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: MegaLinter reports path: | diff --git a/.github/workflows/build-deploy-docs.yml b/.github/workflows/build-deploy-docs.yml index 9fe68a9a331..4949a0b26fa 100644 --- a/.github/workflows/build-deploy-docs.yml +++ b/.github/workflows/build-deploy-docs.yml @@ -21,10 +21,10 @@ jobs: runs-on: ubuntu-latest if: github.repository == 'megalinter/megalinter' steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v3.0.0 with: fetch-depth: 0 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v3.1.1 with: python-version: 3.x - run: pip install mike mkdocs-material mdx_truly_sane_lists json-schema-for-humans diff --git a/.github/workflows/deploy-ALPHA-flavors.yml b/.github/workflows/deploy-ALPHA-flavors.yml index f7f7e0b0673..f3d703af8ad 100644 --- a/.github/workflows/deploy-ALPHA-flavors.yml +++ b/.github/workflows/deploy-ALPHA-flavors.yml @@ -76,7 +76,7 @@ jobs: # Checkout the code base # ########################## - name: Checkout Code - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v3.0.0 with: fetch-depth: 0 diff --git a/.github/workflows/deploy-ALPHA.yml b/.github/workflows/deploy-ALPHA.yml index fd6b0d3b42e..89e6ebccedf 100644 --- a/.github/workflows/deploy-ALPHA.yml +++ b/.github/workflows/deploy-ALPHA.yml @@ -55,7 +55,7 @@ jobs: # Checkout the code base # ########################## - name: Checkout Code - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v3.0.0 with: fetch-depth: 0 diff --git a/.github/workflows/deploy-DEV.yml b/.github/workflows/deploy-DEV.yml index 63292ba8913..1272f9eae43 100644 --- a/.github/workflows/deploy-DEV.yml +++ b/.github/workflows/deploy-DEV.yml @@ -49,7 +49,7 @@ jobs: # Checkout the code base # ########################## - name: Checkout Code - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v3.0.0 with: # Full git history is needed to get a proper list of changed files within `mega-linter` fetch-depth: 0 @@ -177,7 +177,7 @@ jobs: # Upload MegaLinter artifacts - name: Archive production artifacts if: ${{ success() }} || ${{ failure() }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: MegaLinter reports path: | diff --git a/.github/workflows/deploy-PROD-flavors.yml b/.github/workflows/deploy-PROD-flavors.yml index df062b06a6f..f2d73f1b4b7 100644 --- a/.github/workflows/deploy-PROD-flavors.yml +++ b/.github/workflows/deploy-PROD-flavors.yml @@ -78,7 +78,7 @@ jobs: # Checkout the code base # ########################## - name: Checkout Code - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v3.0.0 with: fetch-depth: 0 diff --git a/.github/workflows/deploy-PROD.yml b/.github/workflows/deploy-PROD.yml index b07c7818347..8abcb0a2964 100644 --- a/.github/workflows/deploy-PROD.yml +++ b/.github/workflows/deploy-PROD.yml @@ -54,7 +54,7 @@ jobs: # Checkout the code base # ########################## - name: Checkout Code - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v3.0.0 with: fetch-depth: 0 diff --git a/.github/workflows/deploy-RELEASE-flavors.yml b/.github/workflows/deploy-RELEASE-flavors.yml index 75d5d0cf922..3b2810d2c00 100644 --- a/.github/workflows/deploy-RELEASE-flavors.yml +++ b/.github/workflows/deploy-RELEASE-flavors.yml @@ -67,7 +67,7 @@ jobs: # Checkout the code base # ########################## - name: Checkout Code - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v3.0.0 with: fetch-depth: 0 diff --git a/.github/workflows/deploy-RELEASE.yml b/.github/workflows/deploy-RELEASE.yml index 29b361c4175..e20d3f1eea5 100644 --- a/.github/workflows/deploy-RELEASE.yml +++ b/.github/workflows/deploy-RELEASE.yml @@ -46,7 +46,7 @@ jobs: # Checkout the code base # ########################## - name: Checkout Code - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v3.0.0 with: fetch-depth: 0 @@ -118,7 +118,7 @@ jobs: needs: build if: github.repository == 'megalinter/megalinter' steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v3.0.0 with: fetch-depth: 0 - name: Get release version @@ -134,7 +134,7 @@ jobs: echo "curr tag ${{ steps.version.outputs.ctag }}" echo "prev ver ${{ steps.version.outputs.pversion }}" echo "curr ver ${{ steps.version.outputs.cversion }}" - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v3.1.1 with: python-version: 3.x - run: pip install mike mkdocs-material mdx_truly_sane_lists json-schema-for-humans diff --git a/.github/workflows/mega-linter-for-runner.yml b/.github/workflows/mega-linter-for-runner.yml index fcfa08941ec..9b8885e4f98 100644 --- a/.github/workflows/mega-linter-for-runner.yml +++ b/.github/workflows/mega-linter-for-runner.yml @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Code - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v3.0.0 with: token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }} fetch-depth: 0 @@ -49,7 +49,7 @@ jobs: # Upload MegaLinter artifacts - name: Archive production artifacts if: ${{ success() }} || ${{ failure() }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: MegaLinter reports path: | diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml index 81846da9b74..3c8b6153081 100644 --- a/.github/workflows/mega-linter.yml +++ b/.github/workflows/mega-linter.yml @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Code - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v3.0.0 with: token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }} fetch-depth: 0 @@ -49,7 +49,7 @@ jobs: # Upload MegaLinter artifacts - name: Archive production artifacts if: ${{ success() }} || ${{ failure() }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: MegaLinter reports path: | diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 5aa06f11344..0b38340938d 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -25,7 +25,7 @@ jobs: if: "github.event_name == 'schedule'" steps: - name: Mark issue stale - uses: actions/stale@v4 + uses: actions/stale@v5 with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity.\nIt will be closed in 14 days if no further activity occurs.\nThank you for your contributions.\n\nIf you think this issue should stay open, please remove the `O: stale 🤖` label or comment on the issue." diff --git a/.github/workflows/test-mega-linter-runner.yml b/.github/workflows/test-mega-linter-runner.yml index 83e9eae7666..f50cc1eb30d 100644 --- a/.github/workflows/test-mega-linter-runner.yml +++ b/.github/workflows/test-mega-linter-runner.yml @@ -17,7 +17,7 @@ jobs: timeout-minutes: 60 steps: - name: Checkout Code - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v3.0.0 - name: Setup Node uses: actions/setup-node@v2.5.1 with: diff --git a/.github/workflows/versioning.yml b/.github/workflows/versioning.yml index b12391d15b8..42d931f6529 100644 --- a/.github/workflows/versioning.yml +++ b/.github/workflows/versioning.yml @@ -32,7 +32,7 @@ jobs: ############################# # Check out the latest code # ############################# - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v3.0.0 ###################### # Run the tag action # diff --git a/CHANGELOG.md b/CHANGELOG.md index e5aeb8d0512..f848c3a8ec3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -81,6 +81,13 @@ Note: Can be used with `megalinter/megalinter@beta` in your GitHub Action mega-l - [ktlint](https://ktlint.github.io) from 0.45.1 to **0.45.2** on 2022-04-07 - [pylint](https://www.pylint.org) from 2.13.4 to **2.13.5** on 2022-04-07 - [snakemake](https://snakemake.readthedocs.io/en/stable/) from 7.3.7 to **7.3.8** on 2022-04-07 + - [eslint](https://eslint.org) from 8.12.0 to **8.13.0** on 2022-04-09 + - [rubocop](https://rubocop.org/) from 1.26.1 to **1.27.0** on 2022-04-09 + - [clippy](https://github.com/rust-lang/rust-clippy) from 0.1.59 to **0.1.60** on 2022-04-09 + - [cspell](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell) from 5.19.5 to **5.19.6** on 2022-04-09 + - [sqlfluff](https://www.sqlfluff.com/) from 0.11.2 to **0.12.0** on 2022-04-09 + - [checkov](https://www.checkov.io/) from 2.0.1037 to **2.0.1045** on 2022-04-09 + - [terraform-fmt](https://www.terraform.io/docs/cli/commands/fmt.html) from 1.1.7 to **1.1.8** on 2022-04-09 ## [v5.10.0] - 2022-03-20 diff --git a/Dockerfile b/Dockerfile index 3ac9072cf80..720d685106d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,8 +11,8 @@ ############################################################################################# #FROM__START FROM mvdan/shfmt:latest-alpine as shfmt -FROM cljkondo/clj-kondo:2022.02.09-alpine as clj-kondo -FROM hadolint/hadolint:v2.9.3-alpine as hadolint +FROM cljkondo/clj-kondo:2022.04.08-alpine as clj-kondo +FROM hadolint/hadolint:v2.10.0-alpine as hadolint FROM ghcr.io/assignuser/chktex-alpine:latest as chktex FROM yoheimuta/protolint:latest as protolint FROM ghcr.io/assignuser/lintr-lib:0.2.0 as lintr-lib diff --git a/docs/all_linters.md b/docs/all_linters.md index 28938b52600..81c23f20c58 100644 --- a/docs/all_linters.md +++ b/docs/all_linters.md @@ -12,20 +12,20 @@ | [**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.1037 | [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.1045 | [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.59 | | [RUST](descriptors/rust_clippy.md) | :white_circle: | [Web Site](https://github.com/rust-lang/rust-clippy){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.02.09 | | [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} | | [**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.5 | [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} | +| [**cspell**](https://github.com/streetsidesoftware/cspell){target=_blank} | 5.19.6 | [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} | | [**dockerfilelint**](https://github.com/replicatedhq/dockerfilelint){target=_blank} | 1.8.0 | | [DOCKERFILE](descriptors/dockerfile_dockerfilelint.md) | :white_circle: | [Web Site](https://github.com/replicatedhq/dockerfilelint){target=_blank} | | [**dotenv-linter**](https://github.com/dotenv-linter/dotenv-linter){target=_blank} | 3.2.0 | [MIT](licenses/dotenv-linter.md) | [ENV](descriptors/env_dotenv_linter.md) | :heart: | [MegaLinter reference](https://dotenv-linter.github.io/#/integrations/mega_linter){target=_blank} | | [**dotnet-format**](https://github.com/dotnet/format){target=_blank} | 000 | | [CSHARP](descriptors/csharp_dotnet_format.md)
[VBDOTNET](descriptors/vbdotnet_dotnet_format.md) | :white_circle: | [Web Site](https://github.com/dotnet/format){target=_blank} | | [**editorconfig-checker**](https://github.com/editorconfig-checker/editorconfig-checker){target=_blank} | 2.3.5 | [MIT](licenses/editorconfig-checker.md) | [EDITORCONFIG](descriptors/editorconfig_editorconfig_checker.md) | :heart: | [MegaLinter reference](https://github.com/editorconfig-checker/editorconfig-checker#mega-linter){target=_blank} | -| [**eslint**](https://github.com/eslint/eslint){target=_blank} | 8.12.0 | [MIT](licenses/eslint.md) | [JAVASCRIPT](descriptors/javascript_eslint.md)
[JSX](descriptors/jsx_eslint.md)
[TSX](descriptors/tsx_eslint.md)
[TYPESCRIPT](descriptors/typescript_eslint.md) | :heart: | [MegaLinter reference](https://eslint.org/docs/user-guide/integrations#source-control){target=_blank} | +| [**eslint**](https://github.com/eslint/eslint){target=_blank} | 8.13.0 | [MIT](licenses/eslint.md) | [JAVASCRIPT](descriptors/javascript_eslint.md)
[JSX](descriptors/jsx_eslint.md)
[TSX](descriptors/tsx_eslint.md)
[TYPESCRIPT](descriptors/typescript_eslint.md) | :heart: | [MegaLinter reference](https://eslint.org/docs/user-guide/integrations#source-control){target=_blank} | | [**eslint-plugin-jsonc**](https://github.com/ota-meshi/eslint-plugin-jsonc){target=_blank} | 2.2.1 | [MIT](licenses/eslint-plugin-jsonc.md) | [JSON](descriptors/json_eslint_plugin_jsonc.md) | :heart: | [MegaLinter reference](https://eslint.org/docs/user-guide/integrations#source-control){target=_blank} | | [**flake8**](https://github.com/PyCQA/flake8){target=_blank} | 4.0.1 | [MIT](licenses/flake8.md) | [PYTHON](descriptors/python_flake8.md) | :white_circle: | [Repository](https://github.com/PyCQA/flake8){target=_blank} | | [**gherkin-lint**](https://github.com/vsiakka/gherkin-lint){target=_blank} | N/A | | [GHERKIN](descriptors/gherkin_gherkin_lint.md) | :white_circle: | [Web Site](https://github.com/vsiakka/gherkin-lint){target=_blank} | @@ -66,7 +66,7 @@ | [**rst-lint**](https://github.com/twolfson/restructuredtext-lint){target=_blank} | 1.4.0 | | [RST](descriptors/rst_rst_lint.md) | :heart: | [MegaLinter reference](https://github.com/twolfson/restructuredtext-lint/wiki/Integration-in-other-tools#integration-in-other-tools){target=_blank} | | [**rstcheck**](https://github.com/myint/rstcheck){target=_blank} | 3.3.1 | | [RST](descriptors/rst_rstcheck.md) | :hammer_and_wrench: | [Pull Request](https://github.com/myint/rstcheck/pull/73){target=_blank} | | [**rstfmt**](https://github.com/dzhu/rstfmt){target=_blank} | 0.0.10 | | [RST](descriptors/rst_rstfmt.md) | :hammer_and_wrench: | [Pull Request](https://github.com/dzhu/rstfmt/pull/1){target=_blank} | -| [**rubocop**](https://github.com/rubocop-hq/rubocop){target=_blank} | 1.26.1 | [MIT](licenses/rubocop.md) | [RUBY](descriptors/ruby_rubocop.md) | :heart: | [MegaLinter reference](https://docs.rubocop.org/rubocop/integration_with_other_tools.html#mega-linter-integration){target=_blank} | +| [**rubocop**](https://github.com/rubocop-hq/rubocop){target=_blank} | 1.27.0 | [MIT](licenses/rubocop.md) | [RUBY](descriptors/ruby_rubocop.md) | :heart: | [MegaLinter reference](https://docs.rubocop.org/rubocop/integration_with_other_tools.html#mega-linter-integration){target=_blank} | | [**scalafix**](https://github.com/scalacenter/scalafix){target=_blank} | 0.10.0 | [Other](licenses/scalafix.md) | [SCALA](descriptors/scala_scalafix.md) | :heart: | [MegaLinter reference](https://scalacenter.github.io/scalafix/docs/users/installation.html#plugins-for-other-build-tools){target=_blank} | | [**scss-lint**](https://github.com/sds/scss-lint){target=_blank} | 0.59.0 | | [CSS](descriptors/css_scss_lint.md) | :white_circle: | [Web Site](https://github.com/sds/scss-lint){target=_blank} | | [**secretlint**](https://github.com/secretlint/secretlint){target=_blank} | 4.1.0 | [MIT](licenses/secretlint.md) | [CREDENTIALS](descriptors/credentials_secretlint.md) | :heart: | [MegaLinter reference](https://github.com/secretlint/secretlint#mega-linter){target=_blank} | @@ -79,12 +79,12 @@ | [**snakemake**](https://github.com/snakemake/snakemake){target=_blank} | 7.3.8 | [MIT](licenses/snakemake.md) | [SNAKEMAKE](descriptors/snakemake_snakemake.md) | :white_circle: | [Repository](https://github.com/snakemake/snakemake){target=_blank} | | [**spectral**](https://github.com/stoplightio/spectral){target=_blank} | 5.6.0 | [Apache-2.0](licenses/spectral.md) | [OPENAPI](descriptors/openapi_spectral.md) | :white_circle: | [Repository](https://github.com/stoplightio/spectral){target=_blank} | | [**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.2 | [MIT](licenses/sqlfluff.md) | [SQL](descriptors/sql_sqlfluff.md) | :white_circle: | [Repository](https://github.com/sqlfluff/sqlfluff){target=_blank} | +| [**sqlfluff**](https://github.com/sqlfluff/sqlfluff){target=_blank} | 0.12.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.6.1 | [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} | +| [**terraform-fmt**](https://github.com/hashicorp/terraform){target=_blank} | 1.1.8 | [MPL-2.0](licenses/terraform-fmt.md) | [TERRAFORM](descriptors/terraform_terraform_fmt.md) | :white_circle: | [Repository](https://github.com/hashicorp/terraform){target=_blank} | | [**terragrunt**](https://github.com/gruntwork-io/terragrunt){target=_blank} | 0.36.6 | [MIT](licenses/terragrunt.md) | [TERRAFORM](descriptors/terraform_terragrunt.md) | :white_circle: | [Repository](https://github.com/gruntwork-io/terragrunt){target=_blank} | | [**terrascan**](https://github.com/accurics/terrascan){target=_blank} | 1.14.0 | [Apache-2.0](licenses/terrascan.md) | [TERRAFORM](descriptors/terraform_terrascan.md) | :white_circle: | [Repository](https://github.com/accurics/terrascan){target=_blank} | | [**tflint**](https://github.com/terraform-linters/tflint){target=_blank} | 0.34.1 | | [TERRAFORM](descriptors/terraform_tflint.md) | :white_circle: | [Web Site](https://github.com/terraform-linters/tflint){target=_blank} | diff --git a/docs/descriptors/javascript_eslint.md b/docs/descriptors/javascript_eslint.md index e65d093002e..851296bbb54 100644 --- a/docs/descriptors/javascript_eslint.md +++ b/docs/descriptors/javascript_eslint.md @@ -13,7 +13,7 @@ You can create it by typing `npx eslint --init` in the root of your repository ## eslint documentation -- Version in MegaLinter: **8.12.0** +- Version in MegaLinter: **8.13.0** - Visit [Official Web Site](https://eslint.org){target=_blank} - See [How to configure eslint rules](https://eslint.org/docs/user-guide/configuring){target=_blank} - See [How to disable eslint rules in files](https://eslint.org/docs/user-guide/configuring#disabling-rules-with-inline-comments){target=_blank} diff --git a/docs/descriptors/jsx_eslint.md b/docs/descriptors/jsx_eslint.md index d63b2a1241c..b62fa3c1c97 100644 --- a/docs/descriptors/jsx_eslint.md +++ b/docs/descriptors/jsx_eslint.md @@ -12,7 +12,7 @@ You can create it by typing `npx eslint --init` in the root of your repository ## eslint documentation -- Version in MegaLinter: **8.12.0** +- Version in MegaLinter: **8.13.0** - Visit [Official Web Site](https://github.com/yannickcr/eslint-plugin-react#readme){target=_blank} - See [How to configure eslint rules](https://github.com/yannickcr/eslint-plugin-react#configuration){target=_blank} - See [How to disable eslint rules in files](https://eslint.org/docs/user-guide/configuring#disabling-rules-with-inline-comments){target=_blank} diff --git a/docs/descriptors/puppet_puppet_lint.md b/docs/descriptors/puppet_puppet_lint.md index 272e9d47e40..3a800d4dcf3 100644 --- a/docs/descriptors/puppet_puppet_lint.md +++ b/docs/descriptors/puppet_puppet_lint.md @@ -115,70 +115,70 @@ puppet-lint --fail-on-warnings --no-autoloader_layout-check --fix myfile.pp Checks: --only-checks CHECKS A comma separated list of checks that should be run --ignore-paths PATHS A comma separated list of patterns to ignore - --no-quoted_booleans-check Skip the quoted_booleans check. - --quoted_booleans-check Enable the quoted_booleans check. + --no-140chars-check Skip the 140chars check. + --no-hard_tabs-check Skip the hard_tabs check. + --no-80chars-check Skip the 80chars check. + --80chars-check Enable the 80chars check. + --no-arrow_alignment-check Skip the arrow_alignment check. + --no-2sp_soft_tabs-check Skip the 2sp_soft_tabs check. + --no-trailing_whitespace-check + Skip the trailing_whitespace check. + --no-slash_comments-check Skip the slash_comments check. + --no-star_comments-check Skip the star_comments check. + --no-documentation-check Skip the documentation check. + --no-selector_inside_resource-check + Skip the selector_inside_resource check. + --no-case_without_default-check + Skip the case_without_default check. + --no-unquoted_node_name-check + Skip the unquoted_node_name check. + --no-ensure_first_param-check + Skip the ensure_first_param check. + --no-unquoted_file_mode-check + Skip the unquoted_file_mode check. + --no-unquoted_resource_title-check + Skip the unquoted_resource_title check. + --no-file_mode-check Skip the file_mode check. + --no-ensure_not_symlink_target-check + Skip the ensure_not_symlink_target check. + --no-duplicate_params-check Skip the duplicate_params check. + --no-variables_not_enclosed-check + Skip the variables_not_enclosed check. --no-double_quoted_strings-check Skip the double_quoted_strings check. + --no-only_variable_string-check + Skip the only_variable_string check. --no-single_quote_string_with_variables-check Skip the single_quote_string_with_variables check. --no-puppet_url_without_modules-check Skip the puppet_url_without_modules check. - --no-only_variable_string-check - Skip the only_variable_string check. - --no-variables_not_enclosed-check - Skip the variables_not_enclosed check. - --no-variable_is_lowercase-check - Skip the variable_is_lowercase check. + --no-quoted_booleans-check Skip the quoted_booleans check. + --quoted_booleans-check Enable the quoted_booleans check. --no-variable_contains_dash-check Skip the variable_contains_dash check. - --no-variable_scope-check Skip the variable_scope check. - --no-code_on_top_scope-check Skip the code_on_top_scope check. - --code_on_top_scope-check Enable the code_on_top_scope check. + --no-variable_is_lowercase-check + Skip the variable_is_lowercase check. + --no-nested_classes_or_defines-check + Skip the nested_classes_or_defines check. + --no-arrow_on_right_operand_line-check + Skip the arrow_on_right_operand_line check. --no-names_containing_uppercase-check Skip the names_containing_uppercase check. --no-inherits_across_namespaces-check Skip the inherits_across_namespaces check. --no-names_containing_dash-check Skip the names_containing_dash check. - --no-nested_classes_or_defines-check - Skip the nested_classes_or_defines check. - --no-autoloader_layout-check Skip the autoloader_layout check. - --no-arrow_on_right_operand_line-check - Skip the arrow_on_right_operand_line check. + --no-code_on_top_scope-check Skip the code_on_top_scope check. + --code_on_top_scope-check Enable the code_on_top_scope check. --no-class_inherits_from_params_class-check Skip the class_inherits_from_params_class check. --class_inherits_from_params_class-check Enable the class_inherits_from_params_class check. + --no-autoloader_layout-check Skip the autoloader_layout check. + --no-variable_scope-check Skip the variable_scope check. --no-right_to_left_relationship-check Skip the right_to_left_relationship check. --no-parameter_order-check Skip the parameter_order check. - --no-ensure_not_symlink_target-check - Skip the ensure_not_symlink_target check. - --no-unquoted_resource_title-check - Skip the unquoted_resource_title check. - --no-duplicate_params-check Skip the duplicate_params check. - --no-unquoted_file_mode-check - Skip the unquoted_file_mode check. - --no-ensure_first_param-check - Skip the ensure_first_param check. - --no-file_mode-check Skip the file_mode check. - --no-star_comments-check Skip the star_comments check. - --no-slash_comments-check Skip the slash_comments check. - --no-documentation-check Skip the documentation check. - --no-unquoted_node_name-check - Skip the unquoted_node_name check. - --no-selector_inside_resource-check - Skip the selector_inside_resource check. - --no-case_without_default-check - Skip the case_without_default check. - --no-2sp_soft_tabs-check Skip the 2sp_soft_tabs check. - --no-trailing_whitespace-check - Skip the trailing_whitespace check. - --no-80chars-check Skip the 80chars check. - --80chars-check Enable the 80chars check. - --no-arrow_alignment-check Skip the arrow_alignment check. - --no-140chars-check Skip the 140chars check. - --no-hard_tabs-check Skip the hard_tabs check. ``` ### Installation on mega-linter Docker image diff --git a/docs/descriptors/python_black.md b/docs/descriptors/python_black.md index 0607dc8a6ff..1b526b8bbb6 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 (pypy, timeit, prun, time, capture, - python, python3). Useful for formatting + magics (capture, pypy, python, python3, + timeit, time, prun). 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 7870fcdda1e..13c5fa9a643 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: ['E704', 'W503', 'E121', 'E123', 'E226', - 'E126', 'W504', 'E24']) + (Default: ['W504', 'E126', 'E121', 'E24', 'E704', + 'E123', 'W503', 'E226']) --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/ruby_rubocop.md b/docs/descriptors/ruby_rubocop.md index c949add6653..fee2b70659f 100644 --- a/docs/descriptors/ruby_rubocop.md +++ b/docs/descriptors/ruby_rubocop.md @@ -9,7 +9,7 @@ ## rubocop documentation -- Version in MegaLinter: **1.26.1** +- Version in MegaLinter: **1.27.0** - Visit [Official Web Site](https://rubocop.org/){target=_blank} - See [How to configure rubocop rules](https://docs.rubocop.org/rubocop/0.92/configuration.html){target=_blank} - If custom `.ruby-lint.yml` config file is not found, [.ruby-lint.yml](https://github.com/megalinter/megalinter/tree/main/TEMPLATES/.ruby-lint.yml){target=_blank} will be used diff --git a/docs/descriptors/rust_clippy.md b/docs/descriptors/rust_clippy.md index a098255cdfd..71cce840108 100644 --- a/docs/descriptors/rust_clippy.md +++ b/docs/descriptors/rust_clippy.md @@ -4,7 +4,7 @@ ## clippy documentation -- Version in MegaLinter: **0.1.59** +- Version in MegaLinter: **0.1.60** - Visit [Official Web Site](https://github.com/rust-lang/rust-clippy#readme){target=_blank} - See [How to configure clippy rules](https://github.com/rust-lang/rust-clippy#configuration){target=_blank} - See [How to disable clippy rules in files](https://github.com/rust-lang/rust-clippy#allowingdenying-lints){target=_blank} @@ -77,18 +77,19 @@ USAGE: cargo [+toolchain] [OPTIONS] [SUBCOMMAND] OPTIONS: - -V, --version Print version info and exit - --list List installed commands - --explain Run `rustc --explain CODE` - -v, --verbose Use verbose output (-vv very verbose/build.rs output) - -q, --quiet Do not print cargo log messages - --color Coloring: auto, always, never - --frozen Require Cargo.lock and cache are up to date - --locked Require Cargo.lock is up to date - --offline Run without accessing the network - --config ... Override a configuration value (unstable) - -Z ... Unstable (nightly-only) flags to Cargo, see 'cargo -Z help' for details - -h, --help Prints help information + -V, --version Print version info and exit + --list List installed commands + --explain Run `rustc --explain CODE` + -v, --verbose Use verbose output (-vv very verbose/build.rs output) + -q, --quiet Do not print cargo log messages + --color Coloring: auto, always, never + --frozen Require Cargo.lock and cache are up to date + --locked Require Cargo.lock is up to date + --offline Run without accessing the network + --config Override a configuration value (unstable) + -Z Unstable (nightly-only) flags to Cargo, see 'cargo -Z help' for + details + -h, --help Print help information Some common cargo commands are (see all commands with --list): build, b Compile the current package diff --git a/docs/descriptors/salesforce_sfdx_scanner_lwc.md b/docs/descriptors/salesforce_sfdx_scanner_lwc.md index d5882321102..90c79a2c15a 100644 --- a/docs/descriptors/salesforce_sfdx_scanner_lwc.md +++ b/docs/descriptors/salesforce_sfdx_scanner_lwc.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/scala_scalafix.md b/docs/descriptors/scala_scalafix.md index 45aaeccf5c2..1c1afdcdbfb 100644 --- a/docs/descriptors/scala_scalafix.md +++ b/docs/descriptors/scala_scalafix.md @@ -77,7 +77,7 @@ scalafix --config .scalafix.conf myfile.scala ### Help content ```shell -Scalafix 0.10.0-RC1 +Scalafix 0.10.0 Usage: scalafix [options] [ ...] Scalafix is a refactoring and linting tool. Scalafix supports both syntactic and diff --git a/docs/descriptors/spell_cspell.md b/docs/descriptors/spell_cspell.md index e52190492d2..8f251d63688 100644 --- a/docs/descriptors/spell_cspell.md +++ b/docs/descriptors/spell_cspell.md @@ -7,7 +7,7 @@ Copy it at the root of your repository, read it, remove real spelling errors (af ## cspell documentation -- Version in MegaLinter: **5.19.5** +- Version in MegaLinter: **5.19.6** - Visit [Official Web Site](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell#readme){target=_blank} - See [How to configure cspell rules](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell#customization){target=_blank} - See [How to disable cspell rules in files](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell#enable--disable-checking-sections-of-code){target=_blank} diff --git a/docs/descriptors/sql_sqlfluff.md b/docs/descriptors/sql_sqlfluff.md index 5e13ccb8706..45a12934148 100644 --- a/docs/descriptors/sql_sqlfluff.md +++ b/docs/descriptors/sql_sqlfluff.md @@ -9,7 +9,7 @@ ## sqlfluff documentation -- Version in MegaLinter: **0.11.2** +- Version in MegaLinter: **0.12.0** - Visit [Official Web Site](https://www.sqlfluff.com/){target=_blank} - See [How to configure sqlfluff rules](https://docs.sqlfluff.com/en/stable/configuration.html){target=_blank} - If custom `.sqlfluff` config file is not found, [.sqlfluff](https://github.com/megalinter/megalinter/tree/main/TEMPLATES/.sqlfluff){target=_blank} will be used diff --git a/docs/descriptors/terraform_checkov.md b/docs/descriptors/terraform_checkov.md index a39e7c3a3f1..e9a29fa2a3e 100644 --- a/docs/descriptors/terraform_checkov.md +++ b/docs/descriptors/terraform_checkov.md @@ -9,7 +9,7 @@ ## checkov documentation -- Version in MegaLinter: **2.0.1037** +- Version in MegaLinter: **2.0.1045** - 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_terraform_fmt.md b/docs/descriptors/terraform_terraform_fmt.md index 8a41a5c9678..acf41c8e95f 100644 --- a/docs/descriptors/terraform_terraform_fmt.md +++ b/docs/descriptors/terraform_terraform_fmt.md @@ -9,7 +9,7 @@ ## terraform-fmt documentation -- Version in MegaLinter: **1.1.7** +- Version in MegaLinter: **1.1.8** - Visit [Official Web Site](https://www.terraform.io/docs/cli/commands/fmt.html){target=_blank} [![terraform - GitHub](https://gh-card.dev/repos/hashicorp/terraform.svg?fullname=)](https://github.com/hashicorp/terraform){target=_blank} diff --git a/docs/descriptors/tsx_eslint.md b/docs/descriptors/tsx_eslint.md index 025c76c4137..40baef500b2 100644 --- a/docs/descriptors/tsx_eslint.md +++ b/docs/descriptors/tsx_eslint.md @@ -13,7 +13,7 @@ You can create it by typing `npx eslint --init` in the root of your repository ## eslint documentation -- Version in MegaLinter: **8.12.0** +- Version in MegaLinter: **8.13.0** - Visit [Official Web Site](https://github.com/yannickcr/eslint-plugin-react#readme){target=_blank} - See [How to configure eslint rules](https://github.com/yannickcr/eslint-plugin-react#configuration){target=_blank} - See [How to disable eslint rules in files](https://eslint.org/docs/user-guide/configuring#disabling-rules-with-inline-comments){target=_blank} diff --git a/docs/descriptors/typescript_eslint.md b/docs/descriptors/typescript_eslint.md index 5ad5a286961..68af4f20670 100644 --- a/docs/descriptors/typescript_eslint.md +++ b/docs/descriptors/typescript_eslint.md @@ -13,7 +13,7 @@ You can create it by typing `npx eslint --init` in the root of your repository ## eslint documentation -- Version in MegaLinter: **8.12.0** +- Version in MegaLinter: **8.13.0** - Visit [Official Web Site](https://eslint.org){target=_blank} - See [How to configure eslint rules](https://eslint.org/docs/user-guide/configuring){target=_blank} - See [How to disable eslint rules in files](https://eslint.org/docs/user-guide/configuring#disabling-rules-with-inline-comments){target=_blank} diff --git a/flavors/ci_light/Dockerfile b/flavors/ci_light/Dockerfile index 3bc2b479306..ac00971e4db 100644 --- a/flavors/ci_light/Dockerfile +++ b/flavors/ci_light/Dockerfile @@ -12,7 +12,7 @@ ############################################################################################# #FROM__START FROM mvdan/shfmt:latest-alpine as shfmt -FROM hadolint/hadolint:v2.9.3-alpine as hadolint +FROM hadolint/hadolint:v2.10.0-alpine as hadolint #FROM__END ################## diff --git a/flavors/dart/Dockerfile b/flavors/dart/Dockerfile index afebd472c75..111231d2fe0 100644 --- a/flavors/dart/Dockerfile +++ b/flavors/dart/Dockerfile @@ -12,7 +12,7 @@ ############################################################################################# #FROM__START FROM mvdan/shfmt:latest-alpine as shfmt -FROM hadolint/hadolint:v2.9.3-alpine as hadolint +FROM hadolint/hadolint:v2.10.0-alpine as hadolint FROM yoheimuta/protolint:latest as protolint #FROM__END diff --git a/flavors/documentation/Dockerfile b/flavors/documentation/Dockerfile index fce4bbd39ef..7634215ee3b 100644 --- a/flavors/documentation/Dockerfile +++ b/flavors/documentation/Dockerfile @@ -12,7 +12,7 @@ ############################################################################################# #FROM__START FROM mvdan/shfmt:latest-alpine as shfmt -FROM hadolint/hadolint:v2.9.3-alpine as hadolint +FROM hadolint/hadolint:v2.10.0-alpine as hadolint FROM yoheimuta/protolint:latest as protolint #FROM__END diff --git a/flavors/dotnet/Dockerfile b/flavors/dotnet/Dockerfile index 887851f7eb7..a199b7374f6 100644 --- a/flavors/dotnet/Dockerfile +++ b/flavors/dotnet/Dockerfile @@ -12,7 +12,7 @@ ############################################################################################# #FROM__START FROM mvdan/shfmt:latest-alpine as shfmt -FROM hadolint/hadolint:v2.9.3-alpine as hadolint +FROM hadolint/hadolint:v2.10.0-alpine as hadolint FROM yoheimuta/protolint:latest as protolint #FROM__END diff --git a/flavors/go/Dockerfile b/flavors/go/Dockerfile index dfaa0d6930f..66d2baed66f 100644 --- a/flavors/go/Dockerfile +++ b/flavors/go/Dockerfile @@ -12,7 +12,7 @@ ############################################################################################# #FROM__START FROM mvdan/shfmt:latest-alpine as shfmt -FROM hadolint/hadolint:v2.9.3-alpine as hadolint +FROM hadolint/hadolint:v2.10.0-alpine as hadolint FROM yoheimuta/protolint:latest as protolint #FROM__END diff --git a/flavors/java/Dockerfile b/flavors/java/Dockerfile index 5cd8063980c..b69770f6235 100644 --- a/flavors/java/Dockerfile +++ b/flavors/java/Dockerfile @@ -12,8 +12,8 @@ ############################################################################################# #FROM__START FROM mvdan/shfmt:latest-alpine as shfmt -FROM cljkondo/clj-kondo:2022.02.09-alpine as clj-kondo -FROM hadolint/hadolint:v2.9.3-alpine as hadolint +FROM cljkondo/clj-kondo:2022.04.08-alpine as clj-kondo +FROM hadolint/hadolint:v2.10.0-alpine as hadolint FROM yoheimuta/protolint:latest as protolint #FROM__END diff --git a/flavors/javascript/Dockerfile b/flavors/javascript/Dockerfile index b833e79fb73..43717dcf62b 100644 --- a/flavors/javascript/Dockerfile +++ b/flavors/javascript/Dockerfile @@ -12,7 +12,7 @@ ############################################################################################# #FROM__START FROM mvdan/shfmt:latest-alpine as shfmt -FROM hadolint/hadolint:v2.9.3-alpine as hadolint +FROM hadolint/hadolint:v2.10.0-alpine as hadolint FROM yoheimuta/protolint:latest as protolint #FROM__END diff --git a/flavors/php/Dockerfile b/flavors/php/Dockerfile index 17d85aecce2..e965dc1e5fe 100644 --- a/flavors/php/Dockerfile +++ b/flavors/php/Dockerfile @@ -12,7 +12,7 @@ ############################################################################################# #FROM__START FROM mvdan/shfmt:latest-alpine as shfmt -FROM hadolint/hadolint:v2.9.3-alpine as hadolint +FROM hadolint/hadolint:v2.10.0-alpine as hadolint FROM yoheimuta/protolint:latest as protolint #FROM__END diff --git a/flavors/python/Dockerfile b/flavors/python/Dockerfile index d73b2bacb36..22426168229 100644 --- a/flavors/python/Dockerfile +++ b/flavors/python/Dockerfile @@ -12,7 +12,7 @@ ############################################################################################# #FROM__START FROM mvdan/shfmt:latest-alpine as shfmt -FROM hadolint/hadolint:v2.9.3-alpine as hadolint +FROM hadolint/hadolint:v2.10.0-alpine as hadolint FROM yoheimuta/protolint:latest as protolint #FROM__END diff --git a/flavors/ruby/Dockerfile b/flavors/ruby/Dockerfile index d8dec5089df..ddff8189d11 100644 --- a/flavors/ruby/Dockerfile +++ b/flavors/ruby/Dockerfile @@ -12,7 +12,7 @@ ############################################################################################# #FROM__START FROM mvdan/shfmt:latest-alpine as shfmt -FROM hadolint/hadolint:v2.9.3-alpine as hadolint +FROM hadolint/hadolint:v2.10.0-alpine as hadolint FROM yoheimuta/protolint:latest as protolint #FROM__END diff --git a/flavors/rust/Dockerfile b/flavors/rust/Dockerfile index 509dfad54a7..0028fbacd83 100644 --- a/flavors/rust/Dockerfile +++ b/flavors/rust/Dockerfile @@ -12,7 +12,7 @@ ############################################################################################# #FROM__START FROM mvdan/shfmt:latest-alpine as shfmt -FROM hadolint/hadolint:v2.9.3-alpine as hadolint +FROM hadolint/hadolint:v2.10.0-alpine as hadolint FROM yoheimuta/protolint:latest as protolint #FROM__END diff --git a/flavors/salesforce/Dockerfile b/flavors/salesforce/Dockerfile index 3afaf43fc42..1714e08fcdf 100644 --- a/flavors/salesforce/Dockerfile +++ b/flavors/salesforce/Dockerfile @@ -12,7 +12,7 @@ ############################################################################################# #FROM__START FROM mvdan/shfmt:latest-alpine as shfmt -FROM hadolint/hadolint:v2.9.3-alpine as hadolint +FROM hadolint/hadolint:v2.10.0-alpine as hadolint FROM yoheimuta/protolint:latest as protolint #FROM__END diff --git a/flavors/scala/Dockerfile b/flavors/scala/Dockerfile index 2a237feb86f..21e3521f7cc 100644 --- a/flavors/scala/Dockerfile +++ b/flavors/scala/Dockerfile @@ -12,7 +12,7 @@ ############################################################################################# #FROM__START FROM mvdan/shfmt:latest-alpine as shfmt -FROM hadolint/hadolint:v2.9.3-alpine as hadolint +FROM hadolint/hadolint:v2.10.0-alpine as hadolint FROM yoheimuta/protolint:latest as protolint #FROM__END diff --git a/flavors/swift/Dockerfile b/flavors/swift/Dockerfile index 0a7d4ac8fbd..14fc619f4f4 100644 --- a/flavors/swift/Dockerfile +++ b/flavors/swift/Dockerfile @@ -12,7 +12,7 @@ ############################################################################################# #FROM__START FROM mvdan/shfmt:latest-alpine as shfmt -FROM hadolint/hadolint:v2.9.3-alpine as hadolint +FROM hadolint/hadolint:v2.10.0-alpine as hadolint FROM yoheimuta/protolint:latest as protolint #FROM__END diff --git a/flavors/terraform/Dockerfile b/flavors/terraform/Dockerfile index 3cca018862a..868e5518395 100644 --- a/flavors/terraform/Dockerfile +++ b/flavors/terraform/Dockerfile @@ -12,7 +12,7 @@ ############################################################################################# #FROM__START FROM mvdan/shfmt:latest-alpine as shfmt -FROM hadolint/hadolint:v2.9.3-alpine as hadolint +FROM hadolint/hadolint:v2.10.0-alpine as hadolint FROM yoheimuta/protolint:latest as protolint FROM ghcr.io/terraform-linters/tflint:v0.34.1 as tflint FROM accurics/terrascan:latest as terrascan diff --git a/megalinter/descriptors/clojure.megalinter-descriptor.yml b/megalinter/descriptors/clojure.megalinter-descriptor.yml index b0c906c3e11..6bc2d718e25 100644 --- a/megalinter/descriptors/clojure.megalinter-descriptor.yml +++ b/megalinter/descriptors/clojure.megalinter-descriptor.yml @@ -14,6 +14,7 @@ linters: linter_rules_url: https://github.com/borkdude/clj-kondo#features linter_banner_image_url: https://github.com/borkdude/clj-kondo/raw/master/logo/logo-300dpi.png linter_rules_configuration_url: https://github.com/borkdude/clj-kondo/blob/master/doc/config.md#configuration + linter_rules_inline_disable_url: https://github.com/clj-kondo/clj-kondo/blob/master/doc/config.md#ignore-warnings-in-an-expression linter_megalinter_ref_url: https://github.com/borkdude/clj-kondo/blob/master/doc/ci-integration.md#github config_file_name: .clj-kondo/config.edn cli_config_arg_name: "--config" @@ -25,7 +26,7 @@ linters: downgraded_version: true install: dockerfile: - - FROM cljkondo/clj-kondo:2022.02.09-alpine as clj-kondo + - FROM cljkondo/clj-kondo:2022.04.08-alpine as clj-kondo - COPY --from=clj-kondo /bin/clj-kondo /usr/bin/ ide: atom: diff --git a/megalinter/descriptors/dockerfile.megalinter-descriptor.yml b/megalinter/descriptors/dockerfile.megalinter-descriptor.yml index b89dc2a6bb9..1f308ededef 100644 --- a/megalinter/descriptors/dockerfile.megalinter-descriptor.yml +++ b/megalinter/descriptors/dockerfile.megalinter-descriptor.yml @@ -37,7 +37,7 @@ linters: downgraded_version: true install: dockerfile: - - FROM hadolint/hadolint:v2.9.3-alpine as hadolint + - FROM hadolint/hadolint:v2.10.0-alpine as hadolint - COPY --from=hadolint /bin/hadolint /usr/bin/hadolint ide: atom: diff --git a/megalinter/descriptors/sql.megalinter-descriptor.yml b/megalinter/descriptors/sql.megalinter-descriptor.yml index 360e12df8ee..375668985d7 100644 --- a/megalinter/descriptors/sql.megalinter-descriptor.yml +++ b/megalinter/descriptors/sql.megalinter-descriptor.yml @@ -31,6 +31,8 @@ linters: linter_rules_url: https://docs.sqlfluff.com/en/stable/rules.html linter_rules_configuration_url: https://docs.sqlfluff.com/en/stable/configuration.html config_file_name: .sqlfluff + active_only_if_file_found: + - .sqlfluff cli_lint_mode: list_of_files cli_lint_extra_args: - lint