Open DetachHead opened 2 years ago
workaround:
{
'rules': {
'@typescript-eslint/method-signature-style': 'error'
'no-restricted-syntax': [
'error',
{
selector: 'TSAbstractMethodDefinition',
message: 'old method syntax is not allowed. use an arrow function instead',
}
]
}
}
note: may not be necessary if https://github.com/typescript-eslint/typescript-eslint/issues/5243 gets fixed