mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-10 13:44:39 +08:00
The leading underscore is accepted for the time being because the automated JSDOC -> TS translation produces such identifiers, and renaming will take some time. We're not enfocing any convention on object literals, as they are used as arguments to library functions in some places, which might follow different styles. This CL also enforces PascalCase for interface, typeAlias, and typeParameter. Bug: chromium:1057042 Change-Id: I8decfae35a2231d8068ce50b230cb1866ec494da Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2692161 Commit-Queue: Sigurd Schneider <sigurds@chromium.org> Reviewed-by: Mathias Bynens <mathias@chromium.org> Reviewed-by: Peter Marshall <petermarshall@chromium.org>