Requiring browser module

Hi. I’m doing some project with Matter.js, and got some issue.

So, this is my index.html file head:

    <script src=""></script>
    <script src="/client.js"></script>

As you see, first off i’m installing matter.js and after that running my script, but in editor I get this:

If I’ll console log it, it will show up normally in page, is there way to hide this error message or something, because I don’t want to see them everywhere.


In the client.js script,

/* global Matter */

This will tell the hinter to treat Matter as a global variable defined elsewhere.

There’s a bunch of other configuration possible in

Edit - maybe the editor is using eslinter rather than jshint?