Groups
Groups
Sign in
Groups
Groups
Scalastyle users
Conversations
About
Send feedback
Help
Violation for DSL method name
14 views
Skip to first unread message
Michael Wu
unread,
Jul 11, 2017, 1:17:00 PM
7/11/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Scalastyle users
It's completely fine to define a method name with symbol such as &&() or ||() in Scala
However, this violates "Check that method names match a regular expression" rule in sonar.
How can I make scalastyle to accept this other than ignoring it using "// scalastyle:ignore
method.name
"
-Michael
Matthew Farwell
unread,
Jul 16, 2017, 9:42:44 AM
7/16/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Scalastyle users
If you're using a DSL, then a lot of the rules don't apply. You can configure the list of rules to apply in Sonar.
Have fun,
Matthew Farwell.
Reply all
Reply to author
Forward
0 new messages