]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - .luacheckrc
core.formspec_escape: Restore backwards compat
[dragonfireclient.git] / .luacheckrc
index 3ab6e10c8938c310c3ee369d718ee2adba20555b..a922bdea9af7950a7777b8125dc98c1099e3157a 100644 (file)
@@ -20,7 +20,7 @@ read_globals = {
 
        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",
+       },
+}