repochecker/grammalecte: Add some new spelling exceptions
This commit is contained in:
parent
2381dfe4f5
commit
fee1ab2a26
2 changed files with 11 additions and 0 deletions
|
|
@ -165,6 +165,9 @@ func grammalecte(name string, text string, paragraph int, exceptions *sync.Check
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if strings.HasPrefix(serror.Value, "CVE-20") {
|
||||||
|
continue
|
||||||
|
}
|
||||||
if allowed || exceptions.HasException(":spelling:"+serror.Value) {
|
if allowed || exceptions.HasException(":spelling:"+serror.Value) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,14 @@ var ALLOWED_WORDS = []string{
|
||||||
"TCP",
|
"TCP",
|
||||||
"UDP",
|
"UDP",
|
||||||
"ICMP",
|
"ICMP",
|
||||||
|
"TLS",
|
||||||
|
"SSL",
|
||||||
|
"mimikatz",
|
||||||
|
"OpenSSL",
|
||||||
|
"RDP",
|
||||||
|
"AES",
|
||||||
|
"RSA",
|
||||||
|
"LFSR",
|
||||||
}
|
}
|
||||||
|
|
||||||
var CommonOpts = GrammalecteOptions{
|
var CommonOpts = GrammalecteOptions{
|
||||||
|
|
|
||||||
Reference in a new issue