Skip to content

Commit

Permalink
Disable test warning in generated files
Browse files Browse the repository at this point in the history
fixes #2871
  • Loading branch information
rrousselGit committed Sep 4, 2023
1 parent 6c9b73c commit 1003676
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/riverpod_generator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Unreleased patch

- Disable `invalid_use_of_visible_for_testing_member` in generated files

## 2.3.1 - 2023-08-28

- `riverpod_annotation` upgraded to `2.1.4`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class RiverpodGenerator extends ParserGenerator<Riverpod> {
if (buffer.isNotEmpty) {
buffer.write('''
// ignore_for_file: type=lint
// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member
// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member
''');
}

Expand Down

0 comments on commit 1003676

Please sign in to comment.