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

feat: introduce prefer-provide-intl-description rule #1137

Merged
merged 3 commits into from Jan 8, 2023

Conversation

dkrutskikh
Copy link
Member

@dkrutskikh dkrutskikh commented Jan 6, 2023

What is the purpose of this pull request? (put an "X" next to an item)

  • Documentation update
  • Bug fix
  • New rule
  • Changes an existing rule
  • Add autofixing to a rule
  • Add a CLI option
  • Add something to the core
  • Other, please explain:

What changes did you make? (Give an overview)

Is there anything you'd like reviewers to focus on?

@sonarcloud
Copy link

sonarcloud bot commented Jan 6, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@dkrutskikh dkrutskikh force-pushed the prefer-provide-intl-description branch from 628fc92 to 5e969bc Compare January 7, 2023 13:09
@codecov
Copy link

codecov bot commented Jan 7, 2023

Codecov Report

Merging #1137 (6264f3b) into master (592cd3d) will increase coverage by 0.04%.
The diff coverage is 100.00%.

❗ Current head 6264f3b differs from pull request most recent head 8ec6c40. Consider uploading reports for the commit 8ec6c40 to get more accurate results

@@            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              
Impacted Files Coverage Δ
...c/analyzers/lint_analyzer/rules/rules_factory.dart 75.00% <ø> (ø)
...cription/prefer_provide_intl_description_rule.dart 100.00% <100.00%> (ø)
..._list/prefer_provide_intl_description/visitor.dart 100.00% <100.00%> (ø)
lib/src/analyzers/lint_analyzer/lint_analyzer.dart 92.45% <0.00%> (-0.10%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

severity="warning"
version="5.5.0"
>
Warns when a `Intl` method invocation without description.
Copy link
Member

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.

Copy link
Member Author

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.
Copy link
Member

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@dkrutskikh dkrutskikh merged commit 29e6181 into master Jan 8, 2023
@dkrutskikh dkrutskikh deleted the prefer-provide-intl-description branch January 8, 2023 13:08
@incendial incendial added this to the 5.5.0 milestone Jan 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants