comparison .luacheckrc @ 2598:d9022fe9749c

luacheckrc: List module instance fields
author Kim Alvefur <zash@zash.se>
date Mon, 06 Mar 2017 00:43:22 +0100
parents 805fa6ca062b
children 095f7f8ec545
comparison
equal deleted inserted replaced
2597:805fa6ca062b 2598:d9022fe9749c
1 cache = true 1 cache = true
2 read_globals = { 2 read_globals = {
3 "prosody", 3 "prosody",
4 "hosts", 4 "hosts",
5 "import", 5 "import",
6
7 -- Module instance
8 "module.name",
9 "module.host",
10 "module._log",
11 "module.log",
12 "module.event_handlers",
13 "module.reloading",
14 "module.saved_state",
6 15
7 -- Module API 16 -- Module API
8 "module.add_extension", 17 "module.add_extension",
9 "module.add_feature", 18 "module.add_feature",
10 "module.add_identity", 19 "module.add_identity",