mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-03 06:52:16 +02:00
Compare commits
11 Commits
8e5bec6b2c
...
5a3c937e53
Author | SHA1 | Date | |
---|---|---|---|
|
5a3c937e53 | ||
|
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",
|
||||
|
@ -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