We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 97cff78 + 58f763a commit e449a3eCopy full SHA for e449a3e
1 file changed
internal/docgen/parsing.go
@@ -557,7 +557,6 @@ func toCodacyLanguages(r SemgrepRule) []string {
557
"dockerfile": "Dockerfile",
558
"elixir": "Elixir",
559
"go": "Go",
560
- "generic": "Go",
561
"java": "Java",
562
"javascript": "Javascript",
563
"js": "Javascript",
@@ -583,7 +582,7 @@ func toCodacyLanguages(r SemgrepRule) []string {
583
582
584
codacyLanguages := lo.Map(
585
lo.Filter(r.Languages, func(s string, _ int) bool {
586
- return s != "regex" && // internal rules?
+ return s != "generic" && s != "regex" && // internal rules?
587
s != "lua" && s != "ocaml" && s != "html" && s != "solidity" // not supported by Codacy
588
}),
589
func(s string, _ int) string {
0 commit comments