Add LUA linting and fix multiple errors
Všechny kontroly byly úspěšné
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Všechny kontroly byly úspěšné
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
* Remove whitespaces * Remove unused variables * Remove unused arguments * Fix syntax error
Tento commit je obsažen v:
23
.luacheckrc
Normální soubor
23
.luacheckrc
Normální soubor
@@ -0,0 +1,23 @@
|
||||
compat = true
|
||||
allow_defined = true
|
||||
max_line_length = false
|
||||
|
||||
read_globals = {
|
||||
"GetAchievementId",
|
||||
"GetAchievementCategoryInfo",
|
||||
"GetAchievementCriterion",
|
||||
"GetAchievementLink",
|
||||
"GetAchievementNumCriteria",
|
||||
"GetCategoryInfoFromAchievementId",
|
||||
"GetCVar",
|
||||
"GetNumAchievementCategories",
|
||||
"GetPreviousAchievementInLine",
|
||||
"CHAT_SYSTEM",
|
||||
"EVENT_ACHIEVEMENT_UPDATED",
|
||||
"EVENT_ADD_ON_LOADED",
|
||||
"EVENT_MANAGER",
|
||||
"LibStub",
|
||||
"LINK_STYLE_BRACKET",
|
||||
"zo_callLater",
|
||||
"ZO_SavedVars",
|
||||
}
|
||||
Odkázat v novém úkolu
Zablokovat Uživatele