Files
sdk/pkg/analysis_server_client/analysis_options.yaml
T
FMorschel c14b6eb81c [DAS] Adds lints for boolean literals to analysis server packages and fixes occurences
Bug: https://github.com/dart-lang/sdk/issues/59789
Change-Id: I3287ab55a1b3048c5cbf7f820563fbbd5a292512
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/445920
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Auto-Submit: Felipe Morschel <git@fmorschel.dev>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
2025-08-28 10:29:10 -07:00

18 lines
438 B
YAML

include: package:lints/recommended.yaml
analyzer:
errors:
constant_identifier_names: ignore
non_constant_identifier_names: ignore
# Existing violations (109)
unintended_html_in_doc_comment: ignore
linter:
rules:
- always_declare_return_types
- avoid_bool_literals_in_conditional_expressions
- no_literal_bool_comparisons
- omit_local_variable_types
- prefer_single_quotes
- unawaited_futures