File tree 3 files changed +31
-1
lines changed
3 files changed +31
-1
lines changed Original file line number Diff line number Diff line change
1
+ # See http://editorconfig.org
2
+ root = true
3
+
4
+ [* ]
5
+ end_of_line = lf
6
+ insert_final_newline = true
7
+ trim_trailing_whitespace = true
8
+ charset = utf-8
9
+
10
+ [* .lua ]
11
+ indent_style = space
12
+ indent_size = 2
13
+
14
+ [Makefile ]
15
+ indent_style = tab
Original file line number Diff line number Diff line change
1
+ std = " ngx_lua"
2
+ unused_args = false
3
+ redefined = false
4
+ max_line_length = false
5
+
6
+
7
+ not_globals = {
8
+ " string.len" ,
9
+ " table.getn" ,
10
+ }
11
+
12
+
13
+ ignore = {
14
+ " 6." , -- ignore whitespace warnings
15
+ }
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ local id = function(x) return x end
131
131
local worker_color = use_color and function (str ) return (" \027 [" .. tostring (31 + ngx .worker .pid () % 5 ).. " m" .. str .. " \027 [0m" ) end or id
132
132
133
133
-- Debug function
134
- local function dump (...) print (require (" pl.pretty" ).write ({... })) end
134
+ local function dump (...) print (require (" pl.pretty" ).write ({... })) end -- luacheck: ignore 211
135
135
136
136
local _M = {}
137
137
You can’t perform that action at this time.
0 commit comments