forked from ml-opensource/flutter-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanalysis_options.yaml
28 lines (25 loc) · 1.05 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
28
# This file configures the analyzer, which statically analyzes Dart code to
# check for errors, warnings, and lints.
#
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
# invoked from the command line by running `flutter analyze`.
include: package:monstarlab_lints/analysis_options.yaml
# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
analyzer:
errors:
# Ignore invalid annotations since freezed annotation and json serializable required it
invalid_annotation_target: ignore
exclude:
# ignore DI
- "**/injector.config.dart"
- "**/generated_plugin_registrant.dart"
# 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 NStack specifically.
- "**/*nstack.dart"
# Ignore bricks
- bricks/**