.luacheckrc
raw| 1 | --std = "ngx_lua+busted" |
| 2 | unused_args = false |
| 3 | redefined = false |
| 4 | max_line_length = false |
| 5 | |
| 6 | |
| 7 | globals = { |
| 8 | --"_KONG", |
| 9 | --"kong", |
| 10 | --"ngx.IS_CLI", |
| 11 | } |
| 12 | |
| 13 | |
| 14 | not_globals = { |
| 15 | "string.len", |
| 16 | "table.getn", |
| 17 | } |
| 18 | |
| 19 | |
| 20 | ignore = { |
| 21 | --"6.", -- ignore whitespace warnings |
| 22 | } |
| 23 | |
| 24 | |
| 25 | exclude_files = { |
| 26 | ".install/**", |
| 27 | ".luarocks/**", |
| 28 | --"spec/fixtures/invalid-module.lua", |
| 29 | --"spec-old-api/fixtures/invalid-module.lua", |
| 30 | } |
| 31 |