-
Notifications
You must be signed in to change notification settings - Fork 1
/
analysis_options.yaml
33 lines (31 loc) · 1.05 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
include: package:flutter_lints/flutter.yaml
analyzer:
exclude:
- 'lib/l10n/gen/*.dart'
- "lib/models/**.g.dart"
- "lib/routes/ledger_route**.dart"
linter:
rules:
always_declare_return_types: true
avoid_bool_literals_in_conditional_expressions: true
avoid_classes_with_only_static_members: true
avoid_print: true
avoid_redundant_argument_values: true
avoid_slow_async_io: true
avoid_void_async: true
constant_identifier_names: false
directives_ordering: true
library_private_types_in_public_api: false
prefer_const_constructors: true
prefer_const_constructors_in_immutables: true
prefer_const_declarations: true
prefer_const_literals_to_create_immutables: true
prefer_single_quotes: true
require_trailing_commas: true
sort_child_properties_last: true
sort_constructors_first: true
sort_pub_dependencies: true
sort_unnamed_constructors_first: true
unnecessary_await_in_return: true
unnecessary_late: true
unnecessary_nullable_for_final_variable_declarations: true