forked from westracer/fontify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
analysis_options.yaml
58 lines (55 loc) · 1.55 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
55
56
57
include: package:lints/recommended.yaml
linter:
rules:
- cancel_subscriptions
- avoid_types_as_parameter_names
- file_names
- avoid_catching_errors
- directives_ordering
- prefer_single_quotes
- avoid_dynamic_calls
- sort_constructors_first
- prefer_asserts_with_message
- use_string_buffers
- avoid_type_to_string
- close_sinks
- literal_only_boolean_expressions
- no_self_assignments
- test_types_in_equals
- throw_in_finally
- unnecessary_statements
- always_declare_return_types
- avoid_bool_literals_in_conditional_expressions
- avoid_classes_with_only_static_members
- avoid_multiple_declarations_per_line
- avoid_unused_constructor_parameters
- avoid_void_async
- combinators_ordering
- eol_at_end_of_file
- leading_newlines_in_multiline_strings
- matching_super_parameters
- no_literal_bool_comparisons
- only_throw_errors
- prefer_final_in_for_each
- prefer_final_locals
- prefer_if_elements_to_conditional_expressions
- prefer_null_aware_method_calls
- require_trailing_commas
- sized_box_shrink_expand
- type_annotate_public_apis
- unnecessary_await_in_return
- unnecessary_breaks
- unnecessary_raw_strings
- unreachable_from_main
- use_colored_box
- use_enums
- use_named_constants
- use_raw_strings
analyzer:
errors:
unnecessary_library_name: ignore
use_string_in_part_of_directives: ignore
exclude: [build/**]
strong-mode:
implicit-casts: false
implicit-dynamic: false