Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactore: refactored code to make it more readable #877

Merged
merged 1 commit into from
Nov 7, 2024

refactore: refactored code to make it more readable

c3bb4c5
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

refactore: refactored code to make it more readable #877

refactore: refactored code to make it more readable
c3bb4c5
Select commit
Loading
Failed to load commit list.
GitHub Actions / Linting Report failed Nov 5, 2024 in 0s

1555 tests run, 760 passed, 0 skipped, 795 failed.

Annotations

Check failure on line 1 in lua

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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'