27e03e18d5
This change creates `pkg/dart_runtime_services/` with the initial implementation of `package:dart_runtime_service`. `package:dart_runtime_service` provides a simple interface to create Dart services with common platform-agnostic features and behaviors, while also allowing for configuration of custom service backends. This initial implementation focuses on providing the initial shared server functionality, including: - Handlers for web socket and SSE connections - Authentication code generation + validation - Client management - Initial RPC routing with two sample RPCs (getClientName, setClientName) Change-Id: I1458269a5de7edd97120103a2c5fc2d0348eff31 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/478760 Reviewed-by: Alexander Thomas <athom@google.com> Commit-Queue: Ben Konyi <bkonyi@google.com>
16 lines
343 B
YAML
16 lines
343 B
YAML
include: package:dart_flutter_team_lints/analysis_options.yaml
|
|
|
|
analyzer:
|
|
language:
|
|
strict-raw-types: true
|
|
|
|
linter:
|
|
rules:
|
|
- avoid_redundant_argument_values
|
|
- prefer_final_in_for_each
|
|
- prefer_final_locals
|
|
- sort_constructors_first
|
|
- sort_unnamed_constructors_first
|
|
- unnecessary_async
|
|
- unnecessary_breaks
|