You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use consistent grouping for numeric literals. Groups will be separated by _ delimiters to improve readability. For each numeric type you can specify a group size (the number of digits in each group) and a threshold (the minimum number of digits in a number before grouping is applied). (numberFormatting)
But looking at the line, there wasn't any grouping to be had:
letcontrivedExample:[UInt8]=[0x52,0xb8,0x99,0xef]
It turns out it was complaining about using lowercase hex instead of uppercase (a non-lint run made the change for me). That's fine, it still fits the category of "numberFormatting", but the description should say so.
The text was updated successfully, but these errors were encountered:
In lint mode, I got the following warning:
But looking at the line, there wasn't any grouping to be had:
It turns out it was complaining about using lowercase hex instead of uppercase (a non-lint run made the change for me). That's fine, it still fits the category of "numberFormatting", but the description should say so.
The text was updated successfully, but these errors were encountered: