mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-30 09:17:09 +08:00
This improves the PRESUBMIT performance as we can rely on the AST parsing of ESLint, meaning we don't have to parse AST twice. It also allows us to use the nice `--fix` solution to insert the proper license header in the files. This shaves an expected 5 seconds of the presubmit time (non-scientifically computed based on 2 uploads). Change-Id: I5c53e9b232585f9ec46f86b36557c50bf80f7add Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2097992 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>