Move luacheck configuration into rc file

master
cn 4 years ago
parent a998089b92
commit d542a4417d

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

@ -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

Loading…
Cancel
Save