Skip to content

Commit

Permalink
[ci] Exclude files generated by Pigeon from analysis. (flutter#4546)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvanbeusekom authored Nov 28, 2021
1 parent 7760622 commit a9f34a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ analyzer:
- '**/*.g.dart'
- 'lib/src/generated/*.dart'
- '**/*.mocks.dart' # Mockito @GenerateMocks
- '**/*.pigeon.dart' # Pigeon generated file

linter:
rules:
Expand Down
1 change: 1 addition & 0 deletions analysis_options_legacy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ analyzer:
- '**/*.g.dart'
- 'lib/src/generated/*.dart'
- '**/*.mocks.dart' # Mockito @GenerateMocks
- '**/*.pigeon.dart' # Pigeon generated file
errors:
always_require_non_null_named_parameters: false # not needed with nnbd
# TODO(https://github.com/flutter/flutter/issues/74381):
Expand Down

0 comments on commit a9f34a1

Please sign in to comment.