repochecker/grammalecte: Don't harass on mc_mot_composé already flag as spelling exception
This commit is contained in:
parent
f9e9bfcb75
commit
5b47d1c250
@ -187,6 +187,10 @@ func grammalecte(name string, text string, exceptions *sync.CheckExceptions, opt
|
||||
continue
|
||||
}
|
||||
|
||||
if gerror.RuleId == "mc_mot_composé" && exceptions.HasException(fmt.Sprintf(":spelling:%s", data.Text[gerror.Start+1:gerror.End+1])) {
|
||||
continue
|
||||
}
|
||||
|
||||
if exceptions.HasException(fmt.Sprintf(":%d:%s", data.Paragraph, gerror.RuleId)) {
|
||||
continue
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user