From 203896e16aeb0e262791ead6dcb293c6a2328c0f Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Fri, 14 Aug 2015 15:25:23 +0200 Subject: [PATCH] .luacheckrc files for known globals Change-Id: I2a31f703a2dd8f25b42930b89e454e1bdc212d3d --- ngcp/.luacheckrc | 1 + tests/.luacheckrc | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 ngcp/.luacheckrc create mode 100644 tests/.luacheckrc diff --git a/ngcp/.luacheckrc b/ngcp/.luacheckrc new file mode 100644 index 0000000..80ee3c9 --- /dev/null +++ b/ngcp/.luacheckrc @@ -0,0 +1 @@ +globals = {'sr', '_ENV'} diff --git a/tests/.luacheckrc b/tests/.luacheckrc new file mode 100644 index 0000000..793f6e7 --- /dev/null +++ b/tests/.luacheckrc @@ -0,0 +1,3 @@ +globals = {'sr', 'srMock'} +-- until we fix the luaunit new format at run_tests.sh +ignore = {'assert.*'} \ No newline at end of file