[cr149][WIP] Fixing @typescript-eslint/no-explicit-any warnings
Chromium changes: https://chromium.googlesource.com/chromium/src/+/8f97262a2cc5aa37fcd710c3c141eb7f08c01f92 commit 8f97262a2cc5aa37fcd710c3c141eb7f08c01f92 Author: dpapad <dpapad@chromium.org> Date: Wed Apr 15 15:03:48 2026 -0700 WebUI: Enable @typescript-eslint/no-explicit-any where possible. Since there are too many violations across the codebase, enabling this check by default will take a while. Instead of waiting until all violations are fixed before the check is enabled anywhere, enabling it for all targets that already don't exhibit any violations. As the remaining offending targets are fixed they will be removed from the exception list to ensure they can no longer regress after being fixed. The new check is skipped on Ash-only WebUI targets for now. Bug: 494464740 Change-Id: Iadaa8718b1bb6e0188b80615cf2aff4ec3193588 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7763564 Reviewed-by: John Lee <johntlee@chromium.org> Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org> Cr-Commit-Position: refs/heads/main@{#1615435}
This commit is contained in:
@@ -27,7 +27,15 @@ index dc93e6525d54e270d5e9e1141e31d8359f24378f..297605755ead5259867c97f255a4a87b
|
||||
if (is_ash_webui) {
|
||||
enable_web_component_missing_deps = false
|
||||
}
|
||||
@@ -826,7 +828,7 @@ template("build_webui") {
|
||||
@@ -631,6 +633,7 @@ template("build_webui") {
|
||||
"//ui/webui/resources/cr_components/searchbox",
|
||||
"//ui/webui/resources/cr_elements",
|
||||
"//ui/webui/resources/js",
|
||||
+ "//brave/ui/webui/resources",
|
||||
]
|
||||
|
||||
if (is_android) {
|
||||
@@ -855,7 +858,7 @@ template("build_webui") {
|
||||
}
|
||||
|
||||
if (!generate_grdp) {
|
||||
|
||||
Reference in New Issue
Block a user