You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that I've got luacheck working in VSCode and Nova, I've begun building some stuff with it. Unfortunately, while the new Additional assignment operators that the Playdate SDK adds to the language are useful, but luacheck doesn't know about them. Using them in your project results in false-negative errors -- errors reported by luacheck that aren't actually problems in your code.
Unfortunately, I think luacheck is right here -- for normal Lua code these are invalid operators. It just doesn't know about the PlaydateSDK's additions.
I've filed lunarmodules/luacheck#53 to see if they could make the operators understood by luacheck extensible in the .luacheckrc file. In the meantime, either:
Don't use these operators
Disable luacheck
Stare at these errors and laugh at your ability to be smarter than a computer when writing code.
The text was updated successfully, but these errors were encountered:
Now that I've got luacheck working in
VSCode
andNova
, I've begun building some stuff with it. Unfortunately, while the new Additional assignment operators that the Playdate SDK adds to the language are useful, butluacheck
doesn't know about them. Using them in your project results in false-negative errors -- errors reported byluacheck
that aren't actually problems in your code.Unfortunately, I think
luacheck
is right here -- for normal Lua code these are invalid operators. It just doesn't know about the PlaydateSDK's additions.I've filed lunarmodules/luacheck#53 to see if they could make the operators understood by
luacheck
extensible in the.luacheckrc
file. In the meantime, either:The text was updated successfully, but these errors were encountered: