Files
sdk/pkg/test_runner/analysis_options.yaml
T
Parker Lougheed ffc82e6f17 Stop enabling the package_api_docs lint
The lint is non-functional and will be deprecated soon.

Bug: https://github.com/dart-lang/linter/issues/5107
Change-Id: I4d4b75a6c7978f584bef37351514391f55761c55
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/389594
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Auto-Submit: Parker Lougheed <parlough@gmail.com>
2024-10-14 21:22:19 +00:00

23 lines
534 B
YAML

include: package:lints/recommended.yaml
analyzer:
language:
strict-casts: true
errors:
# TODO: These issues should be addressed.
exhaustive_cases: ignore
linter:
rules:
- avoid_bool_literals_in_conditional_expressions
- avoid_unused_constructor_parameters
- cancel_subscriptions
- comment_references
- directives_ordering
- omit_local_variable_types
- prefer_const_constructors
- throw_in_finally
- unnecessary_lambdas
- unnecessary_parenthesis
- unnecessary_statements