mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-02-11 02:50:44 +00:00
build(eslint): disable return type warnings in tests
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
898abc08f3
commit
bf743b4266
1 changed files with 6 additions and 1 deletions
|
@ -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': [
|
||||
|
|
Loading…
Reference in a new issue