This repository was archived by the owner on Mar 7, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,21 +11,21 @@ export type NoIdenticalConditionsOption = 'sonar-runtime';
11
11
export type NoIdenticalConditionsOptions = [ NoIdenticalConditionsOption ?] ;
12
12
13
13
/**
14
- * Related "if/ else if " statements should not have the same condition.
14
+ * Related "if- else-if" and "switch-case " statements should not have the same condition.
15
15
*
16
16
* @see [no-identical-conditions](https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-identical-conditions.md)
17
17
*/
18
18
export type NoIdenticalConditionsRuleConfig =
19
19
RuleConfig < NoIdenticalConditionsOptions > ;
20
20
21
21
/**
22
- * Related "if/ else if " statements should not have the same condition.
22
+ * Related "if- else-if" and "switch-case " statements should not have the same condition.
23
23
*
24
24
* @see [no-identical-conditions](https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-identical-conditions.md)
25
25
*/
26
26
export interface NoIdenticalConditionsRule {
27
27
/**
28
- * Related "if/ else if " statements should not have the same condition.
28
+ * Related "if- else-if" and "switch-case " statements should not have the same condition.
29
29
*
30
30
* @see [no-identical-conditions](https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-identical-conditions.md)
31
31
*/
You can’t perform that action at this time.
0 commit comments