-
Notifications
You must be signed in to change notification settings - Fork 267
feat: introduce prefer-provide-intl-description rule #1137
Conversation
Kudos, SonarCloud Quality Gate passed! |
...r/rules/rules_list/prefer_provide_intl_description/prefer_provide_intl_description_rule.dart
Outdated
Show resolved
Hide resolved
628fc92
to
5e969bc
Compare
Codecov Report
@@ Coverage Diff @@
## master #1137 +/- ##
==========================================
+ Coverage 85.48% 85.53% +0.04%
==========================================
Files 347 349 +2
Lines 7841 7868 +27
==========================================
+ Hits 6703 6730 +27
Misses 1138 1138
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
website/docs/rules/index.mdx
Outdated
severity="warning" | ||
version="5.5.0" | ||
> | ||
Warns when a `Intl` method invocation without description. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Warns when a method is invoked without a description.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
|
||
<RuleDetails version="5.5.0" severity="warning" /> | ||
|
||
Warns when a `Intl.message()`, `Intl.plural()`, `Intl.gender()` or `Intl.select()` method invocate without description. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Warns when the .... methods are invoked without a description.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
What is the purpose of this pull request? (put an "X" next to an item)
What changes did you make? (Give an overview)
Is there anything you'd like reviewers to focus on?