mirror of
https://github.com/dart-lang/sdk
synced 2024-09-06 00:59:09 +00:00
![Sam Rawlins](/assets/img/avatar_default.png)
* Move the only 3 files from server_plugin to analysis_server_plugin. * Copy some test infra into analysis_server_plugin. This is temporary, as we need some shared test infra location. Change-Id: If2b41d436c9d3051e590f60ae2eb7ab31e529321 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/364161 Commit-Queue: Samuel Rawlins <srawlins@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
30 lines
787 B
YAML
30 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' package, because it is tightly integrated. This will not
|
|
# likely change any time soon.
|
|
implementation_imports: ignore
|
|
non_constant_identifier_names: 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
|
|
|