Skip to content

Instantly share code, notes, and snippets.

@young40
Created May 11, 2019 09:05
Show Gist options
  • Save young40/658b8b3615cef79f70724b4d6c859ca5 to your computer and use it in GitHub Desktop.
Save young40/658b8b3615cef79f70724b4d6c859ca5 to your computer and use it in GitHub Desktop.
luacheck config file for cocos2d-x Lua
-- -*- lua -*-
exclude_files = {
"src/cocos/*",
}
globals = {
-- for cocos
"cc",
"ccui",
"ccexp",
"class",
"handler",
"display",
"dump",
"tolua",
"release_print",
"DEBUG",
"CC_USE_FRAMEWORK",
"CC_SHOW_FPS",
"CC_DISABLE_GLOBAL",
"CC_DESIGN_RESOLUTION",
"__G__TRACKBACK__",
}
self = false
ignore = {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment