-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanalysis_options.yaml
45 lines (45 loc) · 1.32 KB
/
analysis_options.yaml
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
37
38
39
40
41
42
43
44
45
include: package:flutter_lints/flutter.yaml
linter:
rules:
- always_declare_return_types
- always_put_control_body_on_new_line
- always_put_required_named_parameters_first
- always_use_package_imports
- avoid_bool_literals_in_conditional_expressions
- avoid_final_parameters
- avoid_void_async
- camel_case_types
- combinators_ordering
- conditional_uri_does_not_exist
- directives_ordering
- discarded_futures
- eol_at_end_of_file
- leading_newlines_in_multiline_strings
- literal_only_boolean_expressions
- matching_super_parameters
- no_adjacent_strings_in_list
- no_literal_bool_comparisons
- no_self_assignments
- no_wildcard_variable_uses
- parameter_assignments
- prefer_final_in_for_each
- prefer_final_locals
- prefer_single_quotes
- require_trailing_commas
- sort_child_properties_last
- sort_constructors_first
- sort_pub_dependencies
- sort_unnamed_constructors_first
- throw_in_finally
- type_annotate_public_apis
- unawaited_futures
- unnecessary_await_in_return
- unnecessary_parenthesis
- unnecessary_raw_strings
- unnecessary_statements
- unreachable_from_main
- unsafe_html
- use_colored_box
- use_decorated_box
- use_enums
- use_full_hex_values_for_flutter_colors