2019-06-18 20:27:41 +00:00
|
|
|
codes = true
|
|
|
|
std = "min"
|
|
|
|
self = false
|
|
|
|
|
|
|
|
read_globals = {
|
|
|
|
"getfenv",
|
|
|
|
"setfenv",
|
|
|
|
"unpack",
|
|
|
|
}
|
|
|
|
|
|
|
|
include_files = {
|
|
|
|
"**/*.lua",
|
|
|
|
"package/**/luasrc/**/*",
|
|
|
|
"targets/*",
|
2020-06-02 19:31:46 +00:00
|
|
|
"package/features",
|
2019-06-18 20:27:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
exclude_files = {
|
|
|
|
"**/*.mk",
|
|
|
|
}
|
|
|
|
|
|
|
|
files["package/**/check_site.lua"] = {
|
|
|
|
read_globals = {
|
|
|
|
"alternatives",
|
|
|
|
"extend",
|
|
|
|
"in_domain",
|
|
|
|
"in_site",
|
2022-05-15 13:29:30 +00:00
|
|
|
"value",
|
2019-06-18 20:27:41 +00:00
|
|
|
"need",
|
|
|
|
"need_alphanumeric_key",
|
|
|
|
"need_array",
|
2023-02-26 21:24:10 +00:00
|
|
|
"need_array_elements_exclusive",
|
2019-06-18 20:27:41 +00:00
|
|
|
"need_array_of",
|
|
|
|
"need_boolean",
|
|
|
|
"need_chanlist",
|
|
|
|
"need_domain_name",
|
|
|
|
"need_number",
|
2020-04-05 19:32:27 +00:00
|
|
|
"need_number_range",
|
2019-06-18 20:27:41 +00:00
|
|
|
"need_one_of",
|
|
|
|
"need_string",
|
|
|
|
"need_string_array",
|
|
|
|
"need_string_array_match",
|
|
|
|
"need_string_match",
|
|
|
|
"need_table",
|
|
|
|
"need_value",
|
|
|
|
"obsolete",
|
|
|
|
"table_keys",
|
|
|
|
"this_domain",
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
files["package/**/luasrc/lib/gluon/config-mode/*"] = {
|
|
|
|
globals = {
|
2022-04-14 22:44:39 +00:00
|
|
|
"MultiListValue",
|
2019-06-18 20:27:41 +00:00
|
|
|
"DynamicList",
|
|
|
|
"Flag",
|
|
|
|
"Form",
|
|
|
|
"i18n",
|
|
|
|
"ListValue",
|
|
|
|
"renderer.render",
|
|
|
|
"renderer.render_string",
|
|
|
|
"Section",
|
|
|
|
"TextValue",
|
|
|
|
"_translate",
|
|
|
|
"translate",
|
|
|
|
"translatef",
|
|
|
|
"Value",
|
2022-05-24 08:34:12 +00:00
|
|
|
"Element",
|
2019-06-18 20:27:41 +00:00
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
files["package/**/luasrc/lib/gluon/**/controller/*"] = {
|
|
|
|
read_globals = {
|
|
|
|
"_",
|
|
|
|
"alias",
|
|
|
|
"call",
|
|
|
|
"entry",
|
|
|
|
"model",
|
|
|
|
"node",
|
|
|
|
"template",
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
2023-05-01 18:05:53 +00:00
|
|
|
files["package/**/luasrc/lib/gluon/nftables/*"] = {
|
2019-06-18 20:27:41 +00:00
|
|
|
read_globals = {
|
2023-05-01 18:05:53 +00:00
|
|
|
"path",
|
|
|
|
"include",
|
2019-06-18 20:27:41 +00:00
|
|
|
"rule",
|
2023-05-01 18:05:53 +00:00
|
|
|
|
|
|
|
"bridge_rule",
|
|
|
|
"bridge_chain",
|
|
|
|
"bridge_table",
|
|
|
|
"bridge_include_rule",
|
|
|
|
"bridge_include_table",
|
2019-06-18 20:27:41 +00:00
|
|
|
},
|
|
|
|
max_line_length = false,
|
|
|
|
}
|
|
|
|
|
|
|
|
files["targets/*"] = {
|
|
|
|
read_globals = {
|
2020-03-27 18:08:13 +00:00
|
|
|
"class",
|
2019-06-18 20:27:41 +00:00
|
|
|
"config",
|
|
|
|
"defaults",
|
|
|
|
"device",
|
|
|
|
"env",
|
|
|
|
"exec",
|
|
|
|
"exec_capture",
|
|
|
|
"exec_capture_raw",
|
|
|
|
"exec_raw",
|
|
|
|
"factory_image",
|
|
|
|
"include",
|
2020-03-14 15:51:43 +00:00
|
|
|
"istrue",
|
2019-06-18 20:27:41 +00:00
|
|
|
"no_opkg",
|
|
|
|
"packages",
|
|
|
|
"sysupgrade_image",
|
|
|
|
"try_config",
|
|
|
|
},
|
|
|
|
}
|
2020-06-02 19:31:46 +00:00
|
|
|
|
|
|
|
files["package/features"] = {
|
|
|
|
read_globals = {
|
|
|
|
"_",
|
|
|
|
"feature",
|
2020-08-28 20:04:06 +00:00
|
|
|
"when",
|
2020-06-02 19:31:46 +00:00
|
|
|
},
|
|
|
|
}
|