build(eslint): disable return type warnings in tests

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2022-01-23 22:50:51 +01:00 committed by Philip Molares
parent 898abc08f3
commit bf743b4266

View file

@ -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': [