1
Fork 0

lint: port redundant semicolons diagnostics

Signed-off-by: David Wood <david.wood@huawei.com>
This commit is contained in:
David Wood 2022-06-27 17:02:46 +01:00
parent 37588d6d4e
commit 8e836566f0
2 changed files with 15 additions and 7 deletions

View file

@ -131,3 +131,13 @@ lint-noop-method-call = call to `.{$method}()` on a reference in this situation
lint-pass-by-value = passing `{$ty}` by reference
.suggestion = try passing by value
lint-redundant-semicolons =
unnecessary trailing {$multiple ->
[true] semicolons
*[false] semicolon
}
.suggestion = remove {$multiple ->
[true] these semicolons
*[false] this semicolon
}