-
Notifications
You must be signed in to change notification settings - Fork 0
/
analysis_options.yaml
45 lines (42 loc) · 1.19 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
linter:
rules:
- always_require_non_null_named_parameters
- always_put_required_named_parameters_first
- avoid_redundant_argument_values
- avoid_returning_null
- avoid_returning_null_for_future
- avoid_setters_without_getters
- avoid_unnecessary_containers
- avoid_unused_constructor_parameters
- camel_case_types
- curly_braces_in_flow_control_structures
- directives_ordering
- empty_constructor_bodies
- join_return_with_assignment
- parameter_assignments
- prefer_const_constructors_in_immutables
- prefer_relative_imports
- sort_pub_dependencies
- unnecessary_null_checks
- unnecessary_statements
- unnecessary_parenthesis
- unnecessary_this
- unnecessary_nullable_for_final_variable_declarations
- unnecessary_null_aware_assignments
- unnecessary_new
- unnecessary_lambdas
- unnecessary_final
- unnecessary_const
- use_late_for_private_fields_and_variables
- use_setters_to_change_properties
- use_string_buffers
- use_to_and_as_if_applicable
- void_checks
analyzer:
errors:
missing_return: warning
todo: ignore
exclude:
- .history/**
- test/**
- bin/cache/**