[
https://issues.apache.org/jira/browse/SPARK-3850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14335045#comment-14335045
]
Nicholas Chammas commented on SPARK-3850:
-----------------------------------------
I guess the root is the [Style
Guide|https://cwiki.apache.org/confluence/display/SPARK/Spark+Code+Style+Guide].
This and the parent issue are simply meant for automating existing rules, not
introducing new ones.
As an aside, this particular rule doesn't seem to be mentioned in the style
guide, but it was discussed in a couple of places:
* https://github.com/apache/spark/pull/2619
*
http://apache-spark-developers-list.1001551.n3.nabble.com/Extending-Scala-style-checks-td8624.html
If you look at the PR [~lian cheng] opened, you'll see a trailing white space
seemed to mess up some SQL test.
> Scala style: disallow trailing spaces
> -------------------------------------
>
> Key: SPARK-3850
> URL: https://issues.apache.org/jira/browse/SPARK-3850
> Project: Spark
> Issue Type: Sub-task
> Components: Project Infra
> Reporter: Nicholas Chammas
>
> [Ted Yu on the dev
> list|http://mail-archives.apache.org/mod_mbox/spark-dev/201410.mbox/%3ccalte62y7a6wybdufdcguwbf8wcpttvie+pao4pzor+_-nb2...@mail.gmail.com%3E]
> suggested using {{WhitespaceEndOfLineChecker}} here:
> http://www.scalastyle.org/rules-0.1.0.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]