Skip to content
This repository was archived by the owner on Jul 16, 2023. It is now read-only.

Commit 4a7bfc1

Browse files
committed
docs: fix rule name
1 parent cad9335 commit 4a7bfc1

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117

118118
## 4.17.0-dev.1
119119

120-
* feat: add static code diagnostic [`avoid-use-expanded-as-spacer`](https://dartcodemetrics.dev/docs/rules/flutter/avoid-use-expanded-as-spacer).
120+
* feat: add static code diagnostic [`avoid-expanded-as-spacer`](https://dartcodemetrics.dev/docs/rules/flutter/avoid-expanded-as-spacer).
121121
* feat: migrate to new analyzer plugins API.
122122
* chore: changed min `SDK` version to `2.17.0`.
123123
* chore: restrict `analyzer` version to `>=4.1.0 <4.3.0`.

lib/presets/flutter_all.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ dart_code_metrics:
55
- avoid-returning-widgets
66
- avoid-shrink-wrap-in-lists
77
- avoid-unnecessary-setstate
8-
- avoid-use-expanded-as-spacer
8+
- avoid-expanded-as-spacer
99
- avoid-wrapping-in-padding
1010
- check-for-equals-in-render-object-setters
1111
- consistent-update-render-object
File renamed without changes.

website/docs/rules/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ Rules are grouped by category to help you understand their purpose. Each rule ha
545545
</RuleEntry>
546546

547547
<RuleEntry
548-
name="avoid-use-expanded-as-spacer"
548+
name="avoid-expanded-as-spacer"
549549
type="flutter"
550550
severity="warning"
551551
version="4.17.0"

0 commit comments

Comments
 (0)