A year ago I wrote several projects with jQuery that were working fine but I was looking at my portfolio and now they are broken. In the ide the message I see is
$ is not defined, please fix or add /*global $*/
I've used chrome debugger network to know that jquery.min.js is loading correctly and it is loaded first in the html file. Can anyone tell me what has changed that $ wouldn't be recognized any longer.
External JS file(example of functions using JQuery with eslint only on $)
function updateDisplay(item){
$('.panel-body').html('<p class="pull-right">' + item + '</p>');
}
$( "button" ).click(function() {
$( this ).removeClass('button[focus]');
getId();
});