只会检查class命名
local foo = class("foo",require("base"))
function foo:ctor()
foo.super.ctor(self) --如果没有写这个,会提示错误
end
- name要写你要检查的基类的全lua路径 *
"pyluacheck.checkClass": [
{
"name":"Base",
"overrideFunc":[
"Ctor","Destroy"
]
},
{
"name":"UI.BaseUI",
"overrideFunc":[
"Ctor","Close"
]
},
]