diff --git a/.luacheckrc b/.luacheckrc new file mode 100644 index 0000000..44e064a --- /dev/null +++ b/.luacheckrc @@ -0,0 +1,3 @@ +globals = { 'ngx' } +max_line_length = false +include_files = { '*.lua' } diff --git a/README.md b/README.md index 6d97b42..644fc76 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ If the Nginx worker elected (on Nginx startup) to run the submission loop is kil apt-get install luarocks # on Debian luarocks --local install luacheck -luacheck --globals ngx --no-max-line-length -- metrics_graphite.lua +luacheck . ``` ## License