From 42c13f1530e1ec80d2a698a30c99f5103c2980ea Mon Sep 17 00:00:00 2001 From: Raghunandan Balachandran Date: Sun, 15 Sep 2024 23:24:37 +0200 Subject: [PATCH] turn off testing library's aggressive reporting that flagged getByUsername and getByName github apis as sync apis in non-test code Signed-off-by: Raghunandan Balachandran --- .eslintrc.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index 01cad187be..caddf390f4 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -263,4 +263,7 @@ module.exports = { }, }, ], + settings: { + 'testing-library/custom-queries': 'off', + }, };