Commit 3619ff6fc98689d41426fc6804f3424f8264a04a
1 parent
65b4badc
add luacheck config
Showing
1 changed file
with
263 additions
and
0 deletions
Show diff stats
@@ -0,0 +1,263 @@ | @@ -0,0 +1,263 @@ | ||
1 | +std = "max" | ||
2 | +globals = { | ||
3 | + "SendPipelining", | ||
4 | + "AdvEventType", | ||
5 | + "class", | ||
6 | + "os", | ||
7 | + "globalCsv", | ||
8 | + "debug", | ||
9 | + "assert", | ||
10 | + "tonumber", | ||
11 | + "echo_", | ||
12 | + "isCrossDay", | ||
13 | + "cancel_agent_timer", | ||
14 | + "isnan", | ||
15 | + "isset", | ||
16 | + "diffTime", | ||
17 | + "crossDay", | ||
18 | + "echo", | ||
19 | + "coroutine", | ||
20 | + "ItemType", | ||
21 | + "echoInfo", | ||
22 | + "dump", | ||
23 | + "R_DAILY", | ||
24 | + "SERVICE_NAME", | ||
25 | + "crossWeekFromOpen", | ||
26 | + "string", | ||
27 | + "crossWeek", | ||
28 | + "rpcUnion", | ||
29 | + "print", | ||
30 | + "table", | ||
31 | + "getActionCode", | ||
32 | + "AttsEnumEx", | ||
33 | + "rpcOtherUnion", | ||
34 | + "R_HEROS", | ||
35 | + "import", | ||
36 | + "mcast_util", | ||
37 | + "collectgarbage", | ||
38 | + "tobool", | ||
39 | + "notifyClients", | ||
40 | + "rpcRole", | ||
41 | + "MsgPack", | ||
42 | + "getNextTradeId", | ||
43 | + "totable", | ||
44 | + "math", | ||
45 | + "pcall", | ||
46 | + "isCrossWeek", | ||
47 | + "type", | ||
48 | + "R_HERO", | ||
49 | + "printf", | ||
50 | + "echoError", | ||
51 | + "toUnixtime", | ||
52 | + "R_INCR", | ||
53 | + "loadfile", | ||
54 | + "withTimeHead", | ||
55 | + "AdvBackEventType", | ||
56 | + "format", | ||
57 | + "redisproxy", | ||
58 | + "ItemStartId", | ||
59 | + "actionCodes", | ||
60 | + "rawlen", | ||
61 | + "AdvScoreType", | ||
62 | + "io", | ||
63 | + "deleteNotify", | ||
64 | + "echoLog", | ||
65 | + "echof_", | ||
66 | + "lowerBoundSeach", | ||
67 | + "dayLater", | ||
68 | + "actionHandlers", | ||
69 | + "getSecond", | ||
70 | + "specTime", | ||
71 | + "getPackageName", | ||
72 | + "MAX_ROLE_NUM", | ||
73 | + "SERVICE_PATH", | ||
74 | + "xpcall", | ||
75 | + "package", | ||
76 | + "_VERSION", | ||
77 | + "crossDayFromOpen", | ||
78 | + "ignoreHeartbeat", | ||
79 | + "csvdb", | ||
80 | + "isToday", | ||
81 | + "redisd", | ||
82 | + "require", | ||
83 | + "handlerObject", | ||
84 | + "SendPacket", | ||
85 | + "urlencode", | ||
86 | + "setmetatable", | ||
87 | + "cutTimeHead", | ||
88 | + "tostring", | ||
89 | + "rpcResponseBegin", | ||
90 | + "R_DINER", | ||
91 | + "specMonday", | ||
92 | + "echof", | ||
93 | + "monthLater", | ||
94 | + "clone", | ||
95 | + "rpcParter", | ||
96 | + "httpGetFormatData", | ||
97 | + "isCrossMonth", | ||
98 | + "getmetatable", | ||
99 | + "RESET_TIME", | ||
100 | + "notifyClient", | ||
101 | + "export", | ||
102 | + "utf8", | ||
103 | + "isSpecTime", | ||
104 | + "pairs", | ||
105 | + "rawset", | ||
106 | + "toint", | ||
107 | + "handler", | ||
108 | + "start_agent_timer", | ||
109 | + "getRandomName", | ||
110 | + "AttsEnum", | ||
111 | + "datacenter", | ||
112 | + "load", | ||
113 | + "skynet", | ||
114 | + "vardump", | ||
115 | + "ItemId", | ||
116 | + "getNextRoleId", | ||
117 | + "_G", | ||
118 | + "XXTEA_KEY", | ||
119 | + "dump2file", | ||
120 | + "select", | ||
121 | + "ipairs", | ||
122 | + "AdvSpecialStage", | ||
123 | + "rawget", | ||
124 | + "tonum", | ||
125 | + "rpcAgent", | ||
126 | + "json", | ||
127 | + "dofile", | ||
128 | + "next", | ||
129 | + "rawequal", | ||
130 | + "error", | ||
131 | + "null", | ||
132 | + "SendPipelining", | ||
133 | + "AdvEventType", | ||
134 | + "class", | ||
135 | + "os", | ||
136 | + "globalCsv", | ||
137 | + "debug", | ||
138 | + "assert", | ||
139 | + "tonumber", | ||
140 | + "echo_", | ||
141 | + "isCrossDay", | ||
142 | + "cancel_agent_timer", | ||
143 | + "isnan", | ||
144 | + "isset", | ||
145 | + "diffTime", | ||
146 | + "crossDay", | ||
147 | + "echo", | ||
148 | + "coroutine", | ||
149 | + "ItemType", | ||
150 | + "echoInfo", | ||
151 | + "dump", | ||
152 | + "R_DAILY", | ||
153 | + "SERVICE_NAME", | ||
154 | + "crossWeekFromOpen", | ||
155 | + "string", | ||
156 | + "crossWeek", | ||
157 | + "rpcUnion", | ||
158 | + "print", | ||
159 | + "table", | ||
160 | + "getActionCode", | ||
161 | + "AttsEnumEx", | ||
162 | + "rpcOtherUnion", | ||
163 | + "R_HEROS", | ||
164 | + "import", | ||
165 | + "mcast_util", | ||
166 | + "collectgarbage", | ||
167 | + "tobool", | ||
168 | + "notifyClients", | ||
169 | + "rpcRole", | ||
170 | + "MsgPack", | ||
171 | + "getNextTradeId", | ||
172 | + "totable", | ||
173 | + "math", | ||
174 | + "pcall", | ||
175 | + "isCrossWeek", | ||
176 | + "type", | ||
177 | + "R_HERO", | ||
178 | + "printf", | ||
179 | + "echoError", | ||
180 | + "toUnixtime", | ||
181 | + "R_INCR", | ||
182 | + "loadfile", | ||
183 | + "withTimeHead", | ||
184 | + "AdvBackEventType", | ||
185 | + "format", | ||
186 | + "redisproxy", | ||
187 | + "ItemStartId", | ||
188 | + "actionCodes", | ||
189 | + "rawlen", | ||
190 | + "AdvScoreType", | ||
191 | + "io", | ||
192 | + "deleteNotify", | ||
193 | + "echoLog", | ||
194 | + "echof_", | ||
195 | + "lowerBoundSeach", | ||
196 | + "dayLater", | ||
197 | + "actionHandlers", | ||
198 | + "getSecond", | ||
199 | + "specTime", | ||
200 | + "getPackageName", | ||
201 | + "MAX_ROLE_NUM", | ||
202 | + "SERVICE_PATH", | ||
203 | + "xpcall", | ||
204 | + "package", | ||
205 | + "_VERSION", | ||
206 | + "crossDayFromOpen", | ||
207 | + "tostring", | ||
208 | + "ignoreHeartbeat", | ||
209 | + "csvdb", | ||
210 | + "isToday", | ||
211 | + "redisd", | ||
212 | + "require", | ||
213 | + "handlerObject", | ||
214 | + "SendPacket", | ||
215 | + "urlencode", | ||
216 | + "setmetatable", | ||
217 | + "cutTimeHead", | ||
218 | + "SERV_OPEN", | ||
219 | + "rpcResponseBegin", | ||
220 | + "R_DINER", | ||
221 | + "specMonday", | ||
222 | + "echof", | ||
223 | + "monthLater", | ||
224 | + "clone", | ||
225 | + "rpcParter", | ||
226 | + "httpGetFormatData", | ||
227 | + "isCrossMonth", | ||
228 | + "getmetatable", | ||
229 | + "RESET_TIME", | ||
230 | + "notifyClient", | ||
231 | + "export", | ||
232 | + "utf8", | ||
233 | + "isSpecTime", | ||
234 | + "pairs", | ||
235 | + "rawset", | ||
236 | + "toint", | ||
237 | + "handler", | ||
238 | + "start_agent_timer", | ||
239 | + "getRandomName", | ||
240 | + "AttsEnum", | ||
241 | + "datacenter", | ||
242 | + "load", | ||
243 | + "skynet", | ||
244 | + "vardump", | ||
245 | + "ItemId", | ||
246 | + "getNextRoleId", | ||
247 | + "_G", | ||
248 | + "XXTEA_KEY", | ||
249 | + "dump2file", | ||
250 | + "select", | ||
251 | + "ipairs", | ||
252 | + "AdvSpecialStage", | ||
253 | + "rawget", | ||
254 | + "tonum", | ||
255 | + "rpcAgent", | ||
256 | + "json", | ||
257 | + "dofile", | ||
258 | + "next", | ||
259 | + "rawequal", | ||
260 | + "error", | ||
261 | +} | ||
262 | +-- Ignore some pedantic checks | ||
263 | +ignore = {'6','143','142','212'} | ||
0 | \ No newline at end of file | 264 | \ No newline at end of file |