# Mirrors a default `flutter create` app's analysis setup, with fragment-noise rules
# OFF on purpose: fences are ILLUSTRATIVE snippets, so unused-import/local and style
# lints would mask real kit-API drift. Only ERROR-severity diagnostics (the analyzer's
# resolution/type errors) are what the Tier-2 gate reads — see typecheck-fences-dart.mjs.
# The strict unused-import check is enforced on FULL emits by the reviewer, not fragments.
include: package:flutter_lints/flutter.yaml

analyzer:
  errors:
    unused_import: ignore
    unused_local_variable: ignore
    unused_element: ignore
    unused_field: ignore
    depend_on_referenced_packages: ignore
    avoid_print: ignore
    prefer_const_constructors: ignore
    prefer_const_literals_to_create_immutables: ignore
    use_build_context_synchronously: ignore
    dead_code: ignore

linter:
  rules:
    prefer_const_constructors: false
    prefer_const_declarations: false
    avoid_print: false
