From 57b902f986c8c45757dcbef7eaccfebfe997c672 Mon Sep 17 00:00:00 2001 From: Oliver Date: Sun, 12 Apr 2026 22:39:12 -0600 Subject: [PATCH] Lint the code --- eslint.config.mjs | 2 ++ module/apps/PlayerSheet.mjs | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 70c0b59..88feed0 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -22,6 +22,8 @@ export default [ Hooks: `readonly`, ui: `readonly`, foundry: `readonly`, + Actor: `readonly`, + Item: `readonly`, ChatMessage: `readonly`, ActiveEffect: `readonly`, fromUuid: `readonly`, diff --git a/module/apps/PlayerSheet.mjs b/module/apps/PlayerSheet.mjs index fe0789c..ace7fb2 100644 --- a/module/apps/PlayerSheet.mjs +++ b/module/apps/PlayerSheet.mjs @@ -1,11 +1,11 @@ import { __ID__, filePath } from "../consts.mjs"; +import { deleteItemFromElement, editItemFromElement } from "./utils.mjs"; import { AttributeManager } from "./AttributeManager.mjs"; import { attributeSorter } from "../utils/attributeSort.mjs"; import { config } from "../config.mjs"; +import { Logger } from "../utils/Logger.mjs"; import { TAFDocumentSheetConfig } from "./TAFDocumentSheetConfig.mjs"; import { TAFDocumentSheetMixin } from "./mixins/TAFDocumentSheetMixin.mjs"; -import { deleteItemFromElement, editItemFromElement } from "./utils.mjs"; -import { Logger } from "../utils/Logger.mjs"; const { HandlebarsApplicationMixin } = foundry.applications.api; const { ActorSheetV2 } = foundry.applications.sheets;