commit | e33ce7afb00fdd2f686c33444bbe1372effd6ffc | [log] [tgz] |
---|---|---|
author | Pi-Hsun Shih <pihsun@chromium.org> | Thu Oct 03 06:53:57 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 03 06:53:57 2024 |
tree | ca3c7db384d31a6be94879fb4abcbabf1c12875f | |
parent | 04ec87401f511f2305ef57996c364e4e984bcb21 [diff] |
CCA: Add back ESLint for camera_app_ui Same as CL:5895433, adds the ESLint config back from before CL:5844045. The eslint.config.mjs is basically the same one as the one in recorder_app_ui, with names changed from cra to cca, and one CCA specific rule `cca/string-enum-order` added. Also fix all lint warning found, notably rename all variables / functions to use the strictCamelCase style. Currently the lint is only run manually on `cca.py lint`. Presubmit check will be added in the next CL. METRICS_DOCUMENTATION_UPDATED=true Bug: 368085620 Test: cca.py lint Test: manually on device, check camera app works Test: tast run <ip> camera.CCAUIStress* Change-Id: I2facb039171de229e4134287e763027669eeddb0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5897536 Commit-Queue: Pi-Hsun Shih <pihsun@chromium.org> Reviewed-by: Shik Chen <shik@chromium.org> Cr-Commit-Position: refs/heads/main@{#1363499}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.