Files
sdk/pkg/analysis_server_client/analysis_options.yaml
Paul Berry 406f493bcf Sort linter rules in developer experience analysis_options.yaml files.
https://dart-review.googlesource.com/c/sdk/+/505046 was created by an
automated script that didn't respect the ordering of lint entries in
`analysis_options.yaml` files. We usually try to keep them sorted, so
this CL re-sorts them.

Change-Id: I1a7d007af34b6db2f8e4f02b8cc71d2c6a6a6964
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/507140
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2026-05-29 12:39:54 -07:00

23 lines
654 B
YAML

include: package:lints/recommended.yaml
analyzer:
errors:
constant_identifier_names: ignore
non_constant_identifier_names: ignore
# Ignoring this for all developers means developers don't need to ignore
# TODOs in their IDE settings.
todo: 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
- unnecessary_const_in_enum_constructor
- unnecessary_type_name_in_constructor