You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/diagnostics/IncorrectLineBreak.md
+28Lines changed: 28 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,15 @@ Complex logical conditions in If ... ElseIf ... EndIf should be carried as follo
18
18
* logical operators AND, OR are placed at the beginning of a line, and not at the end of the previous line;
19
19
* all conditions are preceded by the standard first indent, or they are aligned at the start of work without taking into account the logical operator (it is recommended to use spaces to align expressions relative to the first line).
20
20
21
+
**Examples of configuring exclusions:**
22
+
23
+
- If your design standard requires a closing brace and statement separator ";" were written *after* the line containing the last parameter, then you need to change the `listOfIncorrectFirstSymbol` parameter
24
+
- instead of the substring `|\);` (at the end of the setting) you need to write the substring `|\)\s*;\s*\S+`
25
+
- final version `\)|;|,\s*\S+|\)s*;\s*\S+`
26
+
- code example is listed in the examples section
27
+
28
+
Without the specified setting, the rule will issue notes on the closing bracket and the operator separator ";", located on a separate line
29
+
21
30
## Examples
22
31
<!-- В данном разделе приводятся примеры, на которые диагностика срабатывает, а также можно привести пример, как можно исправить ситуацию -->
0 commit comments