Upgrade typescript-eslint
This also includes some fixes in the rule implementations that are
required for the 5.0.0 breaking change as documented in
https://github.com/typescript-eslint/typescript-eslint/releases/tag/v5.0.0
which lists the AST-Spec changes. Specifically, `ClassProperty`
was renamed to `PropertyDefinition`.
DISABLE_THIRD_PARTY_CHECK=Requires AST changes in ESLint rules
R=jacktfranklin@chromium.org
Bug: none
Change-Id: I1d107b071fa265af8e178ee5e229f4a9d2f00d75
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3268295
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
diff --git a/node_modules/regexpp/index.d.ts b/node_modules/regexpp/index.d.ts
index 7943c63..ae359cf 100644
--- a/node_modules/regexpp/index.d.ts
+++ b/node_modules/regexpp/index.d.ts
@@ -137,6 +137,7 @@
parent: RegExpLiteral | null;
dotAll: boolean;
global: boolean;
+ hasIndices: boolean;
ignoreCase: boolean;
multiline: boolean;
sticky: boolean;
@@ -169,7 +170,7 @@
ecmaVersion?: EcmaVersion;
onLiteralEnter?(start: number): void;
onLiteralLeave?(start: number, end: number): void;
- onFlags?(start: number, end: number, global: boolean, ignoreCase: boolean, multiline: boolean, unicode: boolean, sticky: boolean, dotAll: boolean): void;
+ onFlags?(start: number, end: number, global: boolean, ignoreCase: boolean, multiline: boolean, unicode: boolean, sticky: boolean, dotAll: boolean, hasIndices: boolean): void;
onPatternEnter?(start: number): void;
onPatternLeave?(start: number, end: number): void;
onDisjunctionEnter?(start: number): void;
@@ -242,6 +243,6 @@
}
declare module 'regexpp/ecma-versions' {
- export type EcmaVersion = 5 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020;
+ export type EcmaVersion = 5 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022;
}