Skip to content

Commit

Permalink
[luacheck] allow spec files in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mikz committed Sep 1, 2017
1 parent bbf2c0c commit 6275bad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .luacheckrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
std = 'ngx_lua+lua52' -- lua52 has table.pack

files["spec"] = {std = "+busted"}
busted = {std = "+busted"}
files["**/spec/**/*_spec.lua"] = busted

globals = { 'ngx', 'unpack', 'rawlen' }

0 comments on commit 6275bad

Please sign in to comment.