Skip to content

Fix code scanning alert #520: Client-side cross-site scripting #2579

Fix code scanning alert #520: Client-side cross-site scripting

Fix code scanning alert #520: Client-side cross-site scripting #2579

GitHub Actions / Linting Report failed Sep 21, 2024 in 0s

1138 tests run, 668 passed, 0 skipped, 470 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/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:348: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:4

server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:350:13: unused loop variable 'hospitalNum'

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:352:17: 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/job.lua:6

server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:429: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:446: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/job.lua:8

server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:467:23: shadowing upvalue argument 'menu' on line 454

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:9

server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:530: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: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:2

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:3

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:4

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:5

server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:197:27: unused variable 'mins'

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:33: unused variable 'secs'