-
-
Notifications
You must be signed in to change notification settings - Fork 475
/
.luacheckrc
47 lines (42 loc) · 1.16 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
--
-- Configuration for luacheck
--
-- To check Lua files call like this:
-- luacheck flex-config/*.lua flex-config/gen/*.lua tests/data/*.lua tests/lua/tests.lua
--
unused_args = false
stds.osm2pgsql = {
read_globals = {
osm2pgsql = {
fields = {
process_node = {
read_only = false
},
process_way = {
read_only = false
},
process_relation = {
read_only = false
},
process_untagged_node = {
read_only = false
},
process_untagged_way = {
read_only = false
},
process_untagged_relation = {
read_only = false
},
select_relation_members = {
read_only = false
},
process_gen = {
read_only = false
},
},
other_fields = true,
}
}
}
std = 'min+osm2pgsql'
files['tests/lua/tests.lua'].globals = { 'osm2pgsql' }