|
52 | 52 | { |
53 | 53 | "name": "avoid_bool_literals_in_conditional_expressions", |
54 | 54 | "description": "Avoid `bool` literals in conditional expressions.", |
55 | | - "fixStatus": "needsFix" |
| 55 | + "fixStatus": "hasFix" |
56 | 56 | }, |
57 | 57 | { |
58 | 58 | "name": "avoid_catches_without_on_clauses", |
|
222 | 222 | { |
223 | 223 | "name": "avoid_types_as_parameter_names", |
224 | 224 | "description": "Avoid types as parameter names.", |
225 | | - "fixStatus": "hasFix" |
| 225 | + "fixStatus": "noFix" |
226 | 226 | }, |
227 | 227 | { |
228 | 228 | "name": "avoid_types_on_closure_parameters", |
|
356 | 356 | }, |
357 | 357 | { |
358 | 358 | "name": "discarded_futures", |
359 | | - "description": "Don't invoke asynchronous functions in non-`async` blocks.", |
| 359 | + "description": "There should be no `Future`-returning calls in synchronous functions unless they are assigned or returned.", |
360 | 360 | "fixStatus": "hasFix" |
361 | 361 | }, |
362 | 362 | { |
|
732 | 732 | { |
733 | 733 | "name": "prefer_foreach", |
734 | 734 | "description": "Use `forEach` to only apply a function to all the elements.", |
735 | | - "fixStatus": "needsFix" |
| 735 | + "fixStatus": "hasFix" |
736 | 736 | }, |
737 | 737 | { |
738 | 738 | "name": "prefer_function_declarations_over_variables", |
|
849 | 849 | "description": "Property getter recursively returns itself.", |
850 | 850 | "fixStatus": "noFix" |
851 | 851 | }, |
| 852 | + { |
| 853 | + "name": "remove_deprecations_in_breaking_versions", |
| 854 | + "description": "Deprecation in major version.", |
| 855 | + "fixStatus": "needsFix" |
| 856 | + }, |
852 | 857 | { |
853 | 858 | "name": "require_trailing_commas", |
854 | 859 | "description": "Use trailing commas for all parameter lists and argument lists.", |
|
914 | 919 | "description": "Place the `super` call last in a constructor initialization list.", |
915 | 920 | "fixStatus": "noFix" |
916 | 921 | }, |
| 922 | + { |
| 923 | + "name": "switch_on_type", |
| 924 | + "description": "Avoid switch statements on a 'Type'.", |
| 925 | + "fixStatus": "noFix" |
| 926 | + }, |
917 | 927 | { |
918 | 928 | "name": "test_types_in_equals", |
919 | 929 | "description": "Test type of argument in `operator ==(Object other)`.", |
|
957 | 967 | { |
958 | 968 | "name": "unnecessary_async", |
959 | 969 | "description": "No await no async.", |
960 | | - "fixStatus": "needsFix" |
| 970 | + "fixStatus": "hasFix" |
961 | 971 | }, |
962 | 972 | { |
963 | 973 | "name": "unnecessary_await_in_return", |
|
1089 | 1099 | "description": "Unnecessary `toList()` in spreads.", |
1090 | 1100 | "fixStatus": "hasFix" |
1091 | 1101 | }, |
| 1102 | + { |
| 1103 | + "name": "unnecessary_unawaited", |
| 1104 | + "description": "Unnecessary use of 'unawaited'.", |
| 1105 | + "fixStatus": "hasFix" |
| 1106 | + }, |
1092 | 1107 | { |
1093 | 1108 | "name": "unnecessary_underscores", |
1094 | 1109 | "description": "Unnecessary underscores can be removed.", |
|
1147 | 1162 | { |
1148 | 1163 | "name": "use_if_null_to_convert_nulls_to_bools", |
1149 | 1164 | "description": "Use `??` operators to convert `null`s to `bool`s.", |
1150 | | - "fixStatus": "needsFix" |
| 1165 | + "fixStatus": "hasFix" |
1151 | 1166 | }, |
1152 | 1167 | { |
1153 | 1168 | "name": "use_is_even_rather_than_modulo", |
|
1169 | 1184 | "description": "Use predefined named constants.", |
1170 | 1185 | "fixStatus": "hasFix" |
1171 | 1186 | }, |
| 1187 | + { |
| 1188 | + "name": "use_null_aware_elements", |
| 1189 | + "description": "If-elements testing for null can be replaced with null-aware elements.", |
| 1190 | + "fixStatus": "hasFix" |
| 1191 | + }, |
1172 | 1192 | { |
1173 | 1193 | "name": "use_raw_strings", |
1174 | 1194 | "description": "Use raw string to avoid escapes.", |
|
0 commit comments