Skip to content

Commit 2de5742

Browse files
authored
fix: add missing types for no-misleading-character-class options (#18905)
1 parent c153084 commit 2de5742

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

lib/types/rules/possible-errors.d.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,17 @@ export interface PossibleErrors extends Linter.RulesRecord {
391391
* @since 5.3.0
392392
* @see https://eslint.org/docs/rules/no-misleading-character-class
393393
*/
394-
"no-misleading-character-class": Linter.RuleEntry<[]>;
394+
"no-misleading-character-class": Linter.RuleEntry<
395+
[
396+
Partial<{
397+
/**
398+
* @since 9.3.0
399+
* @default false
400+
*/
401+
allowEscape: boolean;
402+
}>,
403+
]
404+
>;
395405

396406
/**
397407
* Rule to disallow calling global object properties as functions.

0 commit comments

Comments
 (0)