Software /
code /
prosody
Annotate
.luacheckrc @ 7476:42d8955be784
luacheckrc: Ignore assert helper functions used in tests/*
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 08 Jul 2016 19:20:49 +0200 |
parent | 6986:6aae14b079d0 |
child | 7478:2489abe342c1 |
rev | line source |
---|---|
6667
e4338c0f739a
.luacheckrc: Commit initial config for luacheck
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
1 cache = true |
6986
6aae14b079d0
.luacheckrc: Whitelist import() global function
Matthew Wild <mwild1@gmail.com>
parents:
6790
diff
changeset
|
2 read_globals = { "prosody", "hosts", "import" } |
6667
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 |
6790
e2cd5848c650
luacheckrc: Ignore unused _ENV variable
Kim Alvefur <zash@zash.se>
parents:
6750
diff
changeset
|
8 ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV" } |
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 } |
7476
42d8955be784
luacheckrc: Ignore assert helper functions used in tests/*
Kim Alvefur <zash@zash.se>
parents:
6986
diff
changeset
|
13 files["tests/"] = { |
42d8955be784
luacheckrc: Ignore assert helper functions used in tests/*
Kim Alvefur <zash@zash.se>
parents:
6986
diff
changeset
|
14 ignore = { |
42d8955be784
luacheckrc: Ignore assert helper functions used in tests/*
Kim Alvefur <zash@zash.se>
parents:
6986
diff
changeset
|
15 "113/assert_equal", |
42d8955be784
luacheckrc: Ignore assert helper functions used in tests/*
Kim Alvefur <zash@zash.se>
parents:
6986
diff
changeset
|
16 "113/assert_table", |
42d8955be784
luacheckrc: Ignore assert helper functions used in tests/*
Kim Alvefur <zash@zash.se>
parents:
6986
diff
changeset
|
17 "113/assert_function", |
42d8955be784
luacheckrc: Ignore assert helper functions used in tests/*
Kim Alvefur <zash@zash.se>
parents:
6986
diff
changeset
|
18 "113/assert_string", |
42d8955be784
luacheckrc: Ignore assert helper functions used in tests/*
Kim Alvefur <zash@zash.se>
parents:
6986
diff
changeset
|
19 "113/assert_boolean", |
42d8955be784
luacheckrc: Ignore assert helper functions used in tests/*
Kim Alvefur <zash@zash.se>
parents:
6986
diff
changeset
|
20 "113/assert_is", |
42d8955be784
luacheckrc: Ignore assert helper functions used in tests/*
Kim Alvefur <zash@zash.se>
parents:
6986
diff
changeset
|
21 "113/assert_is_not", |
42d8955be784
luacheckrc: Ignore assert helper functions used in tests/*
Kim Alvefur <zash@zash.se>
parents:
6986
diff
changeset
|
22 }; |
42d8955be784
luacheckrc: Ignore assert helper functions used in tests/*
Kim Alvefur <zash@zash.se>
parents:
6986
diff
changeset
|
23 } |