readEnabledRules static method
Reads the set of enabled rule names at registration time. Uses the same resolution logic as readAllRuleConfigs.
Implementation
static Set<String> readEnabledRules({String? projectRoot}) {
final root = _resolveRoot(projectRoot);
if (root == null) return const {};
return _readEnabledRules(root);
}