Files
sdk/pkg/_fe_analyzer_shared/analysis_options.yaml
T
Paul Berry 2574aba79d [_fe_analyzer_shared] Enable deprecated_member_use_from_same_package lint.
This lint is enabled in `pkg/analyzer`. It makes sense to enable it in
`pkg/_fe_analyzer_shared` as well.

Change-Id: I6a6a6964a61eda6d6b2414589c4b731e1f2223af
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/466181
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2025-12-05 05:23:31 -08:00

25 lines
750 B
YAML

# Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
include: analysis_options_no_lints.yaml
linter:
rules:
- analyzer_public_api
- annotate_overrides
- collection_methods_unrelated_type
- curly_braces_in_flow_control_structures
- deprecated_member_use_from_same_package
- discarded_futures
- prefer_adjacent_string_concatenation
- unawaited_futures
- recursive_getters
- avoid_empty_else
- empty_statements
- valid_regexps
- lines_longer_than_80_chars
# - always_specify_types
- use_super_parameters
- comment_references