Skip to content

Commit

Permalink
Add unnecessary_brace_in_string_interps to lint ignores (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
pingbird authored Jan 16, 2022
1 parent d4dab0d commit bbe2c7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chopper_generator/lib/src/generator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class ChopperGenerator extends GeneratorForAnnotation<chopper.ChopperApi> {
});

final ignore =
'// ignore_for_file: always_put_control_body_on_new_line, always_specify_types, prefer_const_declarations';
'// ignore_for_file: always_put_control_body_on_new_line, always_specify_types, prefer_const_declarations, unnecessary_brace_in_string_interps';
final emitter = DartEmitter();
return DartFormatter().format('$ignore\n${classBuilder.accept(emitter)}');
}
Expand Down

0 comments on commit bbe2c7a

Please sign in to comment.