DART-124 Modify rules S3512, S7066, S7107, S7109: Update message (#4798)
This commit is contained in:
parent
aa7f7e600d
commit
152a2d8c47
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user