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
@@ -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