From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp17.mail.ru (smtp17.mail.ru [94.100.176.154]) (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 CA646469710 for ; Tue, 12 May 2020 12:52:24 +0300 (MSK) From: sergeyb@tarantool.org Date: Tue, 12 May 2020 12:49:53 +0300 Message-Id: <76c48726826d42c167e89c3c032cb972e6ea9f32.1589275364.git.sergeyb@tarantool.org> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v5 01/10] 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 Cc: o.piskunov@tarantool.org, Vladislav Shpilevoy From: Sergey Bronnikov config includes all files with Lua source code except: - third_party repositories - directories with diff-based tests How-to check: $ tarantoolctl rocks install luacheck $ .rocks/bin/luacheck --codes --config .luacheckrc . Closes #4681 Reviewed-by: Vladislav Shpilevoy Co-authored-by: Vladislav Shpilevoy --- .luacheckrc | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .luacheckrc diff --git a/.luacheckrc b/.luacheckrc new file mode 100644 index 000000000..2683c8c26 --- /dev/null +++ b/.luacheckrc @@ -0,0 +1,26 @@ +include_files = { + "**/*.lua", + "extra/dist/tarantoolctl.in", +} + +exclude_files = { + "build/**/*.lua", + "src/box/lua/serpent.lua", -- third-party source code + "test/app/*.lua", + "test/app-tap/lua/serializer_test.lua", + "test/box/**/*.lua", + "test/engine/*.lua", + "test/engine_long/*.lua", + "test/long_run-py/**/*.lua", + "test/vinyl/*.lua", + "test/replication/*.lua", + "test/sql/*.lua", + "test/swim/*.lua", + "test/xlog/*.lua", + "test/wal_off/*.lua", + "test/var/**/*.lua", + "test-run/**/*.lua", + "third_party/**/*.lua", + ".rocks/**/*.lua", + ".git/**/*.lua", +} -- 2.23.0