mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-25 02:10:56 +00:00
suppress all cascading chktex environment errors
This commit is contained in:
parent
6f11c2d7cc
commit
4b50505ec9
1 changed files with 2 additions and 0 deletions
|
@ -155,6 +155,7 @@ define -> [
|
|||
,
|
||||
ruleId: "hint_mismatched_environment2"
|
||||
types: ['environment']
|
||||
cascadesFrom: ['environment']
|
||||
regexToMatch: /Error: `\\end\{([^\}]+)\}' expected but found `\\end\{([^\}]+)\}'.*/
|
||||
newMessage: "Error: environments do not match: \\begin{$1} ... \\end{$2}"
|
||||
humanReadableHint: """
|
||||
|
@ -163,6 +164,7 @@ define -> [
|
|||
,
|
||||
ruleId: "hint_mismatched_environment3"
|
||||
types: ['environment']
|
||||
cascadesFrom: ['environment']
|
||||
regexToMatch: /Warning: No matching \\end found for `\\begin\{([^\}]+)\}'.*/
|
||||
newMessage: "Warning: No matching \\end found for \\begin{$1}"
|
||||
humanReadableHint: """
|
||||
|
|
Loading…
Reference in a new issue