Skip to content

Commit

Permalink
Merge branch 'avoid_late_feature' of https://github.com/maxxlab/solid…
Browse files Browse the repository at this point in the history
…_lints into avoid_late_feature
  • Loading branch information
maxxlab committed Nov 17, 2023
2 parents 2037550 + fbf2270 commit e3a85fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/lints/avoid_late_keyword/avoid_late_keyword_rule.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ class AvoidLateKeywordRule extends SolidLintRule<AvoidLateKeywordParameters> {
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;
Expand Down

0 comments on commit e3a85fa

Please sign in to comment.