Skip to content

Instantly share code, notes, and snippets.

@mpeterv
Created April 6, 2014 13:50
Show Gist options
  • Save mpeterv/10006325 to your computer and use it in GitHub Desktop.
Save mpeterv/10006325 to your computer and use it in GitHub Desktop.
cd shine/src && luacheck *.lua */*.lua --no-unused-args --ignore setfenv getfenv newproxy
Checking main.lua Failure
main.lua:54:10: variable env was previously defined as an argument in the same scope
main.lua:111:10: variable args was previously defined as an argument in the same scope
Checking shnc.lua OK
Checking core/init.lua Failure
core/init.lua:23:7: unused variable xpcall
core/init.lua:51:4: setting non-standard global variable copy
core/init.lua:52:4: setting non-standard global variable info
core/init.lua:53:13: accessing undefined variable info
core/init.lua:54:25: accessing undefined variable copy
core/init.lua:56:12: accessing undefined variable copy
core/init.lua:57:11: accessing undefined variable copy
core/init.lua:595:10: unused variable meta_this
core/init.lua:650:13: unused variable desc
core/init.lua:715:38: accessing undefined variable i
core/init.lua:947:4: setting non-standard global variable info
core/init.lua:948:4: setting non-standard global variable tmpl
core/init.lua:949:20: accessing undefined variable tmpl
core/init.lua:949:32: accessing undefined variable info
core/init.lua:949:48: accessing undefined variable info
core/init.lua:1013:7: setting non-standard global variable m
core/init.lua:1014:10: accessing undefined variable m
core/init.lua:1014:24: accessing undefined variable m
core/init.lua:1129:13: accessing undefined variable __in__
Checking lang/loader.lua Failure
lang/loader.lua:17:20: unused variable havepath
Checking lang/parser.lua Failure
lang/parser.lua:7:7: unused variable util
Checking lang/re.lua Failure
lang/re.lua:21:30: setting non-standard global variable _ENV
lang/re.lua:72:7: unused variable I
lang/re.lua:235:9: variable i was previously defined as an argument in the same scope
Checking lang/translator.lua Failure
lang/translator.lua:139:10: unused variable name
lang/translator.lua:184:4: setting non-standard global variable scope
lang/translator.lua:185:4: accessing undefined variable scope
lang/translator.lua:185:17: accessing undefined variable scope
lang/translator.lua:264:7: unused variable magic
lang/translator.lua:385:10: setting non-standard global variable func
lang/translator.lua:386:17: accessing undefined variable func
lang/translator.lua:392:10: setting non-standard global variable func
lang/translator.lua:403:7: setting non-standard global variable func
lang/translator.lua:407:33: accessing undefined variable func
lang/translator.lua:764:19: unused variable into
lang/translator.lua:1391:10: unused variable none
lang/translator.lua:1392:10: unused variable temp
lang/translator.lua:1420:18: unused variable val
lang/translator.lua:1530:10: variable init was previously defined in the same scope
Checking lang/tree.lua Failure
lang/tree.lua:7:7: unused variable tvm
lang/tree.lua:155:19: unused variable b
lang/tree.lua:560:7: unused variable patt_op_info
lang/tree.lua:580:16: unused variable debug
Checking lang/util.lua Failure
lang/util.lua:35:13: unused variable i_buff
lang/util.lua:36:13: unused variable p_buff
Total: 47 warnings / 0 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment