Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit 936119d

Browse files
committed
Update sonarjs rules
1 parent 6c75ac3 commit 936119d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/rules/sonarjs/no-identical-conditions.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@ export type NoIdenticalConditionsOption = 'sonar-runtime';
1111
export type NoIdenticalConditionsOptions = [NoIdenticalConditionsOption?];
1212

1313
/**
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.
1515
*
1616
* @see [no-identical-conditions](https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-identical-conditions.md)
1717
*/
1818
export type NoIdenticalConditionsRuleConfig =
1919
RuleConfig<NoIdenticalConditionsOptions>;
2020

2121
/**
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.
2323
*
2424
* @see [no-identical-conditions](https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-identical-conditions.md)
2525
*/
2626
export interface NoIdenticalConditionsRule {
2727
/**
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.
2929
*
3030
* @see [no-identical-conditions](https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-identical-conditions.md)
3131
*/

0 commit comments

Comments
 (0)