mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-26 18:21:04 +00:00
update .luacheckrc
This commit is contained in:
parent
3de3bead7b
commit
8bf38e3a71
1 changed files with 7 additions and 0 deletions
|
@ -29,10 +29,17 @@ read_globals = {
|
||||||
"check",
|
"check",
|
||||||
"PseudoRandom",
|
"PseudoRandom",
|
||||||
"PcgRandom",
|
"PcgRandom",
|
||||||
|
"Matrix4",
|
||||||
|
"Rotation",
|
||||||
|
|
||||||
string = {fields = {"split", "trim"}},
|
string = {fields = {"split", "trim"}},
|
||||||
table = {fields = {"copy", "getn", "indexof", "insert_all", "key_value_swap"}},
|
table = {fields = {"copy", "getn", "indexof", "insert_all", "key_value_swap"}},
|
||||||
math = {fields = {"hypot", "round"}},
|
math = {fields = {"hypot", "round"}},
|
||||||
|
|
||||||
|
-- Busted-style unit testing
|
||||||
|
"describe",
|
||||||
|
"it",
|
||||||
|
assert = {fields = {"same", "equals"}},
|
||||||
}
|
}
|
||||||
|
|
||||||
globals = {
|
globals = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue