repochecker/grammalecte: Add some new spelling exceptions

This commit is contained in:
nemunaire 2022-11-24 19:41:19 +01:00
commit fee1ab2a26
2 changed files with 11 additions and 0 deletions

View file

@ -165,6 +165,9 @@ func grammalecte(name string, text string, paragraph int, exceptions *sync.Check
break
}
}
if strings.HasPrefix(serror.Value, "CVE-20") {
continue
}
if allowed || exceptions.HasException(":spelling:"+serror.Value) {
continue
}