Verified Commit a2bae936 authored by Karel Koci's avatar Karel Koci 🤘

Cleanup luacheck.config

Since we are using new version of luacheck we can drop some of the old
definitions. Modules are now automatically detected by luacheck and
listing them out is no longer necessary.
parent 1c3769dc
......@@ -3,8 +3,7 @@ std = "lua51"
-- We are shadowing variables in code all the time. It is feature for us and shouldn't be reported as problem.
redefined = false
-- All over the code we have long lines so just ignore them for now (TODO get
-- around to format them better way).
-- All over the code we have long lines so just ignore them for now (TODO get around to format them better way).
max_line_length = false
globals = {
......@@ -14,10 +13,6 @@ globals = {
"log", "state_log_enabled", "state_dump", "run_command", "run_util", "download", "events_wait", "mkdtemp", "chdir", "getcwd", "mkdir", "move", "copy", "ls", "stat", "lstat", "sync", "setenv", "md5", "sha256", "md5_file", "sha256_file", "reexec", "uri_internal_get", "system_reboot", "get_updater_version",
-- From logging
"ERROR", "WARN", "INFO", "DBG", "TRACE", "DIE", "log_event", "c_pcall_error_handler",
-- From dumper
"DataDumper",
-- Picosat
"picosat",
-- Modules
"stacktraceplus", "utils", "backend", "transaction", "uri", "requests", "sandbox", "postprocess", "planner", "updater", "migrator"
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment