Undefined object error in editor

How do I make glitch stop complaining about object not being defined?


You can add it as a global at the top of your source file, like /* globals zuix */

Ok this worked.
Is this a glitch specific feature? If so, is there a brief documentation page where to start learning glitch features?


We use eslint for linting, they have more about it in their docs - see https://eslint.org/docs/user-guide/configuring#specifying-globals

1 Like