|
39 | 39 | "description": "Annotate redeclared members.", |
40 | 40 | "fixStatus": "hasFix" |
41 | 41 | }, |
| 42 | + { |
| 43 | + "name": "async_return_with_no_await", |
| 44 | + "description": "Return with no await.", |
| 45 | + "fixStatus": "hasFix" |
| 46 | + }, |
42 | 47 | { |
43 | 48 | "name": "avoid_annotating_with_dynamic", |
44 | 49 | "description": "Avoid annotating with `dynamic` when not required.", |
|
102 | 107 | { |
103 | 108 | "name": "avoid_final_parameters", |
104 | 109 | "description": "Avoid `final` for parameter declarations.", |
105 | | - "fixStatus": "needsFix" |
| 110 | + "fixStatus": "hasFix" |
106 | 111 | }, |
107 | 112 | { |
108 | 113 | "name": "avoid_function_literals_in_foreach_calls", |
|
379 | 384 | "description": "Use `;` instead of `{}` for empty constructor bodies.", |
380 | 385 | "fixStatus": "hasFix" |
381 | 386 | }, |
| 387 | + { |
| 388 | + "name": "empty_container_bodies", |
| 389 | + "description": "Use `;` instead of `{}` for empty container bodies.", |
| 390 | + "fixStatus": "hasFix" |
| 391 | + }, |
382 | 392 | { |
383 | 393 | "name": "empty_statements", |
384 | 394 | "description": "Avoid empty statements.", |
|
409 | 419 | "description": "Use Flutter TODO format: // TODO(username): message, https://URL-to-issue.", |
410 | 420 | "fixStatus": "hasFix" |
411 | 421 | }, |
| 422 | + { |
| 423 | + "name": "future_sync_value", |
| 424 | + "description": "For synchronous values, `Future.syncValue` is more performant.", |
| 425 | + "fixStatus": "hasFix" |
| 426 | + }, |
412 | 427 | { |
413 | 428 | "name": "hash_and_equals", |
414 | 429 | "description": "Always override `hashCode` if overriding `==`.", |
|
429 | 444 | "description": "Don't implicitly reopen classes.", |
430 | 445 | "fixStatus": "hasFix" |
431 | 446 | }, |
| 447 | + { |
| 448 | + "name": "initialize_in_field_declaration", |
| 449 | + "description": "Initialize the field in the field's initializer.", |
| 450 | + "fixStatus": "hasFix" |
| 451 | + }, |
432 | 452 | { |
433 | 453 | "name": "invalid_case_patterns", |
434 | 454 | "description": "Use case expressions that are valid in Dart 3.0.", |
435 | 455 | "fixStatus": "hasFix" |
436 | 456 | }, |
437 | 457 | { |
438 | 458 | "name": "invalid_runtime_check_with_js_interop_types", |
439 | | - "description": "Avoid runtime type tests with JS interop types where the result may not\n be platform-consistent.", |
| 459 | + "description": "Avoid runtime type tests with JS interop types where the result may not be platform-consistent.", |
440 | 460 | "fixStatus": "needsEvaluation" |
441 | 461 | }, |
442 | 462 | { |
|
499 | 519 | "description": "Use matching super parameter names.", |
500 | 520 | "fixStatus": "needsFix" |
501 | 521 | }, |
| 522 | + { |
| 523 | + "name": "migrate_design_widgets", |
| 524 | + "description": "Design widgets should be imported from Material or Cupertino packages.", |
| 525 | + "fixStatus": "hasFix" |
| 526 | + }, |
502 | 527 | { |
503 | 528 | "name": "missing_code_block_language_in_doc_comment", |
504 | 529 | "description": "A code block is missing a specified language.", |
|
524 | 549 | "description": "Don't use more than one case with same value.", |
525 | 550 | "fixStatus": "hasFix" |
526 | 551 | }, |
| 552 | + { |
| 553 | + "name": "no_dynamic_casts", |
| 554 | + "description": "Avoid implicit casts from `dynamic`.", |
| 555 | + "fixStatus": "needsFix" |
| 556 | + }, |
527 | 557 | { |
528 | 558 | "name": "no_leading_underscores_for_library_prefixes", |
529 | 559 | "description": "Avoid leading underscores for library prefixes.", |
|
545 | 575 | "fixStatus": "noFix" |
546 | 576 | }, |
547 | 577 | { |
548 | | - "name": "no_runtimeType_toString", |
| 578 | + "name": "no_raw_types", |
| 579 | + "description": "Avoid raw types.", |
| 580 | + "fixStatus": "needsFix" |
| 581 | + }, |
| 582 | + { |
| 583 | + "name": "no_runtimetype_tostring", |
549 | 584 | "description": "Avoid calling `toString()` on `runtimeType`.", |
550 | 585 | "fixStatus": "noFix" |
551 | 586 | }, |
|
864 | 899 | "description": "Use secure urls in `pubspec.yaml`.", |
865 | 900 | "fixStatus": "noFix" |
866 | 901 | }, |
| 902 | + { |
| 903 | + "name": "simple_directive_paths", |
| 904 | + "description": "Use simple directive paths.", |
| 905 | + "fixStatus": "hasFix" |
| 906 | + }, |
867 | 907 | { |
868 | 908 | "name": "simplify_variable_pattern", |
869 | 909 | "description": "Avoid unnecessary member names in variable patterns.", |
|
897 | 937 | { |
898 | 938 | "name": "sort_pub_dependencies", |
899 | 939 | "description": "Sort pub dependencies alphabetically.", |
900 | | - "fixStatus": "needsFix" |
| 940 | + "fixStatus": "hasFix" |
901 | 941 | }, |
902 | 942 | { |
903 | 943 | "name": "sort_unnamed_constructors_first", |
|
994 | 1034 | "description": "Avoid `const` keyword.", |
995 | 1035 | "fixStatus": "hasFix" |
996 | 1036 | }, |
| 1037 | + { |
| 1038 | + "name": "unnecessary_const_in_enum_constructor", |
| 1039 | + "description": "Don't use an explicit `const` in a generative enum constructor.", |
| 1040 | + "fixStatus": "hasFix" |
| 1041 | + }, |
997 | 1042 | { |
998 | 1043 | "name": "unnecessary_constructor_name", |
999 | 1044 | "description": "Unnecessary `.new` constructor name.", |
|
1047 | 1092 | { |
1048 | 1093 | "name": "unnecessary_null_aware_operator_on_extension_on_nullable", |
1049 | 1094 | "description": "Unnecessary null aware operator on extension on a nullable type.", |
1050 | | - "fixStatus": "needsFix" |
| 1095 | + "fixStatus": "hasFix" |
1051 | 1096 | }, |
1052 | 1097 | { |
1053 | 1098 | "name": "unnecessary_null_checks", |
|
1074 | 1119 | "description": "Unnecessary parentheses can be removed.", |
1075 | 1120 | "fixStatus": "hasFix" |
1076 | 1121 | }, |
| 1122 | + { |
| 1123 | + "name": "unnecessary_primary_constructor_body", |
| 1124 | + "description": "Unnecessary primary constructor bodies can be removed.", |
| 1125 | + "fixStatus": "hasFix" |
| 1126 | + }, |
1077 | 1127 | { |
1078 | 1128 | "name": "unnecessary_raw_strings", |
1079 | 1129 | "description": "Unnecessary raw string.", |
|
1099 | 1149 | "description": "Don't access members with `this` unless avoiding shadowing.", |
1100 | 1150 | "fixStatus": "hasFix" |
1101 | 1151 | }, |
| 1152 | + { |
| 1153 | + "name": "unnecessary_this_alias", |
| 1154 | + "description": "Use 'this' directly instead of assigning it to a local variable.", |
| 1155 | + "fixStatus": "needsEvaluation" |
| 1156 | + }, |
1102 | 1157 | { |
1103 | 1158 | "name": "unnecessary_to_list_in_spreads", |
1104 | 1159 | "description": "Unnecessary `toList()` in spreads.", |
1105 | 1160 | "fixStatus": "hasFix" |
1106 | 1161 | }, |
| 1162 | + { |
| 1163 | + "name": "unnecessary_type_name_in_constructor", |
| 1164 | + "description": "Don't use an explicit type name in a constructor.", |
| 1165 | + "fixStatus": "hasFix" |
| 1166 | + }, |
1107 | 1167 | { |
1108 | 1168 | "name": "unnecessary_unawaited", |
1109 | 1169 | "description": "Unnecessary use of 'unawaited'.", |
|
1122 | 1182 | { |
1123 | 1183 | "name": "unrelated_type_equality_checks", |
1124 | 1184 | "description": "Equality operator `==` invocation with references of unrelated types.", |
1125 | | - "fixStatus": "needsEvaluation" |
| 1185 | + "fixStatus": "hasFix" |
1126 | 1186 | }, |
1127 | 1187 | { |
1128 | 1188 | "name": "unsafe_html", |
|
1144 | 1204 | "description": "Use `ColoredBox`.", |
1145 | 1205 | "fixStatus": "hasFix" |
1146 | 1206 | }, |
| 1207 | + { |
| 1208 | + "name": "use_declaring_parameters", |
| 1209 | + "description": "Use a declaring parameter.", |
| 1210 | + "fixStatus": "hasFix" |
| 1211 | + }, |
1147 | 1212 | { |
1148 | 1213 | "name": "use_decorated_box", |
1149 | 1214 | "description": "Use `DecoratedBox`.", |
|
1244 | 1309 | "description": "Use valid regular expression syntax.", |
1245 | 1310 | "fixStatus": "noFix" |
1246 | 1311 | }, |
| 1312 | + { |
| 1313 | + "name": "var_with_no_type_annotation", |
| 1314 | + "description": "Avoid declaring parameters with `var` and no type annotation.", |
| 1315 | + "fixStatus": "hasFix" |
| 1316 | + }, |
1247 | 1317 | { |
1248 | 1318 | "name": "void_checks", |
1249 | 1319 | "description": "Don't assign to `void`.", |
|
0 commit comments