Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kampfkarren/vscode-luau-analyzer


https://github.com/kampfkarren/vscode-luau-analyzer

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Vscode-Luau-Analyzer

Vscode port of [zuex](https://github.com/zeux)'s [SublimeLinter-Luau](https://github.com/zeux/SublimeLinter-luau).

NOTE: You need to have v512 luau-analyzer or greater in your environment path! (Found [here](https://github.com/Roblox/luau/releases/))

[Vscode Marketplace Link](https://marketplace.visualstudio.com/items?itemName=HawDevelopment.vscode-luau-analyzer)

## Errors

If you're experiencing linter errors when requiring a module, you should try using `::` (typecast).

## Use for Roblox

If you're using this extension for roblox development, you should consider creating a [`.luarc`](https://github.com/Roblox/luau/blob/master/rfcs/config-luaurc.md) file in your project root.

Heres a small template:

```json5
{
"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"
]
}
```