[
https://issues.apache.org/jira/browse/SPARK-1096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15051099#comment-15051099
]
Apache Spark commented on SPARK-1096:
-------------------------------------
User 'ScrapCodes' has created a pull request for this issue:
https://github.com/apache/spark/pull/124
> Add Scalastyle Plug-in For Spaces after Comments
> ------------------------------------------------
>
> Key: SPARK-1096
> URL: https://issues.apache.org/jira/browse/SPARK-1096
> Project: Spark
> Issue Type: New Feature
> Components: Project Infra
> Reporter: Patrick Wendell
> Assignee: prashant
> Fix For: 1.0.0
>
>
> After line length (which is now checked) this is the number one thing people
> forget in pull requests. We should see whether a custom scalastyle rule can
> be used to check this. In general I'm guessing we'll want to add several
> custom rules, so this is a good time to look into how it works. The scala AST
> seems to have comments as recognized token so it might work, but not sure if
> they are gobbled before the plug-in gets to it. This is something to look
> into.
> I find this particular style issue so pervasive and annoying that I'd even
> settle for a bash command inside of our test script that greps throughout the
> codebase. Scalastyle is a much better way to do this though - if we can make
> it work!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]