uto_manager/analysis_options.yaml

25 lines
801 B
YAML

include: package:very_good_analysis/analysis_options.yaml
analyzer:
exclude:
- "**/*.g.dart"
- "**/*.freezed.dart"
- lib/infrastructure/database/*.g.dart
errors:
invalid_annotation_target: ignore
linter:
rules:
# Allow print statements during development (remove for production)
avoid_print: false
# Allow public members without docs in non-library code
public_member_api_docs: false
# Allow single-line if statements
curly_braces_in_flow_control_structures: true
# Prefer const constructors
prefer_const_constructors: true
prefer_const_declarations: true
# Dart formatter may produce lines > 80 chars for chained method calls;
# disable to avoid fighting the formatter.
lines_longer_than_80_chars: false