-
Notifications
You must be signed in to change notification settings - Fork 4
/
analysis_options.yaml
36 lines (34 loc) · 1.15 KB
/
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
36
include: package:flutter_lints/flutter.yaml
linter:
rules:
prefer_single_quotes: true
sort_child_properties_last: true
directives_ordering: true
avoid_relative_lib_imports: true
sized_box_for_whitespace: true
use_colored_box: true
use_decorated_box: true
avoid_unnecessary_containers: true
omit_local_variable_types: true
prefer_contains: true
unnecessary_await_in_return: true
unnecessary_parenthesis: true
unnecessary_to_list_in_spreads: true
use_build_context_synchronously: true
use_to_and_as_if_applicable: true
unnecessary_lambdas: true
exhaustive_cases: true
flutter_style_todos: true
cascade_invocations: true
avoid_redundant_argument_values: true
always_use_package_imports: true
use_rethrow_when_possible: true
sort_unnamed_constructors_first: true
tighten_type_of_initializing_formals: true
prefer_iterable_whereType: true
avoid_void_async: true
await_only_futures: true
avoid_escaping_inner_quotes: true
depend_on_referenced_packages: false
# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options