mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-29 16:57:00 +08:00
[eslint] Enable useful rules
@typescript-eslint/no-inferrable-types Simplifies the code and makes type be more specific. @typescript-eslint/return-await In theory more performant, but also provides better debugging experience. @typescript-eslint/ban-ts-comment Disallow all but ts-expect-error, as else the error may get fixed not remove and later mask unrelated issues Bug: 397260638 Change-Id: I09f268eb9157336635c378fa76546a4196e448e9 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6281149 Reviewed-by: Victor Porof <victorporof@chromium.org> Commit-Queue: Nikolay Vitkov <nvitkov@chromium.org> Auto-Submit: Nikolay Vitkov <nvitkov@chromium.org>
This commit is contained in:
committed by
Devtools-frontend LUCI CQ
parent
dcf675078d
commit
d36860c0b4
@@ -198,7 +198,7 @@ class Templates:
|
||||
* ): void,
|
||||
* }}
|
||||
*/
|
||||
// @ts-ignore typedef
|
||||
// @ts-expect-error typedef
|
||||
export let InspectorBackendAPI;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user