Files
sdk/pkg/analyzer/test/analysis_options.yaml
Sam Rawlins f1aa891d6a analyzer: Add a test-directory-specific analysis options file
Change-Id: I6f8ce377923756a0ac31a377c75632216bcec0c5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/365867
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Phil Quitslund <pquitslund@google.com>
2024-05-10 15:52:03 +00:00

15 lines
530 B
YAML

include: ../analysis_options.yaml
analyzer:
errors:
# There are about 10k violations here due to missing return types on test
# methods.
inference_failure_on_function_return_type: ignore
# We sometimes name test classes with an underscore, and have a consistent
# practice of doing so. We do not have an problems of naming classes with
# snake_case, so we're not missing much by disabling it.
camel_case_types: ignore
constant_identifier_names: ignore
non_constant_identifier_names: ignore