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:
parent
a998089b92
commit
d542a4417d
3
.luacheckrc
Normal file
3
.luacheckrc
Normal file
@ -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
Block a user