-
Notifications
You must be signed in to change notification settings - Fork 0
/
.luacheckrc
61 lines (52 loc) · 1.84 KB
/
.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
--luacheck: ignore
stds.factorio = {
globals = {'aliengoopcracking'},
read_globals = {
--[[
factorio-given globals
@global@: The global dictionary, useful for storing data persistent across a save-load cycle.
Writing access is given to the mod-id field (for mod-wise saved data).
(http://lua-api.factorio.com/latest/Global.html)
@game@: Main object through which most of the API is accessed.
It is, however, not available inside handlers registered with @script.on_load@.
(http://lua-api.factorio.com/latest/LuaGameScript.html)
@script@: Provides an interface for registering event handlers.
(http://lua-api.factorio.com/latest/LuaBootstrap.html)
@defines@: Allows inter-mod communication by providing a repository of interfaces that is shared by all mods.
(http://lua-api.factorio.com/latest/LuaRemote.html)
@log@: Gives writing access to Factorio's logger instance.
@serpent@: Lua serializer and pretty printer. (https://github.com/pkulchenko/serpent)
@data@: Table used to instantiate all game object prototypes. Use data:extend to write to it.
--]]
global = {
fields = {
aliengoopcracking = {
read_only = false,
other_fields = true
}
}
},
table = {
fields = {'deepcopy'}
},
data = {
fields = {
raw = {
read_only = false,
other_fields = true
},
'extend'
}
},
'game', 'script', 'remote', 'defines', 'log', 'serpent', 'data', 'Event',
-- project specific globals
angelsmods = {
fields = {'functions', 'refining', 'bioprocessing'}
},
bobmods = {
fields = {'plates', 'enemies'}
}
}
}
std = '+factorio'
exclude_files = {'stdlib/'}