@@ -331,19 +331,19 @@ class _AnalyzerTopLevelOptionsValidator extends _TopLevelOptionValidator {
331331/// values in the section, and whether each value is a valid string. 
332332class  _CannotIgnoreOptionValidator  extends  OptionsValidator  {
333333  /// Lazily populated set of diagnostic code names. 
334-    static  final  Set <String > _diagnosticCodes = 
335-       diagnosticCodeValues.map ((DiagnosticCode  code) =>  code.name).toSet ();
334+    static  final  Set <String > _diagnosticCodes =  diagnosticCodeValues
335+       .map ((DiagnosticCode  code) =>  code.name)
336+       .toSet ();
336337
337338  /// The diagnostic code names that existed, but were removed. 
338339  /// We don't want to report these, this breaks clients. 
339340   // TODO(scheglov): https://github.com/flutter/flutter/issues/141576 
340341  static  const  Set <String > _removedDiagnosticCodes =  {'MISSING_RETURN' };
341342
342343  /// Lazily populated set of lint code names. 
343-    late  final  Set <String > _lintCodes = 
344-       Registry .ruleRegistry.rules
345-           .map ((rule) =>  rule.name.toUpperCase ())
346-           .toSet ();
344+    late  final  Set <String > _lintCodes =  Registry .ruleRegistry.rules
345+       .map ((rule) =>  rule.name.toUpperCase ())
346+       .toSet ();
347347
348348  @override 
349349  void  validate (DiagnosticReporter  reporter, YamlMap  options) {
@@ -474,8 +474,9 @@ class _EnableExperimentsValidator extends OptionsValidator {
474474        AnalysisOptionsFile .enableExperiment,
475475      );
476476      if  (experimentNames is  YamlList ) {
477-         var  flags = 
478-             experimentNames.nodes.map ((node) =>  node.toString ()).toList ();
477+         var  flags =  experimentNames.nodes
478+             .map ((node) =>  node.toString ())
479+             .toList ();
479480        for  (var  validationResult in  validateFlags (flags)) {
480481          var  flagIndex =  validationResult.stringIndex;
481482          var  span =  experimentNames.nodes[flagIndex].span;
@@ -575,19 +576,19 @@ class _ErrorFilterOptionValidator extends OptionsValidator {
575576      legalValues.quotedAndCommaSeparatedWithAnd;
576577
577578  /// Lazily populated set of diagnostic code names. 
578-    static  final  Set <String > _diagnosticCodes = 
579-       diagnosticCodeValues.map ((DiagnosticCode  code) =>  code.name).toSet ();
579+    static  final  Set <String > _diagnosticCodes =  diagnosticCodeValues
580+       .map ((DiagnosticCode  code) =>  code.name)
581+       .toSet ();
580582
581583  /// The diagnostic code names that existed, but were removed. 
582584  /// We don't want to report these, this breaks clients. 
583585   // TODO(scheglov): https://github.com/flutter/flutter/issues/141576 
584586  static  const  Set <String > _removedDiagnosticCodes =  {'MISSING_RETURN' };
585587
586588  /// Lazily populated set of lint code names. 
587-    late  final  Set <String > _lintCodes = 
588-       Registry .ruleRegistry.rules
589-           .map ((rule) =>  rule.name.toUpperCase ())
590-           .toSet ();
589+    late  final  Set <String > _lintCodes =  Registry .ruleRegistry.rules
590+       .map ((rule) =>  rule.name.toUpperCase ())
591+       .toSet ();
591592
592593  @override 
593594  void  validate (DiagnosticReporter  reporter, YamlMap  options) {
@@ -1080,10 +1081,9 @@ class _TopLevelOptionValidator extends OptionsValidator {
10801081  _TopLevelOptionValidator (this .pluginName, this .supportedOptions)
10811082    :  assert (supportedOptions.isNotEmpty),
10821083      _valueProposal =  supportedOptions.quotedAndCommaSeparatedWithAnd,
1083-       _warningCode = 
1084-           supportedOptions.length ==  1 
1085-               ?  AnalysisOptionsWarningCode .unsupportedOptionWithLegalValue
1086-               :  AnalysisOptionsWarningCode .unsupportedOptionWithLegalValues;
1084+       _warningCode =  supportedOptions.length ==  1 
1085+           ?  AnalysisOptionsWarningCode .unsupportedOptionWithLegalValue
1086+           :  AnalysisOptionsWarningCode .unsupportedOptionWithLegalValues;
10871087
10881088  @override 
10891089  void  validate (DiagnosticReporter  reporter, YamlMap  options) {
0 commit comments