-
Notifications
You must be signed in to change notification settings - Fork 6
/
.luacheckrc
46 lines (46 loc) · 873 Bytes
/
.luacheckrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
read_globals = {
'debug.getfunctionstats',
'debug.getglobalstats',
'debug.gettime',
'debug.newcfunction',
'debug.newsecurefunction',
'debug.setnewclosuretaint',
'debug.setprofilingenabled',
'forceinsecure',
'hooksecurefunc',
'issecure',
'issecurevariable',
'loadstring_untainted',
'scrub',
'securecall',
'securecallfunction',
'secureexecuterange',
'seterrorhandler',
'strcmputf8i',
'strconcat',
'strjoin',
'strlenutf8',
'strsplit',
'strtrim',
'table.removemulti',
'table.wipe',
}
files['addon/Wowless'] = {
read_globals = {
'abs',
'CreateFont',
'CreateFrame',
'debugprofilestop',
'DevTools_Dump',
'format',
'RequestTimePlayed',
'SendSystemMessage',
},
}
-- TODO remove this when it is no longer necessary
files['data/uiobjects'] = {
read_globals = {
'api',
'toTexture',
},
}