Move luacheck configuration into rc file
This commit is contained in:
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
|
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
|
||||||
|
|
Loading…
Reference in New Issue