-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathanalysis_options.yaml
47 lines (45 loc) · 1.31 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
46
47
include: package:flutter_lints/flutter.yaml
analyzer:
exclude:
- fvm/
- lib/**/*.config.dart
linter:
rules:
- always_declare_return_types
- always_use_package_imports
- avoid_annotating_with_dynamic
- avoid_bool_literals_in_conditional_expressions
- avoid_double_and_int_checks
- avoid_positional_boolean_parameters
- avoid_redundant_argument_values
- avoid_unused_constructor_parameters
- conditional_uri_does_not_exist
- directives_ordering
- invalid_case_patterns
- join_return_with_assignment
- lines_longer_than_80_chars
- literal_only_boolean_expressions
- matching_super_parameters
- no_self_assignments
- one_member_abstracts
- prefer_asserts_in_initializer_lists
- prefer_asserts_with_message
- prefer_constructors_over_static_methods
- prefer_final_locals
- prefer_mixin
- prefer_null_aware_method_calls
- require_trailing_commas
- sized_box_shrink_expand
- sort_pub_dependencies
- sort_unnamed_constructors_first
- throw_in_finally
- unnecessary_await_in_return
- unnecessary_null_checks
- unnecessary_parenthesis
- unnecessary_statements
- use_colored_box
- use_decorated_box
- use_enums
- use_is_even_rather_than_modulo
- use_named_constants
- use_string_buffers