-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
35 lines (34 loc) · 926 Bytes
/
analysis_options.yaml
File metadata and controls
35 lines (34 loc) · 926 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
# https://www.dartlang.org/guides/language/analysis-options
# http://dart-lang.github.io/linter/lints/
analyzer:
strong-mode:
implicit-dynamic: false
# implicit-casts: false
linter:
rules:
- always_declare_return_types
- annotate_overrides
- avoid_empty_else
- avoid_init_to_null
- avoid_slow_async_io
- await_only_futures
- camel_case_types
- empty_constructor_bodies
- empty_statements
- no_adjacent_strings_in_list
- no_duplicate_case_values
- one_member_abstracts
- prefer_collection_literals
# - prefer_conditional_assignment
- prefer_const_constructors
- prefer_contains
# - prefer_final_fields
# - prefer_final_locals
- slash_for_doc_comments
- sort_constructors_first
- unawaited_futures
- unnecessary_overrides
- unnecessary_this
- unrelated_type_equality_checks
- use_string_buffers
- valid_regexps