-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
37 lines (35 loc) · 1.05 KB
/
Copy pathanalysis_options.yaml
File metadata and controls
37 lines (35 loc) · 1.05 KB
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
linter:
rules:
prefer_const_constructors: true
prefer_const_literals_to_create_immutables: true
avoid_print: true
prefer_single_quotes: false
always_declare_return_types: true
annotate_overrides: true
avoid_empty_else: true
avoid_init_to_null: true
avoid_return_types_on_setters: true
prefer_adjacent_string_concatenation: true
prefer_collection_literals: true
prefer_conditional_assignment: true
prefer_final_fields: true
prefer_for_elements_to_map_fromIterable: true
prefer_generic_function_type_aliases: true
prefer_if_null_operators: true
prefer_is_empty: true
prefer_is_not_empty: true
prefer_iterable_whereType: true
prefer_spread_collections: true
recursive_getters: true
unnecessary_this: true
use_function_type_syntax_for_parameters: true
use_rethrow_when_possible: true
analyzer:
errors:
missing_required_param: error
missing_return: error
todo: ignore
exclude:
- "**/*.g.dart"
- "**/*.freezed.dart"