Skip to content

Commit

Permalink
issue-167. fixed no_empty_block_rule format
Browse files Browse the repository at this point in the history
  • Loading branch information
shaark committed Dec 5, 2024
1 parent 199cca6 commit 71c28c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/lints/no_empty_block/no_empty_block_rule.dart
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class NoEmptyBlockRule extends SolidLintRule<NoEmptyBlockParameters> {
context.registry.addDeclaration((node) {
final isIgnored = config.parameters.exclude.shouldIgnore(node);
if (isIgnored) return;

final visitor = NoEmptyBlockVisitor();
node.accept(visitor);

Expand Down

0 comments on commit 71c28c0

Please sign in to comment.