Skip to content

Commit 2de5742

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

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy