-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathanalysis_options.yaml
37 lines (36 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
include: package:lints/recommended.yaml
linter:
rules:
hash_and_equals: true
avoid_annotating_with_dynamic: true
avoid_classes_with_only_static_members: true
avoid_function_literals_in_foreach_calls: true
avoid_positional_boolean_parameters: true
avoid_returning_this: true
avoid_setters_without_getters: true
avoid_types_on_closure_parameters: true
constant_identifier_names: true
directives_ordering: true
lines_longer_than_80_chars: false
non_constant_identifier_names: true
package_api_docs: true
prefer_const_constructors: true
prefer_const_constructors_in_immutables: true
prefer_const_declarations: true
prefer_const_literals_to_create_immutables: true
prefer_constructors_over_static_methods: false
prefer_final_in_for_each: true
prefer_final_locals: true
prefer_foreach: true
prefer_function_declarations_over_variables: true
prefer_if_elements_to_conditional_expressions: true
prefer_interpolation_to_compose_strings: true
prefer_is_not_operator: true
prefer_typing_uninitialized_variables: true
public_member_api_docs: true
unawaited_futures: false
unnecessary_brace_in_string_interps: true
unnecessary_lambdas: true
unnecessary_overrides: true
use_setters_to_change_properties: true
file_names: false