Skip to content

Commit b3cbe11

Browse files
authored
fix: add missing types for no-sequences rule (#18929)
1 parent 976f77f commit b3cbe11

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

lib/types/rules/best-practices.d.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,17 @@ export interface BestPractices extends Linter.RulesRecord {
803803
* @since 0.5.1
804804
* @see https://eslint.org/docs/rules/no-sequences
805805
*/
806-
"no-sequences": Linter.RuleEntry<[]>;
806+
"no-sequences": Linter.RuleEntry<
807+
[
808+
Partial<{
809+
/**
810+
* @since 7.23.0
811+
* @default true
812+
*/
813+
allowInParentheses: boolean;
814+
}>,
815+
]
816+
>;
807817

808818
/**
809819
* Rule to disallow throwing literals as exceptions.

0 commit comments

Comments
 (0)