Sync lints (#126316)
Sync lints with https://github.com/dart-lang/linter/blob/master/example/all.yaml and enable `implicit_reopen` and `type_literal_in_constant_pattern` (which have no violations). Also contains some clean-up work towards enabling `matching_super_parameters`, which is not quite ready yet due to its handling of "private" arguments.
This commit is contained in:
committed by
GitHub
parent
0a63cd70f1
commit
42d9a2b3fa
@@ -21,7 +21,7 @@ import 'protocol_discovery.dart';
|
||||
/// A partial implementation of Device for desktop-class devices to inherit
|
||||
/// from, containing implementations that are common to all desktop devices.
|
||||
abstract class DesktopDevice extends Device {
|
||||
DesktopDevice(super.identifier, {
|
||||
DesktopDevice(super.id, {
|
||||
required PlatformType super.platformType,
|
||||
required super.ephemeral,
|
||||
required Logger logger,
|
||||
|
||||
@@ -15,7 +15,7 @@ import 'vmservice.dart';
|
||||
const String kFlutterTestOutputsDirEnvName = 'FLUTTER_TEST_OUTPUTS_DIR';
|
||||
class ColdRunner extends ResidentRunner {
|
||||
ColdRunner(
|
||||
super.devices, {
|
||||
super.flutterDevices, {
|
||||
required super.target,
|
||||
required super.debuggingOptions,
|
||||
this.traceStartup = false,
|
||||
|
||||
@@ -79,7 +79,7 @@ class DeviceReloadReport {
|
||||
|
||||
class HotRunner extends ResidentRunner {
|
||||
HotRunner(
|
||||
super.devices, {
|
||||
super.flutterDevices, {
|
||||
required super.target,
|
||||
required super.debuggingOptions,
|
||||
this.benchmarkMode = false,
|
||||
|
||||
@@ -44,7 +44,7 @@ class FlutterTesterApp extends ApplicationPackage {
|
||||
/// also be used as a regular device when `--show-test-device` is provided
|
||||
/// to the flutter command.
|
||||
class FlutterTesterDevice extends Device {
|
||||
FlutterTesterDevice(super.deviceId, {
|
||||
FlutterTesterDevice(super.id, {
|
||||
required ProcessManager processManager,
|
||||
required FlutterVersion flutterVersion,
|
||||
required Logger logger,
|
||||
|
||||
@@ -842,7 +842,7 @@ class NoOpDoctor implements Doctor {
|
||||
}
|
||||
|
||||
class PassingValidator extends DoctorValidator {
|
||||
PassingValidator(super.name);
|
||||
PassingValidator(super.title);
|
||||
|
||||
@override
|
||||
Future<ValidationResult> validate() async {
|
||||
@@ -1082,7 +1082,7 @@ class FakeDoctorValidatorsProvider implements DoctorValidatorsProvider {
|
||||
}
|
||||
|
||||
class PassingGroupedValidator extends DoctorValidator {
|
||||
PassingGroupedValidator(super.name);
|
||||
PassingGroupedValidator(super.title);
|
||||
|
||||
@override
|
||||
Future<ValidationResult> validate() async {
|
||||
@@ -1094,7 +1094,7 @@ class PassingGroupedValidator extends DoctorValidator {
|
||||
}
|
||||
|
||||
class MissingGroupedValidator extends DoctorValidator {
|
||||
MissingGroupedValidator(super.name);
|
||||
MissingGroupedValidator(super.title);
|
||||
|
||||
@override
|
||||
Future<ValidationResult> validate() async {
|
||||
@@ -1106,7 +1106,7 @@ class MissingGroupedValidator extends DoctorValidator {
|
||||
}
|
||||
|
||||
class PartialGroupedValidator extends DoctorValidator {
|
||||
PartialGroupedValidator(super.name);
|
||||
PartialGroupedValidator(super.title);
|
||||
|
||||
@override
|
||||
Future<ValidationResult> validate() async {
|
||||
@@ -1118,7 +1118,7 @@ class PartialGroupedValidator extends DoctorValidator {
|
||||
}
|
||||
|
||||
class PassingGroupedValidatorWithStatus extends DoctorValidator {
|
||||
PassingGroupedValidatorWithStatus(super.name);
|
||||
PassingGroupedValidatorWithStatus(super.title);
|
||||
|
||||
@override
|
||||
Future<ValidationResult> validate() async {
|
||||
|
||||
Reference in New Issue
Block a user