Turn off linter for .js files?

Is there away to tell Glitch to disable the linter it is using on .js files? I have a project that includes an external library – p5.js. The linter doesn’t know how to handle code in my own JS script that uses functions and variables from that library, so the page is full of red circles and squiggle marks even on lines that are perfectly legitimate.

Is there a way to just turn off live linting so this doesn’t happen?
Or is there some setup step I can do so the built in linter correctly scans the library .js files my project includes before parsing my code?

1 Like

since you’re global variables given by p5.js, you can add this lint rule to the top of your js page to hide those errors. for example,

/* global p5, somep5Function, someVariable */