repochecker/grammalecte: Add some new spelling exceptions

This commit is contained in:
nemunaire 2022-11-24 19:41:19 +01:00
parent 2381dfe4f5
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
}

View File

@ -36,6 +36,14 @@ var ALLOWED_WORDS = []string{
"TCP",
"UDP",
"ICMP",
"TLS",
"SSL",
"mimikatz",
"OpenSSL",
"RDP",
"AES",
"RSA",
"LFSR",
}
var CommonOpts = GrammalecteOptions{