Skip to content

Commit a83ca7a

Browse files
committed
Motivation [ci skip]
1 parent 2b5b81e commit a83ca7a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

man/checkers/duplicateExpressionTernary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The warning is triggered when:
1313
- The second and third operands of a ternary operator are syntactically identical expressions
1414
- This includes cases where variables are referenced through aliases that resolve to the same expression
1515

16-
## Why we warn
16+
## Motivation
1717

1818
The same expressions indicates that there might be some logic error or copy paste mistake.
1919

man/checkers/duplicateValueTernary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ However, no warning is generated when:
1919
- Variables are modified between evaluations
2020
- The expressions involve non-constant computations
2121

22-
## Why we warn
22+
## Motivation
2323

2424
The same value indicates that there might be some logic error or copy paste mistake.
2525

0 commit comments

Comments
 (0)