mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 15:03:24 +02:00
Fixed biome from removing tsdoc linkcodes
This commit is contained in:
parent
807d61d564
commit
ed984040a7
10
biome.jsonc
10
biome.jsonc
@ -175,11 +175,17 @@
|
||||
}
|
||||
},
|
||||
|
||||
// Overrides to prevent unused import removal inside `overrides.ts` and enums files (for TSDoc linkcodes),
|
||||
// Overrides to prevent unused import removal inside `overrides.ts`, enums & `.d.ts` files (for TSDoc linkcodes),
|
||||
// as well as inside script boilerplate files.
|
||||
{
|
||||
// TODO: Rename existing boilerplates in the folder and remove this last alias
|
||||
"includes": ["**/src/overrides.ts", "**/src/enums/**/*", "scripts/**/*.boilerplate.ts", "**/boilerplates/*.ts"],
|
||||
"includes": [
|
||||
"**/src/overrides.ts",
|
||||
"**/src/enums/**/*",
|
||||
"**/*.d.ts",
|
||||
"scripts/**/*.boilerplate.ts",
|
||||
"**/boilerplates/*.ts"
|
||||
],
|
||||
"linter": {
|
||||
"rules": {
|
||||
"correctness": {
|
||||
|
4
test/@types/vitest.d.ts
vendored
4
test/@types/vitest.d.ts
vendored
@ -4,8 +4,6 @@ import type { Phase } from "#app/phase";
|
||||
import type Overrides from "#app/overrides";
|
||||
import type { ArenaTag } from "#data/arena-tag";
|
||||
import type { TerrainType } from "#data/terrain";
|
||||
import type { BattlerTag } from "#data/battler-tags";
|
||||
import type { PositionalTag } from "#data/positional-tags/positional-tag";
|
||||
import type { AbilityId } from "#enums/ability-id";
|
||||
import type { ArenaTagSide } from "#enums/arena-tag-side";
|
||||
import type { ArenaTagType } from "#enums/arena-tag-type";
|
||||
@ -23,7 +21,7 @@ import type { toHaveTypesOptions } from "#test/test-utils/matchers/to-have-types
|
||||
import type { PhaseString } from "#types/phase-types";
|
||||
import type { TurnMove } from "#types/turn-move";
|
||||
import type { AtLeastOne } from "#types/type-helpers";
|
||||
import type { toDmgValue } from "utils/common";
|
||||
import type { toDmgValue } from "#utils/common";
|
||||
import type { expect } from "vitest";
|
||||
import { toHaveBattlerTagOptions } from "#test/test-utils/matchers/to-have-battler-tag";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user