-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
32 lines (30 loc) · 981 Bytes
/
analysis_options.yaml
File metadata and controls
32 lines (30 loc) · 981 Bytes
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
include: package:lints/recommended.yaml
analyzer:
errors:
invalid_annotation_target: ignore
exclude:
- 'packages/**/**.g.dart'
- 'packages/**/**.freezed.dart'
- 'packages/**/bridge_generated.dart'
- 'packages/**/types.pb*.dart'
# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
linter:
rules:
avoid_print: false
avoid_redundant_argument_values: false
always_declare_return_types: true
directives_ordering: true
prefer_const_constructors: true
prefer_const_constructors_in_immutables: true
prefer_const_declarations: true
prefer_final_fields: true
prefer_final_in_for_each: true
prefer_final_locals: true
prefer_single_quotes: true
require_trailing_commas: false
sort_constructors_first: true
sort_unnamed_constructors_first: true
unnecessary_await_in_return: true
unnecessary_library_name: false
unnecessary_parenthesis: true