From 4c20251ffb0f98a6102a9dfc5e06b3b4ce951f12 Mon Sep 17 00:00:00 2001 From: AyushShukla1807 Date: Mon, 30 Mar 2026 23:10:22 +0530 Subject: [PATCH] docs: fix typos in Herebyfile.mjs and eslint rule comment --- Herebyfile.mjs | 4 ++-- scripts/eslint/rules/argument-trivia.cjs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Herebyfile.mjs b/Herebyfile.mjs index 781bf86a8aa02..86f34eed95990 100644 --- a/Herebyfile.mjs +++ b/Herebyfile.mjs @@ -649,13 +649,13 @@ const copyBuiltLocalDiagnosticMessages = task({ export const otherOutputs = task({ name: "other-outputs", - description: "Builds miscelaneous scripts and documents distributed with the LKG", + description: "Builds miscellaneous scripts and documents distributed with the LKG", dependencies: [typingsInstaller, watchGuard, generateTypesMap, copyBuiltLocalDiagnosticMessages], }); export const watchOtherOutputs = task({ name: "watch-other-outputs", - description: "Builds miscelaneous scripts and documents distributed with the LKG", + description: "Builds miscellaneous scripts and documents distributed with the LKG", hiddenFromTaskList: true, dependencies: [watchTypingsInstaller, watchWatchGuard, generateTypesMap, copyBuiltLocalDiagnosticMessages], }); diff --git a/scripts/eslint/rules/argument-trivia.cjs b/scripts/eslint/rules/argument-trivia.cjs index 44e3d4391e000..7636c59910100 100644 --- a/scripts/eslint/rules/argument-trivia.cjs +++ b/scripts/eslint/rules/argument-trivia.cjs @@ -117,7 +117,7 @@ module.exports = createRule({ const name = ts.unescapeLeadingUnderscores(expectedName); // If a parameter is unused, we prepend an underscore. Ignore this // so that we can switch between used and unused without modifying code, - // requiring that arugments are tagged with the non-underscored name. + // requiring that arguments are tagged with the non-underscored name. return name.startsWith("_") ? name.slice(1) : name; } }