Skip to content

Commit

Permalink
Add notes to analysis_options and exclude build folder
Browse files Browse the repository at this point in the history
  • Loading branch information
h3x4d3c1m4l committed Aug 1, 2024
1 parent c66e2cb commit 4e0f99a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
include: package:flutter_lints/flutter.yaml

analyzer:
# More info: https://dart.dev/tools/analysis
exclude:
- 'build/**'
- '**/*.g.dart'
- '**/*.freezed.dart'
- '**/*.generated.dart'
- '**/*.json.dart'
language:
# TODO... fix dynamic usage :-(
# strict-casts: true
# strict-raw-types: true

linter:
# More info: https://dart.dev/tools/linter-rules
Expand All @@ -15,7 +21,7 @@ linter:
- annotate_redeclares
- avoid_bool_literals_in_conditional_expressions
- avoid_dynamic_calls
- avoid_field_initializers_in_const_classes
- avoid_field_initializers_in_const_classes
- avoid_private_typedef_functions
- avoid_slow_async_io
- avoid_type_to_string
Expand Down Expand Up @@ -63,4 +69,3 @@ linter:
- use_named_constants
- use_string_buffers
- use_to_and_as_if_applicable

0 comments on commit 4e0f99a

Please sign in to comment.