From 3209280b298c89e18005a11de7d22d3eeefe44c6 Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Wed, 27 Jan 2021 01:38:47 +0100 Subject: [PATCH] Fix linter warning --- .eslintrc.js | 2 ++ src/module/ds4.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 8d021e69..6f42ee63 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -12,6 +12,8 @@ module.exports = { "plugin:prettier/recommended", // Enables eslint-plugin-prettier and eslint-config-prettier. This will display prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array. ], + plugins: ["@typescript-eslint"], + rules: { // Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs // e.g. "@typescript-eslint/explicit-function-return-type": "off", diff --git a/src/module/ds4.ts b/src/module/ds4.ts index 0431d04a..7eea2bbf 100644 --- a/src/module/ds4.ts +++ b/src/module/ds4.ts @@ -113,7 +113,7 @@ Hooks.once("ready", function () { * (in this order). */ ["renderApplication", "renderActorSheet", "renderItemSheet"].forEach((hookName: string) => { - Hooks.on(hookName, (app: Dialog, html: JQueryStatic, data: any) => { + Hooks.on(hookName, (app: Dialog, html: JQueryStatic) => { $(html) .find("input") .on("focus", (ev: JQuery.FocusEvent) => {