-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathanalysis_options.yaml
33 lines (32 loc) · 1.07 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
linter:
rules:
- avoid_empty_else
- empty_statements
- hash_and_equals
- iterable_contains_unrelated_type
- list_remove_unrelated_type
- no_adjacent_strings_in_list
- no_duplicate_case_values
- unrelated_type_equality_checks
- valid_regexps
- always_declare_return_types
- always_specify_types
- annotate_overrides
- avoid_function_literals_in_foreach_calls
- await_only_futures
- directives_ordering
- empty_catches
- implementation_imports
#- one_member_abstracts # PL: seemed like a good idea at the time but fucks over using them as interfaces
#- overridden_fields # PL: still unsure about turning this off but overriding fields is part of class/aspect now
- prefer_contains
- prefer_function_declarations_over_variables
- prefer_interpolation_to_compose_strings
- prefer_is_empty
- recursive_getters
- sort_constructors_first
- unnecessary_brace_in_string_interps
- unnecessary_getters_setters
- unnecessary_lambdas
- unnecessary_overrides
- use_to_and_as_if_applicable