Skip to content

chore: 🎨 Run formatter #870

chore: 🎨 Run formatter

chore: 🎨 Run formatter #870

Triggered via push November 25, 2024 16:24
Status Success
Total duration 45s
Artifacts

ESlint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

100 errors and 1 notice
lua.server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:51:10: unused global variable 'AddSharedAccount'
lua.server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:126:10: value assigned to variable 'money' is unused
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:7:27: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:14:30: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:23:27: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:30:27: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:43:34: accessing undefined variable 'item'
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:6: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:60:16: accessing undefined variable 'item'
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:7: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:63:28: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/main.lua:93:10: unused global variable 'AddSharedInventory'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/deathcam.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/deathcam.lua:5:31: accessing undefined variable 'Sleep'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:30:82: shadowing upvalue argument 'menu' on line 26
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:165:21: unused loop variable 'i'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:186:10: unused global variable 'FastTravel'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:326:15: unused variable 'playerCoords'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:326:29: unused variable 'letSleep'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:6: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:391:87: used variable '_deadPlayers' with unused hint
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:7: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:460:61: used variable '_deadPlayers' with unused hint
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:2:21: unused global variable 'Medic'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:41:9: unused loop variable 'k'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:142:64: accessing undefined variable 'medic'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:180:11: unused variable 'coords'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:197:11: variable 'seconds' was previously defined as an argument on line 196
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:6: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:197:20: unused variable 'hours'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:7: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:197:27: unused variable 'mins'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:8: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:197:33: unused variable 'secs'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:9: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:202:15: shadowing definition of variable 'hours' on line 197
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:10: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:203:15: shadowing definition of variable 'mins' on line 197
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:11: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:204:15: shadowing definition of variable 'secs' on line 197
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:12: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:348:1101: line is too long (2430 > 1100)
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:19:21: unused loop variable 'k'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:52:25: unused loop variable 'k'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:141:23: accessing undefined variable 'IsBusy'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:285:14: accessing undefined variable 'sleep'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/fxmanifest.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/fxmanifest.lua:8:17: line contains trailing whitespace
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/server/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/server/main.lua:40:24: shadowing definition of variable 'xPlayer' on line 22
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/server/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/server/main.lua:372:20: shadowing definition of variable 'xPlayer' on line 364
lua.server-data/resources/[bpt_addons]/bpt_ammujob/server/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ammujob/server/main.lua:1:7: variable 'netId' is never set
lua.server-data/resources/[bpt_addons]/bpt_backpack/server/server.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_backpack/server/server.lua:75:21: unused loop variable 'i'
lua.server-data/resources/[bpt_addons]/bpt_backpack/server/server.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_backpack/server/server.lua:87:25: unused loop variable 'i'
lua.server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:33:86: shadowing upvalue argument 'status' on line 32
lua.server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:35:19: shadowing upvalue argument 'status' on line 32
lua.server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:41:19: shadowing upvalue argument 'status' on line 32
lua.server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:130:102: accessing undefined variable 'LastZoneNum'
lua.server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:131:37: accessing undefined variable 'LastZoneNum'
lua.server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:131:89: accessing undefined variable 'LastZoneNum'
lua.server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:73:7: variable 'CurrentActionData' is never accessed
lua.server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:82:7: unused variable 'CurrentVehicleData'
lua.server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:85:7: unused variable 'PlayerData'
lua.server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:220:15: shadowing upvalue 'playerPed' on line 143
lua.server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:51:10: unused global variable 'AddSharedAccount'
lua.server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:126:10: value assigned to variable 'money' is unused
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:7:27: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:14:30: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:23:27: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:30:27: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:43:34: accessing undefined variable 'item'
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:6: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:60:16: accessing undefined variable 'item'
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:7: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:63:28: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/main.lua:93:10: unused global variable 'AddSharedInventory'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/deathcam.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/deathcam.lua:5:31: accessing undefined variable 'Sleep'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:30:82: shadowing upvalue argument 'menu' on line 26
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:165:21: unused loop variable 'i'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:186:10: unused global variable 'FastTravel'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:326:15: unused variable 'playerCoords'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:326:29: unused variable 'letSleep'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:6: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:391:87: used variable '_deadPlayers' with unused hint
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:7: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:460:61: used variable '_deadPlayers' with unused hint
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:2:21: unused global variable 'Medic'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:41:9: unused loop variable 'k'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:142:64: accessing undefined variable 'medic'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:180:11: unused variable 'coords'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:197:11: variable 'seconds' was previously defined as an argument on line 196
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:6: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:197:20: unused variable 'hours'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:7: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:197:27: unused variable 'mins'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:8: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:197:33: unused variable 'secs'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:9: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:202:15: shadowing definition of variable 'hours' on line 197
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:10: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:203:15: shadowing definition of variable 'mins' on line 197
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:11: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:204:15: shadowing definition of variable 'secs' on line 197
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:12: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:348:1101: line is too long (2430 > 1100)
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:19:21: unused loop variable 'k'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:52:25: unused loop variable 'k'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:141:23: accessing undefined variable 'IsBusy'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:285:14: accessing undefined variable 'sleep'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/fxmanifest.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/fxmanifest.lua:8:17: line contains trailing whitespace
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/server/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/server/main.lua:40:24: shadowing definition of variable 'xPlayer' on line 22
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/server/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/server/main.lua:372:20: shadowing definition of variable 'xPlayer' on line 364
lua.server-data/resources/[bpt_addons]/bpt_ammujob/server/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ammujob/server/main.lua:1:7: variable 'netId' is never set
lua.server-data/resources/[bpt_addons]/bpt_backpack/server/server.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_backpack/server/server.lua:75:21: unused loop variable 'i'
lua.server-data/resources/[bpt_addons]/bpt_backpack/server/server.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_backpack/server/server.lua:87:25: unused loop variable 'i'
lua.server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:33:86: shadowing upvalue argument 'status' on line 32
lua.server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:35:19: shadowing upvalue argument 'status' on line 32
lua.server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:41:19: shadowing upvalue argument 'status' on line 32
lua.server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:130:102: accessing undefined variable 'LastZoneNum'
lua.server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:131:37: accessing undefined variable 'LastZoneNum'
lua.server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:131:89: accessing undefined variable 'LastZoneNum'
lua.server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:73:7: variable 'CurrentActionData' is never accessed
lua.server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:82:7: unused variable 'CurrentVehicleData'
lua.server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:85:7: unused variable 'PlayerData'
lua.server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:220:15: shadowing upvalue 'playerPed' on line 143
eslint
No files found. Skipping.