Those would be merely warnings not errors, given neither of them would harm the code execution at all.
Actually, there are many JS coders out there who don’t use semicolons as their coding style.
Instead they rely on JS’ Automatic Semicolon Insertion (ASI) feature:
But if you’re serious about linting, you’re better off coding in TypeScript instead, which goes beyond JS linters and can catch datatype errors as well:
We can find instructions for p5js types on this repo below:
And here’s my own little sketch using TypeScript + p5.ts: