How to setup linting rules for functions calls without brackets ()

Coming from java, I’ve spent many a day debugging what almost inevitably could be summed up as the compiler/linter not warning of function calls made without the brackets.

i.e with a class as such:

export class democlass {

function demofunction(){

    }
}

Very often, in TS/js, on calling demofunction from another class, I’ll do this

instanceOfDemoClass.demofunction

instead of

instanceOfDemoClass.demofunction();

Obviously, in java, the compiler will immediately scream at you, a behaviour which Ts/VScode doesn’t exactly emulate.

I’d like to setup a rule to warn about this call if, of course, the called class doesn’t contain a property named “demofunction”.

Any help/experience with this problem?

Cheers