mirror of
https://github.com/dart-lang/sdk
synced 2024-10-05 02:17:16 +00:00
3a650f40a8
With a simple move of two classes, Fix and FixContent. The class moves are not exactly no-ops. I moved each class into its own library and made the following changes: * Start doc comments with third person verbs [1]. * Make `Fix` class **final**. * Make `FixContext` class **interface**. [1]: https://dart.dev/effective-dart/documentation#prefer-starting-function-or-method-comments-with-third-person-verbs Work towards https://github.com/dart-lang/sdk/issues/53402 Cq-Include-Trybots: dart-internal/g3.dart-internal.try:g3-cbuild-try Change-Id: Ic046b236d634543832825db8746e0abdca5191fe Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/355889 Reviewed-by: Alexander Thomas <athom@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Samuel Rawlins <srawlins@google.com>
29 lines
787 B
YAML
29 lines
787 B
YAML
include: package:lints/recommended.yaml
|
|
|
|
analyzer:
|
|
language:
|
|
strict-casts: true
|
|
strict-inference: true
|
|
strict-raw-types: true
|
|
errors:
|
|
# This package imports much of the implementation libraries of the
|
|
# 'analyzer' (and sometimes the '_fe_analyzer_shared' package), because it
|
|
# is tightly integrated. This will not likely change any time soon.
|
|
implementation_imports: ignore
|
|
|
|
linter:
|
|
rules:
|
|
- always_use_package_imports
|
|
- avoid_dynamic_calls
|
|
- avoid_redundant_argument_values
|
|
- avoid_unused_constructor_parameters
|
|
- flutter_style_todos
|
|
- library_annotations
|
|
- prefer_single_quotes
|
|
- unawaited_futures
|
|
- unnecessary_breaks
|
|
- unnecessary_library_directive
|
|
- unnecessary_parenthesis
|
|
- unreachable_from_main
|
|
|