We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Just trying ESlint on some simple p5.js code. It spits out a long list like ...
26:3 error 'createCanvas' is not defined no-undef
29:3 error 'colorMode' is not defined no-undef
29:13 error 'HSB' is not defined no-undef
36:13 error 'random' is not defined no-undef
36:23 error 'width' is not defined no-undef
37:23 error 'height' is not defined no-undef
I see you can tell ESlint the symbols in known libraries .. examples here ..
Can I specify a config file that tells ESlint the symbols (function calls like createCanvas(), globals like width) in p5.js ? and ignores them ?
Thanks, Greg E.