-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
41 lines (38 loc) · 999 Bytes
/
analysis_options.yaml
File metadata and controls
41 lines (38 loc) · 999 Bytes
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
include: package:lints/recommended.yaml
analyzer:
language:
strict-casts: true
strict-inference: true
strict-raw-types: true
errors:
missing_return: error
dead_code: warning
linter:
rules:
- always_declare_return_types
- avoid_dynamic_calls
- avoid_print
- avoid_relative_lib_imports
- avoid_slow_async_io
- avoid_type_to_string
- cancel_subscriptions
- close_sinks
- collection_methods_unrelated_type
- combinators_ordering
- comment_references
- dangling_library_doc_comments
- deprecated_member_use_from_same_package
- implicit_reopen
- invalid_case_patterns
- library_annotations
- literal_only_boolean_expressions
- no_adjacent_strings_in_list
- no_self_assignments
- prefer_final_locals
- prefer_single_quotes
- prefer_void_to_null
- test_types_in_equals
- throw_in_finally
- unnecessary_statements
- use_build_context_synchronously
- use_super_parameters