mirror of
https://github.com/Insality/druid
synced 2025-06-27 10:27:48 +02:00
Update luacheck
This commit is contained in:
parent
11ae63a9f6
commit
45718325a1
19
.vscode/settings.json
vendored
19
.vscode/settings.json
vendored
@ -8,10 +8,23 @@
|
||||
"describe",
|
||||
"before",
|
||||
"after",
|
||||
"it"
|
||||
"it",
|
||||
"utf8"
|
||||
],
|
||||
"Lua.workspace.checkThirdParty": false,
|
||||
"Lua.diagnostics.neededFileStatus": {
|
||||
"undefined-field": "Any",
|
||||
"assign-type-mismatch": "Any",
|
||||
"missing-return": "Any",
|
||||
"missing-fields": "Any",
|
||||
"return-type-mismatch": "Any",
|
||||
"lowercase-global": "Any"
|
||||
},
|
||||
"Lua.workspace.ignoreDir": [
|
||||
".vscode",
|
||||
"test/*"
|
||||
]
|
||||
"test/tests/*.lua",
|
||||
"utils/annotations_manual.lua"
|
||||
],
|
||||
"Lua.diagnostics.libraryFiles": "Enable",
|
||||
"Lua.runtime.version": "Lua 5.1"
|
||||
}
|
@ -1824,6 +1824,8 @@ function helper.step(current, target, step) end
|
||||
function helper.table_to_string(t) end
|
||||
|
||||
|
||||
---@diagnostic disable: duplicate-doc-field
|
||||
|
||||
-- Manual Annotations --
|
||||
|
||||
---@class druid.rich_text.metrics
|
||||
|
@ -25,7 +25,7 @@ local helper = require("druid.helper")
|
||||
local BaseComponent = class("druid.component")
|
||||
|
||||
local INTERESTS = {} -- Cache interests per component class in runtime
|
||||
local IS_AUTO_TEMPLATE = not (sys.get_config("druid.no_auto_template") == "1")
|
||||
local IS_AUTO_TEMPLATE = not (sys.get_config_int("druid.no_auto_template", 0) == "1")
|
||||
|
||||
-- Component Interests
|
||||
BaseComponent.ON_INPUT = const.ON_INPUT
|
||||
|
@ -30,7 +30,7 @@ local SCHEME = {
|
||||
|
||||
local function update_visual(self)
|
||||
local rotation = vmath.vector3(0, 0, self.angle)
|
||||
gui.set_rotation(self.node, rotation)
|
||||
gui.set_euler(self.node, rotation)
|
||||
end
|
||||
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
---@diagnostic disable: duplicate-doc-field
|
||||
|
||||
-- Manual Annotations --
|
||||
|
||||
---@class druid.rich_text.metrics
|
||||
|
Loading…
x
Reference in New Issue
Block a user