-
Notifications
You must be signed in to change notification settings - Fork 455
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
32 lines (30 loc) · 930 Bytes
/
analysis_options.yaml
File metadata and controls
32 lines (30 loc) · 930 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# See https://dart.dev/guides/language/analysis-options
include: package:dart_flutter_team_lints/analysis_options.yaml
analyzer:
errors:
# For source_gen and analyzer deprecations
deprecated_member_use: ignore
language:
strict-casts: true
linter:
rules:
- avoid_private_typedef_functions
- avoid_redundant_argument_values
- avoid_unused_constructor_parameters
- avoid_void_async
- cancel_subscriptions
- cascade_invocations
- invalid_case_patterns
- join_return_with_assignment
- literal_only_boolean_expressions
- missing_whitespace_between_adjacent_strings
- no_runtimeType_toString
- prefer_const_declarations
- prefer_expression_function_bodies
- prefer_final_locals
- sort_child_properties_last
- unnecessary_breaks
- unnecessary_ignore
- use_full_hex_values_for_flutter_colors
- use_null_aware_elements
- use_string_buffers