Valks-Games/io-game

Linter not working

valkyrienyanko opened this issue · 3 comments

yarn lint and yarn lint:fix compile successfully but do not do anything nor give any useful feedback?

Preview

Is this still an issue? It worked for me

image

and running yarn lint:fix did fix the spacing issue.

Earlier I was trying to figure out why the linter was not linting the public folder and then I discovered the .eslintignore file. I removed the public folder from the ignore list and found out that eslint was now complaining that all p5.js functions were undefined. So I installed a p5.js config and now everything seems to work. I'll commit the changes so you can see as well. Right now I'm just trying to suppress the yarn error on eslint execution. Preview

Not that it matters that yarn is spitting out errors whenever you use the linter.