adding .luacheckrc preparing for some lua linting
This commit is contained in:
Executable
+21
@@ -0,0 +1,21 @@
|
||||
-- .luacheckrc
|
||||
-- Defines globals to prevent false positives during the sacred linting process.
|
||||
read_globals = {
|
||||
"require",
|
||||
"print",
|
||||
"io",
|
||||
"os",
|
||||
"string",
|
||||
"table",
|
||||
"math",
|
||||
"pcall",
|
||||
"setmetatable",
|
||||
"getmetatable",
|
||||
"ipairs",
|
||||
"pairs",
|
||||
"tonumber",
|
||||
"tostring",
|
||||
"type",
|
||||
"next",
|
||||
"rawget"
|
||||
}
|
||||
Reference in New Issue
Block a user