|
109 | 109 | "description": "Avoid using `forEach` with a function literal.", |
110 | 110 | "fixStatus": "hasFix" |
111 | 111 | }, |
| 112 | + { |
| 113 | + "name": "avoid_futureor_void", |
| 114 | + "description": "Avoid using 'FutureOr<void>' as the type of a result.", |
| 115 | + "fixStatus": "noFix" |
| 116 | + }, |
112 | 117 | { |
113 | 118 | "name": "avoid_implementing_value_types", |
114 | 119 | "description": "Don't implement classes that override `==`.", |
|
584 | 589 | "description": "Omit obvious type annotations for local variables.", |
585 | 590 | "fixStatus": "hasFix" |
586 | 591 | }, |
| 592 | + { |
| 593 | + "name": "omit_obvious_property_types", |
| 594 | + "description": "Omit obvious type annotations for top-level and static variables.", |
| 595 | + "fixStatus": "hasFix" |
| 596 | + }, |
587 | 597 | { |
588 | 598 | "name": "one_member_abstracts", |
589 | 599 | "description": "Avoid defining a one-member abstract class when a simple function will do.", |
|
889 | 899 | "description": "Specify non-obvious type annotations for local variables.", |
890 | 900 | "fixStatus": "hasFix" |
891 | 901 | }, |
| 902 | + { |
| 903 | + "name": "specify_nonobvious_property_types", |
| 904 | + "description": "Specify non-obvious type annotations for top-level and static variables.", |
| 905 | + "fixStatus": "hasFix" |
| 906 | + }, |
892 | 907 | { |
893 | 908 | "name": "super_goes_last", |
894 | 909 | "description": "Place the `super` call last in a constructor initialization list.", |
|
1074 | 1089 | "description": "Avoid unsafe HTML APIs.", |
1075 | 1090 | "fixStatus": "noFix" |
1076 | 1091 | }, |
| 1092 | + { |
| 1093 | + "name": "unsafe_variance", |
| 1094 | + "description": "Unsafe type: Has a type variable in a non-covariant position.", |
| 1095 | + "fixStatus": "noFix" |
| 1096 | + }, |
1077 | 1097 | { |
1078 | 1098 | "name": "use_build_context_synchronously", |
1079 | 1099 | "description": "Do not use `BuildContext` across asynchronous gaps.", |
|
1082 | 1102 | { |
1083 | 1103 | "name": "use_colored_box", |
1084 | 1104 | "description": "Use `ColoredBox`.", |
1085 | | - "fixStatus": "needsFix" |
| 1105 | + "fixStatus": "hasFix" |
1086 | 1106 | }, |
1087 | 1107 | { |
1088 | 1108 | "name": "use_decorated_box", |
|
0 commit comments