From 5ccf1e45a0261745206350bccdcb215349c8b450 Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Sat, 29 Jun 2024 20:19:54 +0200 Subject: [PATCH] Add gherkin-lint in c_cpp flavor (#3698) * Add gherkin-lint in c_cpp flavor Fixes https://github.com/oxsecurity/megalinter/issues/3695 * changelog --- CHANGELOG.md | 1 + flavors/c_cpp/Dockerfile | 1 + flavors/c_cpp/flavor.json | 1 + megalinter/descriptors/all_flavors.json | 1 + megalinter/descriptors/gherkin.megalinter-descriptor.yml | 1 + 5 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cef0339b5a8..6384ca8c976 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,7 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l - Doc - Flavors + - Add gherkin-lint in c_cpp flavor - CI - Bump actions/checkout from 3 to 4 diff --git a/flavors/c_cpp/Dockerfile b/flavors/c_cpp/Dockerfile index 4f75d10dad4..50312595b9a 100644 --- a/flavors/c_cpp/Dockerfile +++ b/flavors/c_cpp/Dockerfile @@ -177,6 +177,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \ stylelint-config-standard \ stylelint-config-sass-guidelines \ stylelint-scss \ + gherkin-lint \ graphql \ graphql-schema-linter \ npm-groovy-lint \ diff --git a/flavors/c_cpp/flavor.json b/flavors/c_cpp/flavor.json index 1d276cc81a5..23583a2bc0b 100644 --- a/flavors/c_cpp/flavor.json +++ b/flavors/c_cpp/flavor.json @@ -21,6 +21,7 @@ "DOCKERFILE_HADOLINT", "EDITORCONFIG_EDITORCONFIG_CHECKER", "ENV_DOTENV_LINTER", + "GHERKIN_GHERKIN_LINT", "GRAPHQL_GRAPHQL_SCHEMA_LINTER", "GROOVY_NPM_GROOVY_LINT", "HTML_DJLINT", diff --git a/megalinter/descriptors/all_flavors.json b/megalinter/descriptors/all_flavors.json index 455a9911471..6a493330a1b 100644 --- a/megalinter/descriptors/all_flavors.json +++ b/megalinter/descriptors/all_flavors.json @@ -22,6 +22,7 @@ "DOCKERFILE_HADOLINT", "EDITORCONFIG_EDITORCONFIG_CHECKER", "ENV_DOTENV_LINTER", + "GHERKIN_GHERKIN_LINT", "GRAPHQL_GRAPHQL_SCHEMA_LINTER", "GROOVY_NPM_GROOVY_LINT", "HTML_DJLINT", diff --git a/megalinter/descriptors/gherkin.megalinter-descriptor.yml b/megalinter/descriptors/gherkin.megalinter-descriptor.yml index c51abfb016d..7ece7df16d0 100644 --- a/megalinter/descriptors/gherkin.megalinter-descriptor.yml +++ b/megalinter/descriptors/gherkin.megalinter-descriptor.yml @@ -1,6 +1,7 @@ descriptor_id: GHERKIN descriptor_type: tooling_format descriptor_flavors: + - c_cpp - dotnet - dotnetweb file_extensions: