forked from codefactor-io/default-configs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanalysis_options.yaml
30 lines (30 loc) · 889 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
linter:
rules:
- avoid_returning_null
- avoid_slow_async_io
- avoid_unnecessary_containers
- avoid_return_types_on_setters
- avoid_returning_null_for_future
- avoid_init_to_null
- avoid_null_checks_in_equality_operators
- avoid_empty_else
- no_duplicate_case_values
- iterable_contains_unrelated_type
- list_remove_unrelated_type
- empty_catches
- hash_and_equals
- cancel_subscriptions
- close_sinks
- prefer_is_empty
- unnecessary_overrides
- unnecessary_statements
- unnecessary_null_aware_assignments
- unnecessary_null_in_if_null_operators
- unnecessary_null_checks
- unnecessary_nullable_for_final_variable_declarations
- unnecessary_raw_strings
- unnecessary_string_interpolations
- throw_in_finally
- use_string_buffers
- unrelated_type_equality_checks
- unsafe_html