-
Notifications
You must be signed in to change notification settings - Fork 0
/
analysis_options.yaml
34 lines (32 loc) · 968 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
34
# from https://github.com/flutter/samples/blob/master/animations/analysis_options.yaml
include: package:pedantic/analysis_options.yaml
analyzer:
enable-experiment:
- extension-methods
strong-mode:
implicit-casts: false
# comment out because analyzer cannot ignore map literal by "ignore: implicit_dynamic_map_literal"
# implicit-dynamic: false
linter:
rules:
- avoid_types_on_closure_parameters
- avoid_void_async
- await_only_futures
- camel_case_types
- cancel_subscriptions
- close_sinks
- constant_identifier_names
- control_flow_in_finally
- empty_statements
- hash_and_equals
- implementation_imports
- non_constant_identifier_names
- package_api_docs
- package_names
- package_prefixed_library_names
- test_types_in_equals
- throw_in_finally
- unnecessary_brace_in_string_interps
- unnecessary_getters_setters
- unnecessary_new
- unnecessary_statements