mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-02 22:42:15 +02:00
Compare commits
12 Commits
5a3c937e53
...
8e5bec6b2c
Author | SHA1 | Date | |
---|---|---|---|
|
8e5bec6b2c | ||
|
4b70fab608 | ||
|
6d30536278 | ||
|
22e28956b6 | ||
|
9ca3bdebdc | ||
|
d3416df4b4 | ||
|
a46105f866 | ||
|
a113c71791 | ||
|
0fafaa62b6 | ||
|
a046c0c779 | ||
|
9a3e9fd652 | ||
|
f3f746ebdc |
@ -1,6 +1,19 @@
|
||||
/** @type {import('dependency-cruiser').IConfiguration} */
|
||||
module.exports = {
|
||||
forbidden: [
|
||||
{
|
||||
name: "no-non-type-@type-exports",
|
||||
severity: "error",
|
||||
comment:
|
||||
"Files in @types should not export anything but types and interfaces. " +
|
||||
"The folder is intended to house imports that are removed at runtime, " +
|
||||
"and thus should not contain anything with a bearing on runtime code.",
|
||||
from: {},
|
||||
to: {
|
||||
path: "(^|/)src/@types",
|
||||
dependencyTypesNot: ["type-only"],
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "only-type-imports",
|
||||
severity: "error",
|
||||
|
@ -306,13 +306,6 @@ export class BlockRecoilDamageAttr extends AbAttr {
|
||||
): void {
|
||||
cancelled.value = true;
|
||||
}
|
||||
|
||||
getTriggerMessage(pokemon: Pokemon, abilityName: string, ..._args: any[]) {
|
||||
return i18next.t("abilityTriggers:blockRecoilDamage", {
|
||||
pokemonName: getPokemonNameWithAffix(pokemon),
|
||||
abilityName: abilityName,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -89,7 +89,7 @@ import { MoveEffectTrigger } from "#enums/MoveEffectTrigger";
|
||||
import { MultiHitType } from "#enums/MultiHitType";
|
||||
import { invalidAssistMoves, invalidCopycatMoves, invalidMetronomeMoves, invalidMirrorMoveMoves, invalidSleepTalkMoves, invalidSketchMoves } from "./invalid-moves";
|
||||
import { isVirtual, MoveUseMode } from "#enums/move-use-mode";
|
||||
import { ChargingMove, MoveAttrMap, MoveAttrString, MoveKindString, MoveClassMap } from "#app/@types/move-types";
|
||||
import type { ChargingMove, MoveAttrMap, MoveAttrString, MoveKindString, MoveClassMap } from "#app/@types/move-types";
|
||||
import { applyMoveAttrs } from "./apply-attrs";
|
||||
import { frenzyMissFunc, getMoveTargets } from "./move-utils";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user