Skip to content

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

Description

@observerno1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions