-
-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
32 lines (30 loc) · 937 Bytes
/
analysis_options.yaml
File metadata and controls
32 lines (30 loc) · 937 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
include: package:lints/recommended.yaml
linter:
rules:
non_constant_identifier_names: false
prefer_function_declarations_over_variables: false
constant_identifier_names: false
avoid_slow_async_io: true
unnecessary_brace_in_string_interps: true
unnecessary_await_in_return: true
unnecessary_const: true
unnecessary_parenthesis: true
use_string_buffers: true
avoid_returning_null_for_void: true
avoid_shadowing_type_parameters: true
avoid_type_to_string: true
avoid_types_as_parameter_names: true
no_runtimeType_toString: true
sort_pub_dependencies: true
always_declare_return_types: true
# avoid_dynamic_calls: true
avoid_print: true
unawaited_futures: true
no_leading_underscores_for_local_identifiers: false
unnecessary_breaks: true
analyzer:
errors:
missing_required_param: error
missing_return: error
todo: ignore
fixme: ignore