So I have this function:
function render(){
// do stuff
}
I do not call that function, because it is called from html as an event function, like:
<textarea id="input" class="input-box" onkeyup="render()"></textarea>
Well eslint does not see that, so it gives that warning (render is defined, but never used). Is there a way to specify that function is called elsewhere? Or just mute the warning?
For example if global variable is used, I can do /* global SomeVar*/ and it will mute warning of not defined variable. Maybe something similar could be done on functions like in example?