aboutsummaryrefslogtreecommitdiff
path: root/.luacheckrc
diff options
context:
space:
mode:
authorVincent Robinson <robinsonvincent89@gmail.com>2021-04-01 15:18:58 -0700
committerGitHub <noreply@github.com>2021-04-02 00:18:58 +0200
commit3560691c0aecd89dc7f7d91ed8c4f1eaa9715eaf (patch)
tree966ad8508d97379c612e4fa8ee9822aa481e5478 /.luacheckrc
parent1e4913cd76f5d31456d04a5ce23e66d5c60060de (diff)
downloadminetest-3560691c0aecd89dc7f7d91ed8c4f1eaa9715eaf.tar.gz
minetest-3560691c0aecd89dc7f7d91ed8c4f1eaa9715eaf.tar.bz2
minetest-3560691c0aecd89dc7f7d91ed8c4f1eaa9715eaf.zip
Add `math.round` and fix `vector.round` (#10803)
Diffstat (limited to '.luacheckrc')
-rw-r--r--.luacheckrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.luacheckrc b/.luacheckrc
index e010ab95c..a922bdea9 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -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 = {