mustBeModuleScopeYou must place screaming snake case at module scope. If this is not meant to be a module-scoped variable, use camelcase instead.small-rules/prefer-module-scope-constantsPrefer screaming snake case constants at module scope or the allowed top-level wrapper scope.
mustBeModuleScopeYou must place screaming snake case at module scope. If this is not meant to be a module-scoped variable, use camelcase instead.mustUseConstYou must use `const` when defining screaming snake case variables. If this is not a constant, use camelcase instead.This rule does not accept options.
function foo() { const FOO = true; }const FOO = true;