include: package:flutter_lints/flutter.yaml

analyzer:
  exclude:
    # Mason templates are not valid Dart until they are rendered.
    - bricks/**
    - build/**

  errors:
    # The project deliberately uses PascalCase file names and a PascalCase
    # package root, matching the house architecture. These are conventions,
    # not defects.
    file_names: ignore
    camel_case_types: ignore
    constant_identifier_names: ignore
    non_constant_identifier_names: ignore
    library_prefixes: ignore

linter:
  rules:
    use_super_parameters: false
    prefer_const_constructors: false
    prefer_const_literals_to_create_immutables: false
    library_private_types_in_public_api: false
