Fix up a number of remaining JavaScript lint issues.
Review Request #12770 — Created Jan. 6, 2023 and submitted — Latest diff uploaded
This goes through and fixes up the remaining complaints from ESLint.
Most fit into the following categories:
- Missing or unused variable declarations.
- Missing blank lines around blocks, before
return
/break
, or before
expect()
for Jasmine. - Spacing/indentation/alignment issues.
- Missing semicolons.
- Complex one-liners.
switch
formatting and now-required fall-through comments.
Verified ESLint was happy with the final results.