commit | b17f3beba40bfaa324267967ebcde9a75aa16a8c | [log] [tgz] |
---|---|---|
author | dpapad <[email protected]> | Tue May 10 21:34:13 2022 |
committer | Chromium LUCI CQ <[email protected]> | Tue May 10 21:34:13 2022 |
tree | 4fe5f362a9044afa524f121a9e0e7d174fc059fa | |
parent | 3167f6a54709c5dc52407a9fe8ff4eef421ecc29 [diff] |
WebUI: Enforce function naming style with ESLint checks for TS files. Functions residing in modules should not end with the underscore suffix per [1]. Other than that should follow similar style (camelCase) to methods from [2]. Fixing all existing violations as part of enabling the new check. [1] https://google.github.io/styleguide/jsguide.html#naming-module-local-names [2] https://google.github.io/styleguide/jsguide.html#naming-method-names Bug: 720034 Change-Id: I22476c5f5396751eac1c8ef4900e627074268d91 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3635271 Auto-Submit: Demetrios Papadopoulos <[email protected]> Reviewed-by: Jeffrey Young <[email protected]> Reviewed-by: John Lee <[email protected]> Commit-Queue: John Lee <[email protected]> Cr-Commit-Position: refs/heads/main@{#1001692}
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.