Luacheck specifications for Roblox Lua

James Onnen 1c6be3358a Update readme.md 5 years ago
src f136c58c30 Baseline generation 5 years ago
.gitignore f136c58c30 Baseline generation 5 years ago
LICENSE.md 5679ac5994 Add license 5 years ago
README.md 1c6be3358a Update readme.md 5 years ago
luacheck-roblox.sublime-project bb0f7fbd53 Add project 5 years ago
roblox_standard.lua f136c58c30 Baseline generation 5 years ago

README.md

Roblox Luacheck

Generates the roblox_standard.lua file necessary to provide support for Roblox Lua in Luacheck.

Features

  • Automatically applies script and workspace properties
  • Automatically applies the Enum namespace
  • Has definitions for Roblox types and variables
  • Specifically ignores adding Workspace and other global variables following Roblox's standards

Run

To run you need Lua (5.1 or higher).

Usage

You can copy the contents of roblox_standard.lua into your .luacheckrc

Inspired by https://github.com/Positive07/luacheck-love