xo: Enable capitalized-comments.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg
2020-04-25 17:22:22 -07:00
committed by Anders Kaseorg
parent 4bfa7c9265
commit e49a880ed6
27 changed files with 61 additions and 63 deletions

View File

@@ -415,7 +415,7 @@ export default class GeneralSection extends BaseSection {
// This path is for the JSON file that stores key: value pairs for supported locales
const langList = this.generateSelectTemplate(supportedLocales, 'lang-menu');
langDiv.innerHTML += langList;
// langMenu is the select-option dropdown menu formed after executing the previous command
// `langMenu` is the select-option dropdown menu formed after executing the previous command
const langMenu: HTMLSelectElement = document.querySelector('.lang-menu');
// The next three lines set the selected language visible on the dropdown button