Commit Diff


commit - b7c57e74dd146c44003d9c5a6b1fe5a648e25c3a
commit + 6d73a631a6d1197eb654de06d001f45282fb9c16
blob - 7e568890a35402168efe6e72e7fd063c23870752
blob + 541f81102101c7993a075a30e8349a4e0fb4c2d1
--- .luacheckrc
+++ .luacheckrc
@@ -1,12 +1,38 @@
-globals = {
-    "box",
+std = "luajit"
+globals = {"box", "_TARANTOOL", "tonumber64", "utf8"}
+ignore = {
+    -- Accessing an undefined field of a global variable <debug>.
+    "143/debug",
+    -- Accessing an undefined field of a global variable <os>.
+    "143/os",
+    -- Accessing an undefined field of a global variable <string>.
+    "143/string",
+    -- Accessing an undefined field of a global variable <table>.
+    "143/table",
+    -- Unused argument <self>.
+    "212/self",
+    -- Redefining a local variable.
+    "411",
+    -- Redefining an argument.
+    "412",
+    -- Shadowing a local variable.
+    "421",
+    -- Shadowing an upvalue.
+    "431",
+    -- Shadowing an upvalue argument.
+    "432",
+    -- Unused variable with `_` prefix.
+    "212/_.*",
+    -- Unused loop variable with `_` prefix.
+    "213/_.*",
 }
 
 include_files = {
-    ".luacheckrc",
     "**/*.lua",
 }
 
-exclude_files = {
-    ".rocks",
+files["tests/tarantool_box_execute-mutator.lua"] = {
+    ignore = {
+        "433",
+    },
 }