We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extension swears when sees love:
attempt to index global 'love' (a nil value).
attempt to index global 'love' (a nil value)
Have no idea what to do with it. Same message I get when using comand moon file.moon.
moon file.moon
But I can avoid this error if use moonc file.moon (without -l parameter).
moonc file.moon
UPD:
I've read this doc https://github.com/leafo/moonscript/blob/master/docs/command_line.md#global-variable-whitelist but still don't understand how to add love to whitelist and where lint config.moon should be located ;(
I've put this file to the root of my project:
-- lint_config.moon { whitelist_globals: { ["."]: {"love"} } }
and now there is no errors when I run moonc -l ., but vscode still shows the error.
moonc -l .
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Extension swears when sees love:
attempt to index global 'love' (a nil value)
.Have no idea what to do with it.
Same message I get when using comand
moon file.moon
.But I can avoid this error if use
moonc file.moon
(without -l parameter).UPD:
I've read this doc https://github.com/leafo/moonscript/blob/master/docs/command_line.md#global-variable-whitelist but still don't understand how to add love to whitelist and where lint config.moon should be located ;(
I've put this file to the root of my project:
and now there is no errors when I run
moonc -l .
, but vscode still shows the error.The text was updated successfully, but these errors were encountered: