forked from yosemiteyss/flutter_volume_controller
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
31 lines (29 loc) · 913 Bytes
/
analysis_options.yaml
File metadata and controls
31 lines (29 loc) · 913 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
include: package:flutter_lints/flutter.yaml
# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
linter:
rules:
sort_constructors_first: true
prefer_single_quotes: true
avoid_print: true
always_use_package_imports: true
require_trailing_commas: true
no_leading_underscores_for_local_identifiers: true
avoid_unused_constructor_parameters: true
constant_identifier_names: true
unawaited_futures: true
directives_ordering: true
implementation_imports: true
library_prefixes: true
no_leading_underscores_for_library_prefixes: true
slash_for_doc_comments: true
always_declare_return_types: true
avoid_void_async: true
analyzer:
exclude:
- "**/*.g.dart"
- "**/assets.gen.dart"
- "**/generated_plugin_registrant.dart"
errors:
todo: ignore
invalid_annotation_target: ignore