[Tarantool-patches] [PATCH 4/6] Fix luacheck warnings in extra/dist/

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Sat Jun 6 21:02:51 MSK 2020


Thanks for the patch!

On 04/06/2020 10:39, sergeyb at tarantool.org wrote:
> From: Sergey Bronnikov <sergeyb at tarantool.org>
> 
> Part of #4681
> 
> Reviewed-by: Vladislav Shpilevoy <v.shpilevoy at tarantool.org>
> Reviewed-by: Igor Munkin <imun at tarantool.org>
> 
> Co-authored-by: Vladislav Shpilevoy <v.shpilevoy at tarantool.org>
> Co-authored-by: Igor Munkin <imun at tarantool.org>
> ---
>  .luacheckrc                | 15 ++++++++++++++-
>  extra/dist/tarantoolctl.in | 25 +++++++------------------
>  2 files changed, 21 insertions(+), 19 deletions(-)
> 
> diff --git a/.luacheckrc b/.luacheckrc
> index e6edf8617..b917eb927 100644
> --- a/.luacheckrc
> +++ b/.luacheckrc
> @@ -1,12 +1,19 @@
>  std = "luajit"
> +globals = {"box", "_TARANTOOL"}
> +ignore = {
> +    "212/self", -- Unused argument <self>.
> +    "411",      -- Redefining a local variable.
> +    "431",      -- Shadowing an upvalue.
> +}
> +

Unnecessary empty line after }.


More information about the Tarantool-patches mailing list