forked from viamrobotics/viam-flutter-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
analysis_options.yaml
35 lines (33 loc) · 896 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
35
include: package:flutter_lints/flutter.yaml
linter:
rules:
- always_declare_return_types
- avoid_catching_errors
- avoid_dynamic_calls
- avoid_field_initializers_in_const_classes
- avoid_slow_async_io
- avoid_type_to_string
- avoid_void_async
- cancel_subscriptions
- cast_nullable_to_non_nullable
- close_sinks
- literal_only_boolean_expressions
- no_adjacent_strings_in_list
- only_throw_errors
- prefer_single_quotes
- throw_in_finally
- unawaited_futures
- unnecessary_statements
- unnecessary_await_in_return
- prefer_final_locals
- directives_ordering
- prefer_relative_imports
analyzer:
errors:
avoid_function_literals_in_foreach_calls: ignore
prefer_for_elements_to_map_fromiterable: ignore
exclude:
- "**.pb.dart"
- "**.pbenum.dart"
- "**.pbjson.dart"
- "**.pbgrpc.dart"