1
0
Fork 0
mirror of synced 2024-07-04 14:01:27 +12:00

Updating eslint settings to allow function overloading in Typescript.

This commit is contained in:
mike12345567 2024-05-16 13:39:16 +01:00
parent 06d6d84b55
commit 39ce040b1c

View file

@ -55,7 +55,9 @@
}
],
"no-redeclare": "off",
"@typescript-eslint/no-redeclare": "error"
"@typescript-eslint/no-redeclare": "error",
// have to turn this off to allow function overloading in typescript
"no-dupe-class-members": "off"
}
},
{
@ -88,7 +90,9 @@
"jest/expect-expect": "off",
// We do this in some tests where the behaviour of internal tables
// differs to external, but the API is broadly the same
"jest/no-conditional-expect": "off"
"jest/no-conditional-expect": "off",
// have to turn this off to allow function overloading in typescript
"no-dupe-class-members": "off"
}
},
{