Using eslint for browser side code
I just tried using eslint while writing front-end javascript. For some reason, I keep getting error flags on things that aren't really there. Eg, when I use
document.getElementById
, I get a missing semi colon error
, right in the middle of
document.getElementById
. Is there something I'm missing as far as properly configuring eslint for client side code? I've even added "browser": true
to the env
of the eslint config file.