Skip to content

Commit

Permalink
Fix analysis in generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexios80 committed Oct 23, 2024
1 parent e30faf7 commit 6ca6bf5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
8 changes: 8 additions & 0 deletions hive_generator/build.local.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
targets:
$default:
builders:
source_gen|combining_builder:
options:
ignore_for_file:
- document_ignores
- require_trailing_commas
2 changes: 2 additions & 0 deletions hive_generator/lib/src/model/hive_schema.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions hive_generator/lib/src/model/registrar_intermediate.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion hive_generator/lib/src/registrar_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import 'package:hive_ce_generator/src/model/registrar_intermediate.dart';
class RegistrarBuilder implements Builder {
@override
final buildExtensions = const {
r'$lib$': ['hive_registrar.g.dart']
r'$lib$': ['hive_registrar.g.dart'],
};

@override
Expand Down

0 comments on commit 6ca6bf5

Please sign in to comment.