refactor: Improved code style respecting ESLint rules #224
1051 tests run, 639 passed, 0 skipped, 412 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_basicneeds/client/main.lua:1
server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:33:86: shadowing upvalue argument 'status' on line 32
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:2
server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:35:19: shadowing upvalue argument 'status' on line 32
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:3
server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:41:19: shadowing upvalue argument 'status' on line 32
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:1
server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:130:102: accessing undefined variable 'LastZoneNum'
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:2
server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:131:37: accessing undefined variable 'LastZoneNum'
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:3
server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:131:89: accessing undefined variable 'LastZoneNum'
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:1
server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:298:32: accessing undefined variable 'HasAlreadyEnteredMarker'
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:2
server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:298:76: accessing undefined variable 'LastZone'
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:3
server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:304:31: accessing undefined variable 'HasAlreadyEnteredMarker'
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:4
server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:306:59: accessing undefined variable 'LastZone'
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_hunting/client/main.lua:1
server-data/resources/[bpt_addons]/bpt_hunting/client/main.lua:16:23: value assigned to variable 'ped' is overwritten on line 19 before use
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_hunting/client/main.lua:2
server-data/resources/[bpt_addons]/bpt_hunting/client/main.lua:24:17: loop is executed at most once
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:616:14: accessing undefined variable 'Sleep'
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:1
server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:45:14: unused global variable 'GetPlayerAccounts'
Check failure on line 1 in lua
github-actions / Linting Report
lua.server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:2
server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:53:14: unused global variable 'GetSocietyMoney'