mustBeModuleLevel'{{className}}' from '{{importSource}}' must be instantiated at module level only.small-rules/require-module-level-instantiationRequire configured classes to be instantiated at module level only.
mustBeModuleLevel'{{className}}' from '{{importSource}}' must be instantiated at module level only.This rule accepts one options object after the severity.
import Log from "@rbxts/rbxts-sleitnick-log";
function useStoryModesState() { const log = new Log(); log.Info("test");}import Log from "@rbxts/rbxts-sleitnick-log";
const log = new Log();
function useStoryModesState() { log.Info("test");}