]> git.lizzy.rs Git - minetest.git/blobdiff - .luacheckrc
Add keybind to swap items between hands
[minetest.git] / .luacheckrc
index a21051514d15c6a3c9f2f8cefd9858c8ad9f0ab6..a922bdea9af7950a7777b8125dc98c1099e3157a 100644 (file)
@@ -18,9 +18,9 @@ read_globals = {
        "profiler",
        "Settings",
 
-       string = {fields = {"split"}},
+       string = {fields = {"split", "trim"}},
        table  = {fields = {"copy", "getn", "indexof", "insert_all"}},
-       math   = {fields = {"hypot"}},
+       math   = {fields = {"hypot", "round"}},
 }
 
 globals = {
@@ -72,3 +72,11 @@ files["builtin/mainmenu"] = {
                "PLATFORM",
        },
 }
+
+files["builtin/common/tests"] = {
+       read_globals = {
+               "describe",
+               "it",
+               "assert",
+       },
+}