DART-124 Modify rules S3512, S7066, S7107, S7109: Update message (#4798)

This commit is contained in:
Antonio Aversa 2025-03-18 17:53:08 +01:00 committed by GitHub
parent aa7f7e600d
commit 152a2d8c47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 6 additions and 6 deletions

View File

@ -68,7 +68,7 @@ Use interpolation to compose strings and values.
The entire string concatenation expression, including the operands.
If a non-parenthesized sequence of concatenations is detected, a single issue is reported, either on the full concatenation or on part of it: e.g. in `'a' + s1 + 'a'`, `'a' + s1 + 'a'` is reported, whereas in `s1 + 'a' + s1` only `s1 + 'a'` is reported.
If a non-parenthesized sequence of concatenations is detected, a single issue is reported, on the first part of it: e.g. in `'a' + s1 + 'a'` and `s1 + 'a' + s1`, only `'a' + s1` and `s1 + 'a'` is reported, respectively.
An exception is made for single string variables or literals in parentheses, where the outer concatenation is reported: e.g. in `'a' + (s1)`, the entire expression is reported.

View File

@ -41,7 +41,7 @@ ifdef::env-github,rspecator-view[]
=== Message
* This annotation must be attached to a library directive.
* This annotation should be attached to a library directive.
=== Highlighting

View File

@ -173,9 +173,9 @@ ifdef::env-github,rspecator-view[]
=== Message
* Convert '<parameterName>' to a super parameter.
* Convert '<parameterName1>' and '<parameterName2>' to super parameters.
* Convert '<parameterName1>' (, '<parameterNameI>')+, and '<parameterNameN>' to super parameters.
* Parameters '<parameterName>' could be super parameter.
* Parameters '<parameterName1>' and '<parameterName2>' could be super parameters.
* Parameters '<parameterName1>' (, '<parameterNameI>')+, and '<parameterNameN>' could be super parameters.
=== Highlighting

View File

@ -91,7 +91,7 @@ ifdef::env-github,rspecator-view[]
=== Message
Don't use web-only libraries outside Flutter web plugin packages.
Don't use web-only libraries outside Flutter web plugins.
=== Highlighting