From 955fd71f3265214d0ae3ae35f192282bf354c5dd Mon Sep 17 00:00:00 2001 From: ZhiXuan Date: Sat, 14 Sep 2024 00:24:25 +0800 Subject: [PATCH] Fix lint issue --- packages/eslint-config-custom/index.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/eslint-config-custom/index.js b/packages/eslint-config-custom/index.js index 813bb43c..b032163d 100644 --- a/packages/eslint-config-custom/index.js +++ b/packages/eslint-config-custom/index.js @@ -58,6 +58,14 @@ module.exports = { format: ["camelCase", "PascalCase"], }, ], + "@typescript-eslint/no-misused-promises": [ + "error", + { + "checksVoidReturn": { + "arguments": false + } + }, + ] }, parserOptions: { tsconfigRootDir: __dirname,