# Shared analyzer config for the Tane workspace. # Per-package files (packages/*/analysis_options.yaml, # apps/*/analysis_options.yaml) include this and may add rules. include: package:flutter_lints/flutter.yaml analyzer: errors: # Generated code must never fail the build. invalid_annotation_target: ignore exclude: - "**/*.g.dart" - "**/*.drift.dart" - "apps/app_seeds/lib/i18n/strings.g.dart" linter: rules: # Enforce the "no hardcoded user-facing strings" rule at review time # (full enforcement is a CI grep in test/; see docs/design/testing.md). prefer_single_quotes: true require_trailing_commas: true