rspec/rules/S3420/java/rule.adoc

36 lines
655 B
Plaintext
Raw Normal View History

2021-04-28 16:49:39 +02:00
Shared naming conventions allow teams to collaborate effectively. This rule raises an issue when a pom's ``++artifactId++`` does not match the provided regular expression.
2021-04-28 16:49:39 +02:00
== Noncompliant Code Example
With the default regular expression: ``++[a-z][a-z-0-9]+++``
----
<project ...>
<artifactId>My_Project</artifactId> <!-- Noncompliant -->
<!-- ... -->
</project>
----
2021-04-28 16:49:39 +02:00
== Compliant Solution
----
<project ...>
<artifactId>my-project</artifactId>
<!-- ... -->
</project>
----
ifdef::env-github,rspecator-view[]
'''
== Comments And Links
(visible only on this page)
include::comments-and-links.adoc[]
endif::env-github,rspecator-view[]