-
Notifications
You must be signed in to change notification settings - Fork 0
/
analysis_options.yaml
37 lines (35 loc) · 965 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
36
37
include: package:flutter_lints/flutter.yaml
analyzer:
language:
strict-casts: true
strict-inference: true
strict-raw-types: false
exclude:
- "**/generated/**.dart"
- "**/**.config.dart"
- "**/**.g.dart"
linter:
rules:
avoid_returning_this: true
type_annotate_public_apis: true
avoid_types_on_closure_parameters: true
avoid_void_async: true
cancel_subscriptions: true
close_sinks: true
directives_ordering: true
package_api_docs: true
package_prefixed_library_names: true
test_types_in_equals: true
throw_in_finally: true
unnecessary_statements: true
unnecessary_lambdas: true
require_trailing_commas: true
prefer_final_in_for_each: true
use_raw_strings: false
prefer_single_quotes: true
valid_regexps: true
use_enums: true
use_named_constants: true
unnecessary_late: true
use_string_buffers: true
use_if_null_to_convert_nulls_to_bools: true