mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-30 01:07:01 +08:00
For most of the PRESUBMIT invocations, the CL in question does not change anything with regards to ESLint. Therefore, we can skip doing the full check and only perform the check on relevant JavaScript and TypeScript files. However, if we do change the ESLint configuration (via one of the involved build scripts/configuration files), we should run the full check to make sure we are compliant. `npm run check-lint` will still run the full lint check. This saves about 15 seconds on a regular PRESUBMIT invocation, scaling with the number of files changed. R=jacktfranklin@chromium.org,aerotwist@chromium.org Change-Id: I9c1bb055274bfa1d8cc47c9039a1196c92eba399 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2097993 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>