From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp57.i.mail.ru (smtp57.i.mail.ru [217.69.128.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id E71C9469710 for ; Thu, 4 Jun 2020 11:40:52 +0300 (MSK) From: sergeyb@tarantool.org Date: Thu, 4 Jun 2020 11:39:03 +0300 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 1/6] Add initial luacheck config List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tarantool-patches@dev.tarantool.org, imun@tarantool.org, v.shpilevoy@tarantool.org Cc: alexander.turenko@tarantool.org From: Sergey Bronnikov config includes all files with Lua source code except: - third_party repositories - directories with diff-based tests How-to check: $ luacheck --codes --config .luacheckrc . Part of #4681 Reviewed-by: Vladislav Shpilevoy Co-authored-by: Vladislav Shpilevoy --- .luacheckrc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .luacheckrc diff --git a/.luacheckrc b/.luacheckrc new file mode 100644 index 000000000..e6edf8617 --- /dev/null +++ b/.luacheckrc @@ -0,0 +1,16 @@ +std = "luajit" + +include_files = { + "**/*.lua", +} + +exclude_files = { + "build/**/*.lua", + "extra/**/*.lua", + "src/**/*.lua", + "test-run/**/*.lua", + "test/**/*.lua", + "third_party/**/*.lua", + ".rocks/**/*.lua", + ".git/**/*.lua", +} -- 2.23.0