forked from juancastillo0/y_crdt_dart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanalysis_options.yaml
49 lines (43 loc) · 1.4 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
include: package:lint/analysis_options_package.yaml
linter:
rules:
# different
prefer_single_quotes: false
slash_for_doc_comments: false
avoid_print: true
prefer_is_empty: false
prefer_conditional_assignment: false
avoid_function_literals_in_foreach_calls: false
non_constant_identifier_names: false
avoid_classes_with_only_static_members: false
use_setters_to_change_properties: false
prefer_constructors_over_static_methods: false
unnecessary_this: false
prefer_interpolation_to_compose_strings: false
prefer_if_elements_to_conditional_expressions: false
unnecessary_brace_in_string_interps: false
type_annotate_public_apis: true
avoid_redundant_argument_values: false
# new
avoid_unused_constructor_parameters: true
prefer_const_constructors: true
lines_longer_than_80_chars: true
# prefer_single_quotes: true
avoid_dynamic_calls: true
prefer_adjacent_string_concatenation: true
unawaited_futures: true
use_named_constants: true
avoid_renaming_method_parameters: true
avoid_equals_and_hash_code_on_mutable_classes: true
analyzer:
strong-mode:
implicit-casts: false
# implicit-dynamic: false
exclude:
- lib/**.g.dart
- lib/**.freezed.dart
- lib/generated/**/*
errors:
missing_return: error
unrelated_type_equality_checks: error
null_check_on_nullable_type_parameter: warning