blob: bf61dc4acf39ad8e14f3eda252a69a576ec2a94c [file] [log] [blame] [edit]
# In general, the regular analysis_options.yaml file found at the root of the
# repo also applies to engine code.
#
# This file applies some engine-specific settings to the general rule set.
# Deviations from the general rules are rare. They should be kept to a
# minimum to ensure a unified style across the repo.
#
# The reasoning for deviating from the general style must be documented below.
include: ../../../analysis_options.yaml
analyzer:
exclude:
- examples
# Fixture depends on dart:ui and raises false positives.
- flutter_frontend_server/test/fixtures/lib/main.dart
- prebuilts
- third_party
- shell/platform/fuchsia
linter:
rules:
avoid_equals_and_hash_code_on_mutable_classes: false # cannot import the meta package here
missing_whitespace_between_adjacent_strings: false # too many false positives
public_member_api_docs: true # dart:ui is public API
use_string_in_part_of_directives: false # needs to be evaluated, dart:ui frequently uses non-strings