Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kampfkarren/vscode-luau-analyzer
https://github.com/kampfkarren/vscode-luau-analyzer
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/kampfkarren/vscode-luau-analyzer
- Owner: Kampfkarren
- License: mit
- Created: 2022-04-02T21:52:00.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-02T22:33:13.000Z (almost 3 years ago)
- Last Synced: 2024-10-28T02:30:41.693Z (3 months ago)
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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"
]
}
```