isDisabledInProject static method
Whether ruleName is disabled in the project at root.
Implementation
static bool isDisabledInProject(String ruleName, String root) {
if (allRulesEnabled) return false;
final config = _cache.putIfAbsent(root, () => _loadProjectConfig(root));
return !config.enabledRules.contains(ruleName);
}