mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-20 16:42:45 +02:00
Merge 6d30536278
into 1ff2701964
This commit is contained in:
commit
5a3c937e53
@ -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",
|
||||
|
@ -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