-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
36 lines (34 loc) · 908 Bytes
/
Copy pathanalysis_options.yaml
File metadata and controls
36 lines (34 loc) · 908 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
33
34
35
36
include: package:flutter_lints/flutter.yaml
analyzer:
language:
strict-casts: true
strict-raw-types: true
errors:
missing_required_param: error
missing_return: error
todo: ignore
linter:
rules:
- always_declare_return_types
- always_put_required_named_parameters_first
- avoid_empty_else
- avoid_print
- avoid_unnecessary_containers
- avoid_unused_constructor_parameters
- await_only_futures
- cancel_subscriptions
- close_sinks
- comment_references
- directives_ordering
- empty_statements
- prefer_const_constructors
- prefer_const_declarations
- prefer_final_fields
- prefer_final_locals
- prefer_single_quotes
- sized_box_for_whitespace
- sort_child_properties_last
- unawaited_futures
- unnecessary_statements
- use_full_hex_values_for_flutter_colors
- use_key_in_widget_constructors