[Docs] Add blank space to prevent incorrect comment attachment

Biome will "attach" comments to imports if there is no space between
them when it sorts imports (this allows suppression comments to work)
This commit is contained in:
NightKev 2025-09-14 20:45:01 -07:00
parent 793dea0024
commit de94e738fb
5 changed files with 11 additions and 7 deletions

View File

@ -40,9 +40,10 @@
* }
* ```
* Notes
* - If the class has any subclasses, then the second form of `loadTag` *must* be used.\
* - If the class has any subclasses, then the second form of `loadTag` *must* be used.
* @module
*/
// biome-ignore-start lint/correctness/noUnusedImports: TSDoc imports
import type { BattlerTag } from "#app/data/battler-tags";
// biome-ignore-end lint/correctness/noUnusedImports: TSDoc imports

View File

@ -30,6 +30,7 @@
*
* @module
*/
import { MoveId } from "#enums/move-id";

View File

@ -36,6 +36,7 @@
* - If the class has any subclasses, then the second form of `loadTag` *must* be used.
* @module
*/
import { applyAbAttrs } from "#abilities/apply-ab-attrs";
import { globalScene } from "#app/global-scene";
import { getPokemonNameWithAffix } from "#app/messages";

View File

@ -6,6 +6,7 @@
* The manager is exclusively used by the Battle Scene and is NOT intended for external use.
* @module
*/
import { PHASE_START_COLOR } from "#app/constants/colors";
import { globalScene } from "#app/global-scene";
import type { Phase } from "#app/phase";

View File

@ -1,9 +1,3 @@
// biome-ignore lint/correctness/noUnusedImports: TSDoc
import type CustomDefaultReporter from "#test/test-utils/reporters/custom-default-reporter";
import { basename, join, relative } from "path";
import chalk from "chalk";
import type { RunnerTask, RunnerTaskResult, RunnerTestCase } from "vitest";
/**
* Code to add markers to the beginning and end of tests.
* Intended for use with {@linkcode CustomDefaultReporter}, and placed inside test hooks
@ -11,6 +5,12 @@ import type { RunnerTask, RunnerTaskResult, RunnerTestCase } from "vitest";
* @module
*/
// biome-ignore lint/correctness/noUnusedImports: TSDoc
import type CustomDefaultReporter from "#test/test-utils/reporters/custom-default-reporter";
import { basename, join, relative } from "path";
import chalk from "chalk";
import type { RunnerTask, RunnerTaskResult, RunnerTestCase } from "vitest";
/** A long string of "="s to partition off each test from one another. */
const TEST_END_BARRIER = chalk.bold.hex("#ff7c7cff")("==================");