commit | e51b84cefc4f50ea81fd5ae620df1f4295c1bc5b | [log] [tgz] |
---|---|---|
author | Teresa Mao <temao@chromium.org> | Mon Feb 24 21:58:26 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Feb 24 21:58:26 2025 |
tree | 11029c42df9bae458ecdbd4a247fac9eb063e78d | |
parent | f301a1abded74b6f243b3e42155b9ed63958f30a [diff] |
WebUI: Fix ESLint @typescript-eslint/no-unnecessary-type-assertion errors, part 6. Check in fixes for violations in CrOS tests. All violations were identified by adding @typescript-eslint/no-unnecessary-type-assertion to rules in ui/webui/resources/tools/eslint_ts.config_base.mjs. This rule will eventually be added to the build step after all existing violations are resolved. The diffs were generated using a local script that compares the TypeScript code before and after applying the rule and patches the differences to the source code. Bug: 393525665 Change-Id: I165f430ecdc29fd435a0e996e7059709e8401de9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6294340 Reviewed-by: Kyle Horimoto <khorimoto@chromium.org> Commit-Queue: Teresa Mao <temao@chromium.org> Cr-Commit-Position: refs/heads/main@{#1424151}
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.