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

Question: How to filter in luacheck.rc "globals" option? #218

Open
observerno1 opened this issue Jul 26, 2021 · 1 comment
Open

Question: How to filter in luacheck.rc "globals" option? #218

observerno1 opened this issue Jul 26, 2021 · 1 comment

Comments

@observerno1
Copy link

observerno1 commented Jul 26, 2021

There are two types of global variable i want to ignore in luacheck.rc
One is global variables start with "g_", such as g_RecTbl, g_PlayerTbl
The other is global funcitions
How can i make it through luacheck?
Help wanted, thank you!

globals = { "g_*", -- global variables start with g_ are allowed, such as g_RecTbl, g_PlayerTbl "Some_Type_Of_Function", -- global funcitions are also allowed "EnumNetAction", "EnumNetActionNameMap" }
image

@ur4ltz
Copy link

ur4ltz commented Nov 24, 2021

#198

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants