commit | d631d1736e630926394aa87f9ac4022618560bbf | [log] [tgz] |
---|---|---|
author | dpapad <[email protected]> | Wed Jul 20 17:29:01 2022 |
committer | Chromium LUCI CQ <[email protected]> | Wed Jul 20 17:29:01 2022 |
tree | 6b78d08640523131016bf6cc227d5f0281ffc1a4 | |
parent | b37cc213df80e3474e4b081dc5060cb80702fe99 [diff] |
WebUI: Enforce one variable declaration per line with ESLint. Per the styleguide at [1] "Every local variable declaration declares only one variable: declarations such as let a = 1, b = 2; are not used." Fixing all violations (using ESLint's --fix flag), and turning on the one-var ESLint rule to catch such violations at PRESUBMIT time in the future. [1] https://google.github.io/styleguide/jsguide.html#features-one-variable-per-declaration Bug: 720034 Change-Id: I369c12ef7d456722e03fbc8f178245fa82e638c6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3774879 Reviewed-by: John Lee <[email protected]> Reviewed-by: Luciano Pacheco <[email protected]> Commit-Queue: Demetrios Papadopoulos <[email protected]> Cr-Commit-Position: refs/heads/main@{#1026316}
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.