Radar move from shop UI #4520
Annotations
11 errors and 7 warnings
lint
Process completed with exit code 1.
|
doc-check:
lua/ttt2/libraries/radar.lua#L72
Missing essential param --> "Missing '@realm' in function 'RADAR.DrawTarget'"
|
doc-check:
lua/ttt2/libraries/radar.lua#L72
Param mismatch --> "In 'function' datastructure ('function RADAR.DrawTarget(tgt, size, offset, no_shrink)'), detected params (0): " "Expected Params (4): " "- 'tgt'" "- 'size'" "- 'offset'" "- 'no_shrink'"
|
doc-check:
gamemodes/terrortown/entities/weapons/weapon_ttt_radar.lua#L113
Missing essential param --> "Missing '@realm' in function 'SWEP:SetupDataTables'"
|
doc-check:
gamemodes/terrortown/entities/weapons/weapon_ttt_radar.lua#L119
Missing essential param --> "Missing '@realm' in function 'SWEP:Reset'"
|
doc-check:
gamemodes/terrortown/entities/weapons/weapon_ttt_radar.lua#L146
Missing essential param --> "Missing '@realm' in function 'SWEP:Equip'"
|
doc-check:
gamemodes/terrortown/entities/weapons/weapon_ttt_radar.lua#L146
Param mismatch --> "In 'function' datastructure ('function SWEP:Equip(newOwner)'), detected params (0): " "Expected Params (1): " "- 'newOwner'"
|
doc-check:
gamemodes/terrortown/entities/weapons/weapon_ttt_radar.lua#L155
Missing essential param --> "Missing '@realm' in function 'SWEP:OnDrop'"
|
doc-check:
gamemodes/terrortown/entities/weapons/weapon_ttt_radar.lua#L159
Missing essential param --> "Missing '@realm' in function 'SWEP:OnRemove'"
|
doc-check:
gamemodes/terrortown/entities/weapons/weapon_ttt_radar.lua#L195
Missing essential param --> "Missing '@realm' in function 'SWEP:CanTriggerNextScan'"
|
doc-check:
gamemodes/terrortown/entities/weapons/weapon_ttt_radar.lua#L256
Param mismatch --> "In 'function' datastructure ('function SWEP:TryTriggerScan()'), detected params (1): " "- 'isAutomatic'" "Expected Params (0): "
|
style
The following actions use a deprecated Node.js version and will be forced to run on node20: JohnnyMorganz/stylua-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
|
"Empty block":
gamemodes/terrortown/entities/weapons/weapon_ttt_radar.lua#L171
Empty else statement
|
"Shadowing":
gamemodes/terrortown/entities/weapons/weapon_ttt_radar.lua#L284
Variable 'targets' shadows existing binding, defined at line 65, column 7
|
"Unnecessary negation":
gamemodes/terrortown/gamemode/shared/sh_player_ext.lua#L701
Silly negation. Use '~='
|
"Unused variable":
lua/ttt2/libraries/radar.lua#L18
Unused variable: hook
|
"Unused variable":
lua/ttt2/libraries/radar.lua#L21
Unused variable: GetTranslation
|