-
Notifications
You must be signed in to change notification settings - Fork 40
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
sqf: Add lint for vars that are ALL_CAPS and not a macro #793
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files
|
Default on, but mods can exclude patterns? Just with ACRE_*,ACE_*, etc . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checks for global variables that are ALL_CAPS and may actually be a undefined macro
ref acemod/ACE3#10389
I think default off is a best as some mods use all caps in their code style
e.g. CBA/ACRE
SLX_XEH_MACHINE
ACRE_SPOKEN_LANGUAGES
ACRE_IS_SPECTATOR