From ba1ccdf004b764a5fcbab6b314f64d5055cc6b2a Mon Sep 17 00:00:00 2001 From: Karl Horky Date: Fri, 23 Aug 2024 18:59:06 +0200 Subject: [PATCH] Update URL about async fn event handlers being officially discouraged --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index dd7f750..4243427 100644 --- a/index.js +++ b/index.js @@ -673,9 +673,9 @@ const configArray = [ // - https://github.com/typescript-eslint/typescript-eslint/pull/4623 // - https://github.com/typescript-eslint/typescript-eslint/issues/4619 // - // Although technically, async functions should not - // be passed to event handler props: - // - https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/66505#discussioncomment-10066385 + // Although technically, async functions are officially + // discouraged to be passed to event handler props: + // - https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/66505#discussioncomment-10411110 attributes: false, }, },