refactore: refactored code to make it more readable #684
1555 tests run, 760 passed, 0 skipped, 795 failed.
Annotations
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:1
server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:51:10: unused global variable 'AddSharedAccount'
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:2
server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:126:10: value assigned to variable 'money' is unused
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:7:27: shadowing upvalue 'name' on line 1
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:2
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:14:30: shadowing upvalue 'name' on line 1
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:3
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:23:27: shadowing upvalue 'name' on line 1
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:4
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:30:27: shadowing upvalue 'name' on line 1
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:5
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:43:34: accessing undefined variable 'item'
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:6
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:60:16: accessing undefined variable 'item'
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:7
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:63:28: shadowing upvalue 'name' on line 1
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/main.lua:1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/main.lua:93:10: unused global variable 'AddSharedInventory'
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/deathcam.lua:1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/deathcam.lua:5:31: accessing undefined variable 'Sleep'
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:30:82: shadowing upvalue argument 'menu' on line 26
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:2
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:165:21: unused loop variable 'i'
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:3
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:186:10: unused global variable 'FastTravel'
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:4
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:326:15: unused variable 'playerCoords'
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:5
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:326:29: unused variable 'letSleep'
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:6
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:391:87: used variable '_deadPlayers' with unused hint
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:7
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:460:61: used variable '_deadPlayers' with unused hint
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:2:21: unused global variable 'Medic'
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:2
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:41:9: unused loop variable 'k'
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:3
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:142:64: accessing undefined variable 'medic'
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:4
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:180:11: unused variable 'coords'
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:5
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:197:11: variable 'seconds' was previously defined as an argument on line 196
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:6
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:197:20: unused variable 'hours'
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:7
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:197:27: unused variable 'mins'