Undefined object error in editor


#1

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

Gene.


#2

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


#3

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

Thanks.


#4

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