Vscode port of zuex's SublimeLinter-Luau.
NOTE: You need to have v512 luau-analyzer or greater in your environment path! (Found here)
If you're experiencing linter errors when requiring a module, you should try using ::
(typecast).
If you're using this extension for roblox development, you should consider creating a .luarc
file in your project root.
Heres a small template:
{
"languageMode": "strict", // nocheck, nonstrict, strict
"lint": {"*": true, "LocalUnused": false},
"lintErrors": true,
"globals": [
"delay",
"DebuggerManager",
"elapsedTime",
"PluginManager",
"printidentity",
"settings",
"spawn",
"stats",
"tick",
"time",
"UserSettings",
"version",
"wait",
"warn",
"Enum",
"game",
"plugin",
"shared",
"script",
"workspace"
]
}