Software / code / prosody
Annotate
.luacheckrc @ 6750:2a2eb30b1ed4
luacheckrc: Allow plugins to implement functions under module.* (module.load, etc.)
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Mon, 29 Jun 2015 13:50:31 +0100 |
| parent | 6667:e4338c0f739a |
| child | 6790:e2cd5848c650 |
| rev | line source |
|---|---|
|
6667
e4338c0f739a
.luacheckrc: Commit initial config for luacheck
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
1 cache = true |
|
e4338c0f739a
.luacheckrc: Commit initial config for luacheck
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
2 read_globals = { "prosody", "hosts" } |
|
e4338c0f739a
.luacheckrc: Commit initial config for luacheck
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
3 globals = { "_M" } |
|
e4338c0f739a
.luacheckrc: Commit initial config for luacheck
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
4 allow_defined_top = true |
|
e4338c0f739a
.luacheckrc: Commit initial config for luacheck
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
5 module = true |
|
e4338c0f739a
.luacheckrc: Commit initial config for luacheck
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
6 unused_secondaries = false |
|
e4338c0f739a
.luacheckrc: Commit initial config for luacheck
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
7 codes = true |
|
e4338c0f739a
.luacheckrc: Commit initial config for luacheck
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
8 ignore = { "411/err", "421/err", "411/ok", "421/ok" } |
|
6750
2a2eb30b1ed4
luacheckrc: Allow plugins to implement functions under module.* (module.load, etc.)
Matthew Wild <mwild1@gmail.com>
parents:
6667
diff
changeset
|
9 |
|
2a2eb30b1ed4
luacheckrc: Allow plugins to implement functions under module.* (module.load, etc.)
Matthew Wild <mwild1@gmail.com>
parents:
6667
diff
changeset
|
10 files["plugins/"] = { |
|
2a2eb30b1ed4
luacheckrc: Allow plugins to implement functions under module.* (module.load, etc.)
Matthew Wild <mwild1@gmail.com>
parents:
6667
diff
changeset
|
11 ignore = { "122/module" }; |
|
2a2eb30b1ed4
luacheckrc: Allow plugins to implement functions under module.* (module.load, etc.)
Matthew Wild <mwild1@gmail.com>
parents:
6667
diff
changeset
|
12 } |