-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
28 lines (26 loc) · 890 Bytes
/
analysis_options.yaml
File metadata and controls
28 lines (26 loc) · 890 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
include: package:lints/recommended.yaml
linter:
rules:
- avoid_dynamic_calls
- prefer_relative_imports
- sort_unnamed_constructors_first
- use_late_for_private_fields_and_variables
analyzer:
errors:
avoid_dynamic_calls: ignore
prefer_relative_imports: error
sort_unnamed_constructors_first: ignore
use_late_for_private_fields_and_variables: ignore
exclude:
# ignore warnings in files from json_serializable, built_value and most generators
- "**/*.g.dart"
# ignore warnings in files generated by Freezed specifically.
- "**/*.freezed.dart"
# ignore warnings in files generated by Injectable specifically.
- "**/injection.config.dart"
# Other generated files
- "lib/generated_plugin_registrant.dart"
- "**/*.gr.dart"
- "lib/presentation/licenses/oss_licenses.dart"
# Widgetbook
- "**/*.widgetbook.dart"