forked from mpeterv/luacheck
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split scripts/functions exclusive definitions
- Loading branch information
Showing
4 changed files
with
37 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
local empty = {} | ||
|
||
local redis_functions = { | ||
fields = { | ||
redis = { | ||
fields = { | ||
register_function = empty, | ||
}, | ||
} | ||
} | ||
} | ||
|
||
return redis_functions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
local empty = {} | ||
|
||
local redis_scripts = { | ||
fields = { | ||
ARGV = { | ||
other_fields = true, | ||
}, | ||
KEYS = { | ||
other_fields = true, | ||
}, | ||
redis = { | ||
fields = { | ||
breakpoint = empty, | ||
debug = empty, | ||
}, | ||
} | ||
} | ||
} | ||
|
||
return redis_scripts |