56 lines
1.1 KiB
Plaintext
56 lines
1.1 KiB
Plaintext
![]() |
ifdef::env-github,rspecator-view[]
|
||
|
|
||
|
'''
|
||
|
== Implementation Specification
|
||
|
(visible only on this page)
|
||
|
|
||
|
=== Message
|
||
|
|
||
|
Move this "if" to a new line or add the missing "else".
|
||
|
|
||
|
=== Highlighting
|
||
|
|
||
|
primary: ``++if++``
|
||
|
|
||
|
secondary: preceding ``++}++``
|
||
|
|
||
|
'''
|
||
|
== Comments And Links
|
||
|
(visible only on this page)
|
||
|
|
||
|
=== on 5 Sep 2017, 15:05:01 Michal Barczyk wrote:
|
||
|
The rule does not apply to VB.Net. This code fails to compile:
|
||
|
|
||
|
----
|
||
|
Dim i As Integer
|
||
|
If i = 0 Then
|
||
|
i = 2
|
||
|
End If If i = 2 Then
|
||
|
End If
|
||
|
----
|
||
|
|
||
|
=== on 6 Mar 2018, 17:29:52 Tibor Blenessy wrote:
|
||
|
The rule does not apply to Go, because semicolon is necessary after curly brace
|
||
|
|
||
|
----
|
||
|
if (condition1) {
|
||
|
// ...
|
||
|
}; if (condition2) { // Noncompliant
|
||
|
//...
|
||
|
}
|
||
|
----
|
||
|
|
||
|
Also Go has ``++fmt++`` tool , which enforces standard code style, so all style rules would be redundant with this tool.
|
||
|
|
||
|
=== on 9 Jun 2023, 10:15:00 Cristian Ambrosini wrote:
|
||
|
During a LaYC sprint, I removed dummy implementations for the following language:
|
||
|
|
||
|
* apex
|
||
|
* csharp
|
||
|
* flex
|
||
|
* rust
|
||
|
* scala
|
||
|
|
||
|
It is not implemented in the corresponding analyzer and there currently are no tickets open in order to do so.
|
||
|
|
||
|
endif::env-github,rspecator-view[]
|