Skip to content

Commit

Permalink
Update analysis_options.yaml to exclude final fields with getters
Browse files Browse the repository at this point in the history
  • Loading branch information
4akloon committed Apr 17, 2024
1 parent f49be9d commit d505db7
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions lib/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ analyzer:
- custom_lint
exclude:
# General generated files
- "**/*.g.dart"
- "**/*.gr.dart"
- '**/*.g.dart'
- '**/*.gr.dart'

# Flutter
- "lib/generated_plugin_registrant.dart"
- 'lib/generated_plugin_registrant.dart'

# mockito
- "*.mocks.dart"
- "**/*.mocks.dart"
- '*.mocks.dart'
- '**/*.mocks.dart'

# freezed
- "**/*.freezed.dart"
- '**/*.freezed.dart'

# protobuf
- "**/*.pb.dart"
- '**/*.pb.dart'

# test_coverage
- test/.test_coverage.dart
Expand Down Expand Up @@ -51,6 +51,7 @@ custom_lint:
- avoid_unrelated_type_assertions
- avoid_unused_parameters
- avoid_debug_print
- avoid_final_with_getter

- cyclomatic_complexity:
max_complexity: 10
Expand Down

0 comments on commit d505db7

Please sign in to comment.