-
-
Notifications
You must be signed in to change notification settings - Fork 860
/
analysis_options.yaml
54 lines (52 loc) · 1.62 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
48
49
50
51
52
53
54
include: package:flutter_lints/flutter.yaml
analyzer:
language:
strict-casts: true
strict-inference: true
strict-raw-types: true
errors:
missing_required_param: error
missing_return: error
linter:
rules:
always_declare_return_types: true
always_use_package_imports: true
avoid_dynamic_calls: true
cancel_subscriptions: true
close_sinks: true
directives_ordering: true
package_api_docs: true
prefer_constructors_over_static_methods: true
prefer_final_in_for_each: true
prefer_final_locals: true
prefer_int_literals: true
test_types_in_equals: true
throw_in_finally: true
type_annotate_public_apis: true
unnecessary_statements: true
use_named_constants: true
cast_nullable_to_non_nullable: true
only_throw_errors: true
sort_unnamed_constructors_first: true
prefer_asserts_with_message: true
missing_whitespace_between_adjacent_strings: true
avoid_multiple_declarations_per_line: true
noop_primitive_operations: true
avoid_void_async: true
avoid_redundant_argument_values: true
unnecessary_null_checks: true
prefer_single_quotes: true
unnecessary_parenthesis: true
use_if_null_to_convert_nulls_to_bools: true
matching_super_parameters: true
prefer_const_constructors: true
use_decorated_box: true
use_is_even_rather_than_modulo: true
unnecessary_lambdas: true
sort_pub_dependencies: true
prefer_void_to_null: true
unnecessary_raw_strings: true
comment_references: true
parameter_assignments: true
avoid_unused_constructor_parameters: true
public_member_api_docs: true