From bf743b426601221275f457b573c185092008606a Mon Sep 17 00:00:00 2001 From: David Mehren Date: Sun, 23 Jan 2022 22:50:51 +0100 Subject: [PATCH] build(eslint): disable return type warnings in tests Signed-off-by: David Mehren --- .eslintrc.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 8b0b11b4f..fe103e75c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -18,11 +18,16 @@ module.exports = { '@typescript-eslint/no-unsafe-argument': 'off', '@typescript-eslint/no-unsafe-member-access': 'off', '@typescript-eslint/require-await': 'off', + '@typescript-eslint/explicit-function-return-type': 'off', 'jest/unbound-method': 'error', 'jest/expect-expect': [ 'error', { - assertFunctionNames: ['expect', 'request.**.expect', 'agent.**.expect'], + assertFunctionNames: [ + 'expect', + 'request.**.expect', + 'agent.**.expect', + ], }, ], 'jest/no-standalone-expect': [