As a Roblox developer, it is currently too hard to globally enable or disable a Luau analysis check, you can do this per script using --!nolint ANALYSIS_CHECK
, however this cant enable lints, nor can we disable/enable globally.
Externally, the analysis CLI supports loading of a .luaurc
file, which allows us control with lints are enabled or disabled. Commonly, this includes FunctionUnused
.
However, we cant enable this in Roblox, since Roblox disables the FunctionUnused
lint through a list of numbers in an FString. While the FString can be modified, its not a clean process, and it would be nicer to have this as a setting directly inside Studio.
If Roblox is able to address this issue, it would improve my development experience because I could disable or enable lints globally across Studio instead of having to manually disable them per script