-
-
Notifications
You must be signed in to change notification settings - Fork 525
/
analysis_options.yaml
27 lines (25 loc) · 1.03 KB
/
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
# This is the default analysis_options.yaml for all packages and examples
# If a package needs specific rules, create the analysis_options.yaml on it
# include this file, like:
#
# include: ../analysis_options.yaml
#
include: package:flutter_lints/flutter.yaml
# TODO (albertus-stripe): Add "public_member_api_docs" linter after all public member documentation are finished.
analyzer:
errors:
# treat missing required parameters as a warning (not a hint)
missing_required_param: warning
# treat missing returns as a warning (not a hint)
missing_return: warning
# allow having TODOs in the code
todo: ignore
# TODO (albertus-stripe): Remove this once the melos PR is merged since this won't be an issue anymore
invalid_dependency: ignore
invalid_annotation_target: ignore #https://github.com/rrousselGit/freezed#disabling-invalid_annotation_target-warning-and-warning-in-generates-files
exclude:
- "bin/cache/**"
- "**/*.freezed.dart"
- "**/*.g.dart"
- "**/*.mocks.dart"
- "**/generated/**"