Skip to content

Commit b0d0f91

Browse files
alestiagojsgalarragalishaduck
authored
docs: update exclusion reasons (#102)
* docs: update use_decorated_box reason * docs: add reason for avoid_catches_without_onclauses Co-authored-by: jsgalarraga <[email protected]> * docs: add reason for close_sinks Co-authored-by: Eli <[email protected]> * docs: update README table --------- Co-authored-by: jsgalarraga <[email protected]> Co-authored-by: Eli <[email protected]>
1 parent f687fc7 commit b0d0f91

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,11 @@ Below is a list of rules that are not enabled by default together with the reaso
9797
| [`always_specify_types`](https://dart.dev/tools/linter-rules/always_specify_types) | Incompatible with [omit_local_variable_types](https://dart.dev/tools/linter-rules/omit_local_variable_types) |
9898
| [`annotate_redeclares`](https://dart.dev/tools/linter-rules/annotate_redeclares) | Experimental |
9999
| [`avoid_annotating_with_dynamic`](https://dart.dev/tools/linter-rules/avoid_annotating_with_dynamic) | Not specified |
100-
| [`avoid_catches_without_on_clauses`](https://dart.dev/tools/linter-rules/avoid_catches_without_on_clauses) | Not specified |
100+
| [`avoid_catches_without_on_clauses`](https://dart.dev/tools/linter-rules/avoid_catches_without_on_clauses) | [Has unresolved false positives](https://github.com/dart-lang/linter/issues/3023) |
101101
| [`avoid_classes_with_only_static_members`](https://dart.dev/tools/linter-rules/avoid_classes_with_only_static_members) | Not specified |
102102
| [`avoid_implementing_value_types`](https://dart.dev/tools/linter-rules/avoid_implementing_value_types) | Not specified |
103103
| [`avoid_types_on_closure_parameters`](https://dart.dev/tools/linter-rules/avoid_types_on_closure_parameters) | Not specified |
104-
| [`close_sinks`](https://dart.dev/tools/linter-rules/close_sinks) | Not specified |
104+
| [`close_sinks`](https://dart.dev/tools/linter-rules/close_sinks) | [Has unresolved false positives](https://github.com/dart-lang/linter/issues/1381) |
105105
| [`deprecated_member_use_from_same_package`](https://dart.dev/tools/linter-rules/deprecated_member_use_from_same_package) | Not specified |
106106
| [`diagnostic_describe_all_properties`](https://dart.dev/tools/linter-rules/diagnostic_describe_all_properties) | Not specified |
107107
| [`discarded_futures`](https://dart.dev/tools/linter-rules/discarded_futures) | [Has unresolved false positives](https://github.com/VeryGoodOpenSource/very_good_analysis/issues/74#issuecomment-1668425410) |
@@ -120,7 +120,7 @@ Below is a list of rules that are not enabled by default together with the reaso
120120
| [`unnecessary_null_aware_operator_on_extension_on_nullable`](https://dart.dev/tools/linter-rules/unnecessary_null_aware_operator_on_extension_on_nullable) | Not specified |
121121
| [`unreachable_from_main`](https://dart.dev/tools/linter-rules/unreachable_from_main) | Not specified |
122122
| [`unsafe_html`](https://dart.dev/tools/linter-rules/unsafe_html) | Not specified |
123-
| [`use_decorated_box`](https://dart.dev/tools/linter-rules/use_decorated_box) | [Has unresolved malfunctions](https://github.com/VeryGoodOpenSource/very_good_analysis/issues/65) |
123+
| [`use_decorated_box`](https://dart.dev/tools/linter-rules/use_decorated_box) | [Has unresolved malfunctions](https://github.com/dart-lang/linter/issues/3286) |
124124

125125
<!-- end:excluded_rules_table -->
126126

tool/linter_rules/exclusion_reasons.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"always_specify_types": "Incompatible with [omit_local_variable_types](https://dart.dev/tools/linter-rules/omit_local_variable_types)",
44
"annotate_redeclares": "Experimental",
55
"avoid_annotating_with_dynamic": "Not specified",
6-
"avoid_catches_without_on_clauses": "Not specified",
6+
"avoid_catches_without_on_clauses": "[Has unresolved false positives](https://github.com/dart-lang/linter/issues/3023)",
77
"avoid_classes_with_only_static_members": "Not specified",
88
"avoid_implementing_value_types": "Not specified",
99
"avoid_types_on_closure_parameters": "Not specified",
10-
"close_sinks": "Not specified",
10+
"close_sinks": "[Has unresolved false positives](https://github.com/dart-lang/linter/issues/1381)",
1111
"deprecated_member_use_from_same_package": "Not specified",
1212
"diagnostic_describe_all_properties": "Not specified",
1313
"discarded_futures": "[Has unresolved false positives](https://github.com/VeryGoodOpenSource/very_good_analysis/issues/74#issuecomment-1668425410)",
@@ -26,5 +26,5 @@
2626
"unnecessary_null_aware_operator_on_extension_on_nullable": "Not specified",
2727
"unreachable_from_main": "Not specified",
2828
"unsafe_html": "Not specified",
29-
"use_decorated_box": "[Has unresolved malfunctions](https://github.com/VeryGoodOpenSource/very_good_analysis/issues/65)"
29+
"use_decorated_box": "[Has unresolved malfunctions](https://github.com/dart-lang/linter/issues/3286)"
3030
}

0 commit comments

Comments
 (0)