diff --git a/lib/lints/avoid_late_keyword/avoid_late_keyword_rule.dart b/lib/lints/avoid_late_keyword/avoid_late_keyword_rule.dart index 29c2e92f..3f5ec6eb 100644 --- a/lib/lints/avoid_late_keyword/avoid_late_keyword_rule.dart +++ b/lib/lints/avoid_late_keyword/avoid_late_keyword_rule.dart @@ -45,8 +45,8 @@ class AvoidLateKeywordRule extends SolidLintRule { final isLateDeclaration = node.declaredElement?.isLate ?? false; if (!isLateDeclaration) return false; - final ignoredTypes = _hasIgnoredType(node); - if (ignoredTypes) return false; + final hasIgnoredType = _hasIgnoredType(node); + if (hasIgnoredType) return false; final allowInitialized = config.parameters.allowInitialized; if (!allowInitialized) return true;