-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
analysis_options.yaml
33 lines (31 loc) · 974 Bytes
/
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
include: package:lints/recommended.yaml
analyzer:
language:
strict-casts: true
linter:
rules:
always_declare_return_types: true
avoid_dynamic_calls: true
avoid_escaping_inner_quotes: true
avoid_final_parameters: true
avoid_setters_without_getters: true
cast_nullable_to_non_nullable: true
close_sinks: true
conditional_uri_does_not_exist: true
# TODO: enable this lint
# invalid_runtime_check_with_js_interop_types: true
no_adjacent_strings_in_list: true
no_default_cases: true
no_leading_underscores_for_local_identifiers: true
omit_local_variable_types: true
only_throw_errors: true
prefer_interpolation_to_compose_strings: true
sort_child_properties_last: true
sort_pub_dependencies: true
test_types_in_equals: true
unawaited_futures: true
unnecessary_late: true
unnecessary_parenthesis: true
unnecessary_statements: true
unsafe_html: true
use_raw_strings: true