Skip to content

Commit 5ccf1e4

Browse files
authored
Add gherkin-lint in c_cpp flavor (#3698)
* Add gherkin-lint in c_cpp flavor Fixes #3695 * changelog
1 parent c5901ce commit 5ccf1e4

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
3737
- Doc
3838

3939
- Flavors
40+
- Add gherkin-lint in c_cpp flavor
4041

4142
- CI
4243
- Bump actions/checkout from 3 to 4

flavors/c_cpp/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \
177177
stylelint-config-standard \
178178
stylelint-config-sass-guidelines \
179179
stylelint-scss \
180+
gherkin-lint \
180181
graphql \
181182
graphql-schema-linter \
182183
npm-groovy-lint \

flavors/c_cpp/flavor.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"DOCKERFILE_HADOLINT",
2222
"EDITORCONFIG_EDITORCONFIG_CHECKER",
2323
"ENV_DOTENV_LINTER",
24+
"GHERKIN_GHERKIN_LINT",
2425
"GRAPHQL_GRAPHQL_SCHEMA_LINTER",
2526
"GROOVY_NPM_GROOVY_LINT",
2627
"HTML_DJLINT",

megalinter/descriptors/all_flavors.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"DOCKERFILE_HADOLINT",
2323
"EDITORCONFIG_EDITORCONFIG_CHECKER",
2424
"ENV_DOTENV_LINTER",
25+
"GHERKIN_GHERKIN_LINT",
2526
"GRAPHQL_GRAPHQL_SCHEMA_LINTER",
2627
"GROOVY_NPM_GROOVY_LINT",
2728
"HTML_DJLINT",

megalinter/descriptors/gherkin.megalinter-descriptor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
descriptor_id: GHERKIN
22
descriptor_type: tooling_format
33
descriptor_flavors:
4+
- c_cpp
45
- dotnet
56
- dotnetweb
67
file_extensions:

0 commit comments

Comments
 (0)