This config file is suitable for using luacheck to check lua code for FantasyGrounds.
- Warns about line length > 150.
- Warns about cyclomatic complexity > 36. This is very permissive; best practices are much lower.
- Show warning codes.
-
corerpg
-
dnd2e
-
dnd35e
-
dnd4e
-
dnd5e
-
pfrpg
-
pfrpg2
-
sfrpg
-
All of bmos' current extensions
-
Kelrugem's extended automation
-
ClockAdjuster
-
Ryan Hagelstrom's BetterCombatEffects, BetterCombatEfffectsGold, Turbo, PowerUp, Exhausted, Contaminated, Effective-NPC, HighVariance, EffectiveInitiative, ArcaneWard, ChatAestheticsConfigurator, and FranklyNot
-
MeAndUnique's SizeMatters and TemporalFixation
-
SirMotte's Hearth Theme
- OOB_MSGTYPE_.+
- register.+
- unregister.+
- handle.+
allow_defined_top = true
Allows top-level globals without warning. Useful for those who do not want to localize or whitelist all functions.
If you fork this repo to generate your own luacheck config file, you must add a secret to your repo settings named ACTIONS containing a GitHub Personal Access Token