rspec/rules/S2098/rule.adoc

43 lines
639 B
Plaintext
Raw Normal View History

== Why is this an issue?
=== Noncompliant code example
With default provided regular expression: XXXXX
2022-02-04 17:28:24 +01:00
[source,text]
----
public int DoSomething(){...}
----
=== Compliant solution
2022-02-04 17:28:24 +01:00
[source,text]
----
public int doSomething(){...}
----
=== Exceptions
Overriding methods are excluded.
[source,text]
----
@Override
public int Do_Something(){...}
----
2022-01-25 18:36:46 +01:00
ifdef::env-github,rspecator-view[]
'''
== Comments And Links
(visible only on this page)
=== on 19 Dec 2014, 19:34:51 Ann Campbell wrote:
The intent for this was that it be a sub-task, but there's no indication of what the parent should be.
2022-01-25 18:36:46 +01:00
endif::env-github,rspecator-view[]