1
0
mirror of https://github.com/cmur2/nginx-metrics-graphite.git synced 2024-12-22 12:54:23 +01:00

Move luacheck configuration into rc file

This commit is contained in:
cn 2019-01-29 14:03:22 +01:00
parent a998089b92
commit d542a4417d
2 changed files with 4 additions and 1 deletions

3
.luacheckrc Normal file
View File

@ -0,0 +1,3 @@
globals = { 'ngx' }
max_line_length = false
include_files = { '*.lua' }

View File

@ -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 apt-get install luarocks # on Debian
luarocks --local install luacheck luarocks --local install luacheck
luacheck --globals ngx --no-max-line-length -- metrics_graphite.lua luacheck .
``` ```
## License ## License