]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
luacheck: allow globals for upgrade script
authorTomas Krizek <tomas.krizek@nic.cz>
Mon, 20 Jan 2020 14:48:04 +0000 (15:48 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Fri, 24 Jan 2020 12:19:05 +0000 (13:19 +0100)
.luacheckrc

index 837133a87769d96cb06b50fff0c44072d7c50309..69f49d7753f9ff05c746561b9110e6a017a88001 100644 (file)
@@ -76,5 +76,6 @@ files['**/daemon/lua/kres-gen.lua'].ignore = {'631'} -- Allow overly long lines
 -- Tests and scripts can use global variables
 files['scripts'].ignore = {'111', '112', '113'}
 files['tests'].ignore = {'111', '112', '113'}
+files['**/utils/upgrade'].ignore = {'111', '112', '113'}
 files['**/modules/**/*.test.lua'].ignore = {'111', '112', '113', '121', '122'}
 files['**/daemon/**/*.test.lua'].ignore = {'111', '112', '113', '121', '122'}