5 Star 11 Fork 3

Gitee 极速下载/koreader

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/koreader/koreader
克隆/下载
.luacheckrc 1.03 KB
一键复制 编辑 原始数据 按行查看 历史
unused_args = false
std = "luajit"
-- ignore implicit self
self = false
globals = {
"G_reader_settings",
"G_defaults",
"table.pack",
"table.unpack",
}
read_globals = {
"_ENV",
}
exclude_files = {
"frontend/luxl.lua",
"plugins/newsdownloader.koplugin/lib/handler.lua",
"plugins/newsdownloader.koplugin/lib/LICENSE_LuaXML",
"plugins/newsdownloader.koplugin/lib/xml.lua",
"plugins/newsdownloader.koplugin/lib/LICENCE_lua-feedparser",
"plugins/newsdownloader.koplugin/lib/dateparser.lua",
}
-- don't balk on busted stuff in spec
files["spec/unit/*"].std = "+busted"
files["spec/unit/*"].globals = {
"match", -- can be removed once luacheck 0.24.0 or higher is used
"package",
"requireBackgroundRunner",
"stopBackgroundRunner",
"notifyBackgroundJobsUpdated",
}
-- TODO: clean up and enforce max line width (631)
-- https://luacheck.readthedocs.io/en/stable/warnings.html
-- 211 - Unused local variable
-- 631 - Line is too long
ignore = {
"211/__*",
"231/__",
"631",
"dummy",
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/mirrors/koreader.git
git@gitee.com:mirrors/koreader.git
mirrors
koreader
koreader
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385